Gold Batch Quiz -4

Gold Batch Quiz -4

University

10 Qs

quiz-placeholder

Similar activities

JavaScript Quiz

JavaScript Quiz

University

10 Qs

Warm up

Warm up

University

7 Qs

Intro to  Java

Intro to Java

University

15 Qs

PHP Quiz

PHP Quiz

University

15 Qs

Algoritma Struktur Data (1)

Algoritma Struktur Data (1)

University

10 Qs

UNIT 1- MIDS

UNIT 1- MIDS

University

10 Qs

zahro

zahro

University

6 Qs

Gherkin & Cucumber

Gherkin & Cucumber

1st Grade - Professional Development

9 Qs

Gold Batch Quiz -4

Gold Batch Quiz -4

Assessment

Quiz

Other

University

Medium

Created by

Gnaneshwar Reddy

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript primarily used for?

a) Back-end development

b) Database management

c) Client-side scripting

d) System programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a JavaScript variable?

a) var myVar;

b) let myVar;

c) const myVar;

d) All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a JavaScript data type?

a) Number

b) String

c) Boolean

d) All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to parse a string to an integer?

a) parseInt()

b) toInt()

c) Number()

d) int()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will type of null return?

a) object

b) null

c) undefined

d) boolean

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create an array in JavaScript?

a) let arr = [];

b) let arr = new Array();

c) Both a and b

d) None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does === compare in JavaScript?

a) Value only

b) Data type only

c) Value and data type

d) None of the above

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?