
AP CSP- Unit 5, Quiz 2
Authored by Kammas Kersch
Computers
9th - 12th Grade
Used 127+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol represents "or" in JavaScript?
||
==
!=
$$
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a number is added to a string as shown in the code, the computer will
make the number part of the string
give an error because the types of data do not match
convert the string into a number and then add them together
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which prompt tells the computer to move to a new line for a string output.
/newLine
/new
/n
/next
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this line of code?
the event is not specified
"click" should be "change"
the id label "age_dropdown" cannot have and underscore
there is nothing wrong with the line of code
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Boolean command always evaluates to true or false
Sometimes
Always
Never
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Algorithm?
A set of instructions
Does not use graphics to show how a process works
Does not help you plan out computer code
Something that creates a lot of confusion
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a variable?
A location in memory that holds a value that can be read and written
A random area to store things in.
Something that changes
Something that can only store numbers
Access all questions and much more by creating a free account
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?