Code.org Discoveries Conditional Blocks

Code.org Discoveries Conditional Blocks

6th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

DATA ANALYTICS USING EXCEL

DATA ANALYTICS USING EXCEL

7th Grade

15 Qs

Modern Technologies- BTEC

Modern Technologies- BTEC

2nd - 8th Grade

20 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Excel

Excel

5th - 6th Grade

15 Qs

Python List

Python List

4th Grade - University

15 Qs

Latihan Quiz Ozobot 8

Latihan Quiz Ozobot 8

8th Grade

20 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

Code.org Discoveries Conditional Blocks

Code.org Discoveries Conditional Blocks

Assessment

Quiz

Computers

6th - 9th Grade

Practice Problem

Medium

Created by

Ty Hillegonds

Used 102+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?