Code.org Unit 6 Review conditionals and Variables

Code.org Unit 6 Review conditionals and Variables

8th Grade

12 Qs

quiz-placeholder

Similar activities

Plotting Shapes on Code.Org

Plotting Shapes on Code.Org

5th - 8th Grade

17 Qs

Python

Python

8th Grade

13 Qs

CODING 101

CODING 101

6th - 8th Grade

12 Qs

Interactive Animations and Games from code.org

Interactive Animations and Games from code.org

7th - 12th Grade

14 Qs

HTML and CSS

HTML and CSS

7th - 8th Grade

15 Qs

Python L24 Debugging Skill

Python L24 Debugging Skill

6th - 8th Grade

11 Qs

ICS-Quiz

ICS-Quiz

7th - 8th Grade

10 Qs

comp101 study guide

comp101 study guide

6th - 8th Grade

17 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 33+ 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?