Search Header Logo

JavaScript Basics Quiz

Authored by Jayshree Kutty

Information Technology (IT)

12th Grade

Used 1+ times

JavaScript Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript?

A web scripting language

A database

A server-side language

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the two types of scripting languages?

Client-side and Server-side

Static and Dynamic

Compiled and Interpreted

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the five types of primitive data types in JavaScript?

String, Number, Boolean, Undefined, Null

String, Integer, Float, Boolean, Null

String, Number, Object, Array, Function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a JavaScript function?

A block of code designed to perform a task

A variable

An object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the DOM?

Document Object Model

Data Object Model

Dynamic Object Model

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Window object represent?

The top-level client-side object

A specific HTML element

A JavaScript function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'alert()' method do?

Displays an alert box

Opens a new window

Closes the current window

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?