Search Header Logo

✔️ Understanding Functions Quiz

Authored by Audley Walker

Computers

8th Grade

Used 10+ times

✔️ Understanding Functions Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are functions in programming?

Mathematical equations

Pieces of code designed to do something specific

Programming languages

Types of variables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best thing about functions?

They are colorful

They are re-usable

They are only used once

They are difficult to create

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in creating a function to roast a marshmallow?

Poke the marshmallow through the stick

Name the function

Find a marshmallow

Hold the stick over the fire

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of naming a function?

To make it difficult to use

To remind us what it does

To confuse programmers

To make it colorful

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the steps involved in roasting a marshmallow?

Find a marshmallow, Poke the marshmallow through the stick, Hold the stick over the water, Wait until the marshmallow is white, Take the stick away from the water, Pull the marshmallow off

Find a marshmallow, Throw it in the fire, Wait until it's completely burnt, Eat the burnt marshmallow

Find a chocolate bar, Melt the chocolate, Dip the marshmallow in chocolate, Freeze the chocolate-covered marshmallow, Enjoy the chocolate treat

Find a marshmallow, Poke the marshmallow through the stick, Hold the stick over the fire, Wait until the marshmallow is brown but not black, Take the stick away from the fire, Pull the marshmallow off

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the benefit of creating adaptable functions?

They are not re-usable

They can be used with different inputs

They can only be used once

They are difficult to understand

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can functions be re-used?

By calling the name of the function

By rewriting all the steps

By deleting the function after use

By creating a new function each time

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?