JavaScript Quiz

JavaScript Quiz

Professional Development

20 Qs

quiz-placeholder

Similar activities

bahasa inggris tingkat dasar

bahasa inggris tingkat dasar

Professional Development

20 Qs

[FAST TRACK] Android Quiz 02 (22.4)

[FAST TRACK] Android Quiz 02 (22.4)

Professional Development

15 Qs

Goal setting

Goal setting

University - Professional Development

15 Qs

4 CT

4 CT

Professional Development

17 Qs

Task List Section : B

Task List Section : B

Professional Development

20 Qs

Map Reading

Map Reading

3rd Grade - Professional Development

25 Qs

Web Programming Post Test kjy

Web Programming Post Test kjy

Professional Development

15 Qs

MCQs on Cost Audit 2

MCQs on Cost Audit 2

University - Professional Development

25 Qs

JavaScript Quiz

JavaScript Quiz

Assessment

Quiz

Special Education

Professional Development

Medium

Created by

Aimfortech Solutions

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which type of JavaScript language is ___

  1. Object-Oriented

  1. Object-Based

  1. Assembly-language

  1. High-level

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is the purpose of the 'this' keyword in JavaScript?

  1. To refer to the current object

  1. To declare a variable

  1. To create a loop

  1. To import external libraries

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What does the 'typeof' operator in JavaScript return?

  1. The data type of a variable

  1. The value of a variable

  1. The length of a string

  1. The index of an array element

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is the correct way to comment a single line in JavaScript?

  1. // This is a comment

  1. /* This is a comment */

  1. # This is a comment

  1. %% This is a comment

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is the purpose of the 'let' keyword in JavaScript?

  1. To declare a block-scoped variable

  1. To refer to the current object

  1. To create a loop

  1. To import external libraries

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What does the 'NaN' value represent in JavaScript?

  1. Not a Number

  1. Null

  1. Undefined

  1. Infinity

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which method is used to add a new element to the end of an array in JavaScript?

  1. push()

  1. pop()

  1. shift()

  1. unshift()

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?