Data Types and Variables

Quiz
•
Professional Development
•
Professional Development
•
Medium
Daniel Adesoji
Used 1+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Quiz sobre la Plataforma de Capacitación en IA para Empresas(E1)

Quiz
•
Professional Development
6 questions
Quiz on Sample Code - JavaScript

Quiz
•
Professional Development
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
7 questions
Kotlin Fundamentals

Quiz
•
Professional Development
15 questions
Nodejs: Packages and Package.json

Quiz
•
Professional Development
10 questions
Nodejs: Queues and Background Workers

Quiz
•
Professional Development
10 questions
Web Development Workshop

Quiz
•
University - Professi...
10 questions
Quiz ReactJS Lesson 02

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade