Code.org Unit 6 Review conditionals and Variables

Quiz
•
Computers
•
8th Grade
•
Medium
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
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
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
Similar Resources on Wayground
17 questions
CS Express

Quiz
•
6th - 8th Grade
10 questions
Computer Programming

Quiz
•
6th - 8th Grade
15 questions
Code.org Unit 3 Lesson 3 and 4

Quiz
•
6th - 8th Grade
15 questions
Intro to Scratch

Quiz
•
6th - 8th Grade
17 questions
Programming Concepts

Quiz
•
7th Grade - University
11 questions
Python Functions

Quiz
•
KG - 8th Grade
15 questions
Programming Vocabulary

Quiz
•
6th - 8th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade