JavaScript Basics Quiz
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Lamia Saieed
Used 22+ times
FREE Resource
Enhance your content in a minute
69 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to create a variable in JavaScript?
define
let
var
make
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code correctly assigns the value 5 to the variable score?
score = let 5;
var score = 5;
set score = 5;
score <- 5;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which block allows a user to type input in a Design tab element?
label
dropdown
text input
button
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to declare a variable in JavaScript?
create variable x = 5;
int x = 5;
var x = 5;
x := 5;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to store a number or string in JavaScript?
define
function
var
input
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of setText(id, text)?
Stores text in a variable
Gets text from the screen
Sets text of a UI element
Deletes a text input
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which event type is used to detect a button click in onEvent()?
hover
input
submit
click
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
69 questions
Câu hỏi trắc nghiệm về Python
Quiz
•
10th Grade
72 questions
Server, Konsola, Virtual, AD, DHCP, DNS, NAT, IIS, FTP
Quiz
•
7th Grade - Professio...
71 questions
Final exam Review
Quiz
•
9th - 12th Grade
64 questions
Computer Communication
Quiz
•
10th Grade
70 questions
Communication Skills Quiz
Quiz
•
9th Grade - University
65 questions
Unit 7: Parameters, Return, & Libraries (APCSP '23-'24)
Quiz
•
9th - 12th Grade
70 questions
9_1 Using Computers Final Quizizz
Quiz
•
8th - 11th Grade
66 questions
ÔN TẬP CUỐI HK2 TIN 10 NH 2024-2025
Quiz
•
10th 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
