Code.org Unit 6 Review conditionals and Variables

Code.org Unit 6 Review conditionals and Variables

8th Grade

12 Qs

quiz-placeholder

Similar activities

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Code.Org: Unit 3, Lessons 3-5 Quiz

Code.Org: Unit 3, Lessons 3-5 Quiz

8th - 10th Grade

15 Qs

Code.org Express Quiz

Code.org Express Quiz

8th Grade

15 Qs

Python Selection

Python Selection

8th - 9th Grade

10 Qs

AstepI Quiz 6

AstepI Quiz 6

4th - 8th Grade

10 Qs

Python

Python

7th - 8th Grade

12 Qs

Small Basic

Small Basic

7th - 9th Grade

17 Qs

Basics of Coding SC 1

Basics of Coding SC 1

7th - 9th Grade

15 Qs

Code.org Unit 6 Review conditionals and Variables

Code.org Unit 6 Review conditionals and Variables

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Deirdre Carlino

Used 31+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Another term for an "if-else" statment is

loops

function

conditional

algorithm

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Conditionals

run lines of code a specified number of times

check to see if a statement is true or false before running code

always will run a set of commands

will always skip a set of commands

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

In this code, the condition that needs to be checked is

fruit.scale

fruit.scale > 2

if

fruit.setAnimation

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

In this section of code, if the condition is true, what will happen?

The bug will move right.

The bug will move left

The bug will move up

You can't tell from this code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does randomNumber (0, 100); mean?

It will allow the computer to choose a random number betwen 0 and 100

it will print any random number

it will place a random number at the coordinates of (0, 100)

it will return an error message because random numbers don't exist in Javascript

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper way to write the name of a variable when the variable has more than one word

redsox

red sox

redSoxWin

REDSOX

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct definition of "variable" in terms of computer science?

the x value

a placeholder for a piece of information that is stored in memory and can change

the (x, y) coordinates on the coordinate plane

the pieces of information that help us determine what the parameters are

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?