JavaScript Basics & CodeHS Review
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
PATRICIA LAMMERT
Used 5+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct function to print text to the screen in JavaScript?
write
console.log
log
console.print
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a variable in JavaScript?
variable
let
int
x
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a properly styled and valid JavaScript variable name?
user_age
UserAge
userAge
User age
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? console.log(2 + 2);
2 + 2
4
22
Nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for multiplication in JavaScript?
x
*
#
X
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for division in JavaScript?
%
/
//
*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function asks the user for text input?
readLine
readln
text
console.log
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
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
17 questions
Grade 4 Computer Science Quiz
Quiz
•
4th Grade - University
14 questions
Microsoft Excel Advanced Features
Quiz
•
1st Grade - University
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
16 questions
Hour_of_Code
Quiz
•
5th - 12th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
20 questions
Perangkat Lunak dan Struktur Pemrograman (UH 2)
Quiz
•
10th Grade
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
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
