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 a conversation between Preston, Lizzy, and Stacy. Stacy returns from the Minecraft offices with a solution to a game problem using functions. She explains that functions are like recipes, providing a set of instructions to accomplish tasks. The video guides viewers on using functions to solve puzzles by examining code in the workspace and dragging function blocks 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?

Singing

Dancing

Parkour

Cooking

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Stacy suggest she can use to solve her problem in the game?

A new character

A cheat code

A different game mode

A function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does Stacy describe a function?

A random set of actions

A collection of game levels

A list of game rules

A specific set of instructions like a recipe

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you do after finding the function block in the toolbox?

Delete it

Rename it

Drag it to the 'when run' block

Ignore it

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Creating a new character

Changing the game settings

Saving the game

Building a bridge