
Exploring Basic JavaScript Syntax
Quiz
•
Computers
•
5th Grade
•
Practice Problem
•
Medium
YASSINE AMMANI
Used 2+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to print to the console in JavaScript?
console.log()
log.console()
System.out.println()
print.console()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable that cannot be changed in JavaScript?
let
const
Var
impossible
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the prompt() function?
To ask the user for input.
To display a message to the user.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an array (list) in JavaScript?
let myArray = new Array(1, 2, 3);
let myArray = [1, 2, 3 ];
let myArray = {1, 2, 3};
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output: console.log(1 + 2)?
2
3
4
5
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What keyword is used to declare a variable that can be changed?
static
var
const
let
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you convert a string to an integer in JavaScript?
impossible
toString(string)
Int(string)
parseInt(string)
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
10 questions
MS.Word
Quiz
•
5th Grade
10 questions
Programming
Quiz
•
1st - 10th Grade
13 questions
Pemrograman berorientasi objek
Quiz
•
1st - 10th Grade
10 questions
Y9 System architecture
Quiz
•
5th Grade
15 questions
Game Design Concept
Quiz
•
5th - 9th Grade
15 questions
Intro to Small Basic
Quiz
•
KG - 7th Grade
10 questions
scratch quiz
Quiz
•
1st Grade - University
13 questions
Video games
Quiz
•
1st - 9th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
13 questions
The Life of Dr. Martin Luther King, Jr. - MLK Day! (Animated)
Interactive video
•
5th Grade
22 questions
Nonfiction Text Structures
Quiz
•
5th Grade
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
18 questions
Add and Subtract fractions and Mixed numbers
Quiz
•
5th Grade
13 questions
Martin Luther King, Jr. Holiday Lesson
Interactive video
•
5th Grade
