quiz 1

Quiz
•
Computers
•
1st - 5th Grade
•
Medium
Ahmed Kamal
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Question 1: Which of the following is not a JavaScript data type?
a) String
b) Array
c) Float
d) Function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Question 2: What is the correct data type for the value "42"?
a) Number
b) String
c) Boolean
d) Undefined
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Question 3: What will the following expression evaluate to?
typeof "Hello"
a) "Number"
d) "Undefined"
c) "String"
b) "Boolean"
4.
MULTIPLE SELECT QUESTION
1 min • 2 pts
Question 4: How do you declare a variable in JavaScript?
d) const myVariable;
c) let myVariable;
b) variable myVariable;
a) var myVariable;
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Question 5: Which data type is used to store multiple values in a single variable?
c) Boolean
d) Array
b) Number
a) String
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Question 6: What will the following expression evaluate to?
typeof true
a) "String"
d) "Undefined"
c) "Boolean"
b) "Number"
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Question 7: How do you check if two variables have the same value and data type in JavaScript?
a) Using the == operator
b) Using the === operator
c) Using the != operator
d) Using the !== operator
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
การเขียนโปรแกรม ม.1

Quiz
•
1st Grade
10 questions
Name Tag

Quiz
•
1st Grade
10 questions
Microbit - Lesson 2 - Dice Emulator, Activity Picker, Spinner, T

Quiz
•
5th Grade
7 questions
CS Higher: Data Types and Structures

Quiz
•
5th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
11 questions
N4 Python Programming

Quiz
•
4th Grade
6 questions
Viaan's Computer Quiz

Quiz
•
5th Grade
13 questions
python для новичков

Quiz
•
4th - 11th 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