CSP Unit 5 Assessment 2 review (code.org)
Quiz
•
Other
•
9th - 12th Grade
•
Practice Problem
•
Medium
Frances Tee
Used 48+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 11 and c = 8, what will be displayed by the program?
The answer is a
The answer is c
The answer is 11
The answer is 8
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var age = 20
var grade = 12
(age < 10) || (grade < 20) evaluates to what value?
Error undefined
true
false
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Javascript, what is not true about strings?
Strings consist of a sequence of concatenated characters.
Strings are indicated by quotation marks.
Strings with numerical digits in them are invalid.
Strings sometimes include spaces.
A string can be empty.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the line of code will result in the following display in the debug log:
Goodbye!
Have a nice day.
console.log("Goodbye! \tHave a nice day.");
console.log("Goodbye \nHave a nice day.");
console.log("Goodbye!\nHave a nice day.");
console.log("Goodbye! \newlineHave a nice day.");
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the following code?
var num = 11;
var str = "see ya!";
var result = num + str;
console.log(result);
11 see ya!
error on num + str type mismatch
11 + see ya!
11see ya!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Boolean expressions evaluate to which one of these possible values?
Yes/No/Maybe
Any Integer
0 or 1
True / False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code below is psuedo code, do not worry about syntax. What is the result of running this code?
john = 5
if john > 6:
print("John is getting ice cream")
else:
print("John is getting apple juice")
print("John is getting grapes")
John is getting ice cream
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
U.S. Constitution Formative Assessment
Quiz
•
9th - 12th Grade
10 questions
Writing an email
Quiz
•
5th - 9th Grade
15 questions
AP Psychology "Big Hitters"
Quiz
•
10th - 12th Grade
10 questions
KONSEP EKONOMI
Quiz
•
10th Grade
11 questions
BTS hard quiz!! only real ARMY can play
Quiz
•
1st Grade - Professio...
10 questions
OPERATORS IN PYTHON
Quiz
•
9th Grade
12 questions
Business Law 2.01
Quiz
•
9th - 12th Grade
10 questions
Student Leadership
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
