Understanding Functions in Programming

Understanding Functions in Programming

Assessment

Interactive Video

Computers

6th - 7th Grade

Hard

Created by

Jennifer Brown

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one of the benefits of teaching a computer a function?

It can only be used once.

It allows the computer to learn new languages.

It can be reused multiple times by calling its name.

It makes the computer faster.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of naming a function?

To make the program run faster.

To make it look fancy.

To easily call and reuse the function.

To confuse other programmers.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in editing the 'draw a square' function?

Change the color of the block.

Rename the function.

Click on the edit option in the green block.

Delete the function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you do in the function editor's workspace?

Drag and drop blocks to create the function.

Change the background color.

Write a poem.

Delete all existing blocks.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you finalize your changes in the function editor?

Click on 'save and exit'.

Press the 'delete' button.

Close the browser.

Click on 'cancel'.