
JS Basics Quiz

Quiz
•
Computers
•
8th Grade
•
Medium
Michael Garcia
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the data type for the phoneNumber variable?
Quel est le type de données pour la variable de numéro de téléphone?
String
Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the data type for the ageInput variable?
Quel est le type de données de la variable ageInput?
String
Number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in JavaScript?
A section of the document
A type of JavaScript data
A container for storing data values
A command that performs a specific action
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid variable name in JavaScript?
_myVar
2ndVar
$myVar
myVar123
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in JavaScript?
var myVariable;
variable myVariable;
v myVariable;
declare myVariable;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is NOT supported in JavaScript?
String
Number
Character
Boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet? ```javascript var x = 10; var y = "20"; var z = x + y; ```
30
"1020"
"30"
1020
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
BSD-QuizMaker-JavaScript Quiz

Quiz
•
6th - 8th Grade
15 questions
JavaScript basics

Quiz
•
8th Grade - University
18 questions
Python basics

Quiz
•
7th - 10th Grade
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
15 questions
AV1/R1 1TEC_IP_Introdução à Programação - Aula 01 a 06

Quiz
•
1st Grade - University
20 questions
Coding with Scratch

Quiz
•
6th - 8th Grade
15 questions
App Lab Variables

Quiz
•
7th - 8th Grade
10 questions
JavaScript Basics

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade