Code.org Discoveries Conditional Blocks

Code.org Discoveries Conditional Blocks

6th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Unit 10 | Block-Based Programming Vocabulary

Unit 10 | Block-Based Programming Vocabulary

8th Grade

18 Qs

Boolean Logic

Boolean Logic

9th - 10th Grade

20 Qs

Conditionals and more

Conditionals and more

8th Grade

15 Qs

AP CSP Unit 5 Ch 1 Quiz

AP CSP Unit 5 Ch 1 Quiz

9th - 12th Grade

21 Qs

Coding Vocabulary

Coding Vocabulary

7th - 8th Grade

19 Qs

JavaScript Quiz 2

JavaScript Quiz 2

9th - 12th Grade

20 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Code.org Discoveries Conditional Blocks

Code.org Discoveries Conditional Blocks

Assessment

Quiz

Computers

6th - 9th Grade

Medium

Created by

Ty Hillegonds

Used 102+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Predict what will show up on console.log

true true true

true false false

false false false

true false true

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if you don't call background in your draw loop and your sprite has movement?

nothing, animation is fine.

the sprites are drawn on top of each other to simulate movement, the older drawings don't get erased.

you don't need to call background because you don't have one.

you can just use sprite.move( ) so there's no need for the function background( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the draw loop, if you call the text function before the drawSprites and/or background function, what happens?

You won't be able to see your text because the sprites and background will be drawn on top of the text.

You will be able to see your text because Game Lab knows you want to see the text.

You won't be able to see your sprites or background because order doesn't matter.

You will be able to see your text because the sprites and the background will be drawn after the text.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

the if(keyDown(up)) returns

a boolean value of true if the user presses the down key

a boolean value of false if the user presses the down key

A boolean value of true if the user presses the up key

A boolean value of false if the user presses the up key

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Boolean Expression
a single image within an animation
A single value of either TRUE or FALSE
A piece of code that you can easily call over and over again.
Finding and fixing problems in your algorithm or program.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Conditionals
Any valid unit of code that resolves to a value.
a single image within an animation
Statements that only run under certain conditions.
Any valid unit of code that resolves to a value.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If-Statement
 The common programming structure that implements "conditional statements".
 Attributes that describe an object's characteristics
An algorithm that has been coded into something that can be run by a machine.
Part of a program that does not work correctly.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?