JavaScript Basics

JavaScript Basics

University

20 Qs

quiz-placeholder

Similar activities

Auditoria TI

Auditoria TI

University

15 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

Argumentación

Argumentación

University

15 Qs

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

Algo Quiz

Algo Quiz

University

16 Qs

Informatika Kelas 5 Bab 2

Informatika Kelas 5 Bab 2

5th Grade - University

19 Qs

PRUEBA FINAL COMPUTACION

PRUEBA FINAL COMPUTACION

1st Grade - University

18 Qs

DI (EM24) - Diseño de Contenidos (T8)

DI (EM24) - Diseño de Contenidos (T8)

University - Professional Development

20 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Long Nguyen

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript's official name?

JavaScript

TypeScript

ECMAScript

ScriptJS

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented JavaScript?

Bill Gates

Brendan Eich

Tim Berners-Lee

Steve Jobs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of JavaScript in web development?

To create web servers

To add interactivity to HTML pages

To handle database connections

To create operating systems

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Which HTML tag is used to include JavaScript in a webpage?

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `console.log()` do in JavaScript?

Prints content to the web page

Displays content in the browser’s console

Creates a new HTML element

Stops the script execution

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to access an HTML element by its ID in JavaScript?

document.getElementByClassName()

document.getById()

document.querySelector()

document.getElementById()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is `innerHTML` used for in JavaScript?

To define a JavaScript function

To insert JavaScript into an HTML file

To change the content of an HTML element

To call a JavaScript file

Create a free account and access millions of resources

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?