Understanding Functions in Programming

Understanding Functions in Programming

Assessment

Interactive Video

Computers, Education, Instructional Technology

5th - 8th Grade

Hard

Created by

Emma Peterson

FREE Resource

The video features Preston, Lizzy, and Stacy discussing a problem Stacy is facing in her game. Stacy suggests using a function to solve it. She explains that a function is a set of instructions similar to a recipe. The video guides viewers on how to use functions to solve puzzles by dragging function blocks from the toolbox to the 'when run' block. It emphasizes the reusability of functions for repetitive tasks, like building a bridge.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What activity does Preston claim to be good at?

Cooking

Parkour

Singing

Dancing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Stacy think can help solve her problem in the game?

A function

A cheat code

A new character

A different game mode

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does Stacy describe a function?

A random set of actions

A specific set of instructions like a recipe

A list of game levels

A collection of game characters

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you do after understanding the code in a function?

Delete it

Change its name

Ignore it

Find the block with the same name in the toolbox

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a task you can accomplish using a function?

Saving the game

Creating a new character

Changing the game settings

Building a bridge