
AP Comp Std 2 Review
Quiz
•
Computers
•
12th Grade
•
Medium
Kelly Challand
Used 7+ times
FREE Resource
Enhance your content in a minute
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a variable in JavaScript?
variable
var
int
x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is commonly used to display output on the screen in most programming languages?
post
println
write
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Examine the following JavaScript function. Which of the following values cannot be an output when the function is executed?
function start(){
var mysteryNum = 10 * Randomizer.nextInt(2,10);
console.log(mysteryNum);
}20
30
10
90
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function should you use to prompt the user to input text in a program?
readln
readLine
text
println
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following JavaScript function:
function start(){
var loggedIn = false;
console.log("User logged in?: " + !loggedIn);
}
What will be the output when this function is executed?
User logged in?: true
User logged in?: false
There is a syntax error in the code
User logged in?: + loggedIn
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for multiplication in JavaScript programming?
x
X
*
#
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following JavaScript program:
var result = 0;
var max = 5;
for(var i = 0; i < max; i++){
result += i;}
console.log(result);
What will be the output when this code is executed?
15
10
0
12345
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
20 questions
Administrasi Infrastruktur Jaringan - Firewall - Proxy - Bandwidth - PTS Gasal
Quiz
•
12th Grade
20 questions
Soal VLAN
Quiz
•
1st - 12th Grade
20 questions
Unit-1 Computational Thinking
Quiz
•
9th - 12th Grade
20 questions
Quiz ASJ
Quiz
•
12th Grade
23 questions
H446 Networks and Web Technologies
Quiz
•
12th Grade - University
20 questions
Database Relationships Quiz
Quiz
•
12th Grade - University
20 questions
GR 12_DATA FILE HANDLING_SS
Quiz
•
12th Grade
20 questions
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
