Seatwork #4

Seatwork #4

12th Grade

25 Qs

quiz-placeholder

Similar activities

Fundamentos Java

Fundamentos Java

University

20 Qs

JavaScript Qui1 M1-M3

JavaScript Qui1 M1-M3

12th Grade

25 Qs

Av1 - Revisão (parte nota 1)sobre HTML e CSS

Av1 - Revisão (parte nota 1)sobre HTML e CSS

2nd Grade - University

25 Qs

Dasar Koding dan Kecerdasan Artifisial

Dasar Koding dan Kecerdasan Artifisial

10th Grade - University

25 Qs

3 Tri C# 2

3 Tri C# 2

12th Grade

25 Qs

Responsi JavaScript

Responsi JavaScript

University

25 Qs

3 Tri C# 3

3 Tri C# 3

12th Grade

25 Qs

Tippie Tech Spring Kickoff Activity

Tippie Tech Spring Kickoff Activity

University

20 Qs

Seatwork #4

Seatwork #4

Assessment

Quiz

Information Technology (IT)

12th Grade

Medium

Created by

Lukas Kurnia

Used 5+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is JavaScript primarily used for?

Adding interactivity to web pages

Designing graphics

Creating databases

Managing server-side operations

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What does the 'var' keyword do in JavaScript?

Defines a function

Declares a variable

Imports a library

Creates a loop

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is a valid way to declare a variable in JavaScript?

variable myVariable = 10;

myVariable := 10;

set myVariable = 10;

var myVariable = 10;

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is the purpose of the 'alert()' function in JavaScript?

To validate form inputs

To create a new HTML element

To log messages to the console

To display a message to the user

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which operator is used for multiplication in JavaScript?

/

x

*

-

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What will the following code output? document.write(5 + 5);

Error

55

5 + 5

10

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which of the following is an "AND" operator in JavaScript?

!=

||

and

&&

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?