quiz 1

quiz 1

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

Pemrograman berorientasi objek

Pemrograman berorientasi objek

1st - 10th Grade

13 Qs

Variables en Java

Variables en Java

5th Grade

8 Qs

ASK F2 BAB 3 : KOD ARAHAN

ASK F2 BAB 3 : KOD ARAHAN

2nd Grade

10 Qs

IDENTIFICADORES-VARIABLES-DATOS-CONSTANTES

IDENTIFICADORES-VARIABLES-DATOS-CONSTANTES

3rd Grade

10 Qs

INTRODUCTION TO OOP

INTRODUCTION TO OOP

1st - 3rd Grade

10 Qs

Yr 7 Flowgorithm

Yr 7 Flowgorithm

3rd Grade

10 Qs

Intro to Small Basic

Intro to Small Basic

KG - 7th Grade

15 Qs

Chapter1.1

Chapter1.1

1st - 5th Grade

11 Qs

quiz 1

quiz 1

Assessment

Quiz

Computers

1st - 5th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?