
JavaScript unit 1 and 2
Authored by Gareth Yeoman
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the proper function to call to print to the screen?
write
println
post
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What keyword do you need to use to define a variable in JavaScript?
variable
var
int
x
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
To ask the user of the program for a number, which function should you use?
readLine
readInt
readFloat
Both readInt and readFloat are for numbers
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What function do you need to call to ask the user of the program to enter text?
readLine
readln
text
println
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will the following code print to the screen?
println(2 + 2);
2 + 2
4
22
nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What symbol do you use to do division in JavaScript?
%
/
//
*
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What symbol do you use to do multiplication in JavaScript?
x
X
*
#
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?
Similar Resources on Wayground
40 questions
WJEC ICT Unit 3 Mock Revision
Quiz
•
10th - 11th Grade
48 questions
Soal HTML & CSS
Quiz
•
9th - 12th Grade
40 questions
C++ Programming
Quiz
•
9th - 12th Grade
40 questions
Đề cương HKII Tin (tmt:>)
Quiz
•
11th Grade
43 questions
Data Representation Unit
Quiz
•
9th - 11th Grade
44 questions
Networking Essentials - Ch 4 Media
Quiz
•
11th - 12th Grade
42 questions
Digital and Information Systems (VAC)
Quiz
•
12th Grade
45 questions
Davinci Resolve 17 Fusion 101
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade