L19 Functions Quiz

L19 Functions Quiz

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Grade 6 Scratch

Grade 6 Scratch

6th Grade

20 Qs

For loop

For loop

8th Grade

10 Qs

L4 Homework

L4 Homework

8th Grade

20 Qs

prep1-revision

prep1-revision

7th Grade

12 Qs

Scratch  Final ป. 6

Scratch Final ป. 6

6th Grade

10 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

Google

Google

7th - 12th Grade

20 Qs

M1_Final_Quiz1_2017

M1_Final_Quiz1_2017

7th - 8th Grade

20 Qs

L19 Functions Quiz

L19 Functions Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Used 632+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to code.org where can you “call a function”?

Inside the draw loop

Before your code where you created the function

Anywhere in you code, except inside the draw loop

After your code where you created the function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A code block that creates sprite interactions

A code that holds a value that can change

A set of code that is repeated

A named group of programming instructions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does “calling” a function mean?

Naming and creating the function for the first time

Using your function in your code with it’s name

Using the same name for all of the function you create

Using that function inside your draw loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

. According to code.org, where should you NOT create a function?

before you call the function

inside of the draw loop

on top of the draw loop

after you call the function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called when you “create” a function in your code?

calling

bouncing

defining

abstraction

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to code.org which of the following is NOT a reason to use a function in your code?

keeping your code readable

to create reactions with sprites

keeping your code organized

removing repetition

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following code blocks is correctly “defining” a function?

function.drawRed()

drawRed()

function drawRed(){

fill("red");

rect(100,100,50,50);

}

sprite.drawRed()

Create a free account and access millions of resources

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?