Data Types and Variables
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Medium
Daniel Adesoji
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following can we use to declare a variable in JS?
const
let
var
all of the options
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following is a primitive data type in JS
object
array
string
function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of a variable in JavaScript if it's not assigned any value?
null
undefined
0
NaN
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select all the valid data types in JS
string
boolean
int
char
number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Simi wants to record her age using JS which of the following statement is correct?
let simiAge : 10;
let simiAge = 10;
let simiAge :=10;
let simiAge - 10;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword can we use to check if data type of a value in JS
dataTypeof
typeof
data
type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Abraham Morenike wants to separate her name to first name and last name, what string method can she use?
separate()
section()
split()
divide()
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
15 questions
PA101 Basic Selling Steps
Quiz
•
Professional Development
10 questions
Digestão Humana
Quiz
•
Professional Development
10 questions
Soft skills Quiz
Quiz
•
Professional Development
12 questions
Unit 104 SITE PREP
Quiz
•
Professional Development
10 questions
Giving Instructions 2022
Quiz
•
Professional Development
12 questions
U 9-10 Summit 1 Review
Quiz
•
Professional Development
14 questions
Evolution of Negotiation
Quiz
•
Professional Development
15 questions
Assesment on unit-1 & 2
Quiz
•
Professional Development
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
