Seatwork #4

Seatwork #4

12th Grade

25 Qs

quiz-placeholder

Similar activities

Основи на JavaScript за 12-ти клас

Основи на JavaScript за 12-ти клас

12th Grade

20 Qs

Web Development Quiz

Web Development Quiz

University

20 Qs

Guia de estudio PseInt

Guia de estudio PseInt

9th - 12th Grade

29 Qs

03-JavaScript операторы, ветвление

03-JavaScript операторы, ветвление

University

20 Qs

Python

Python

9th - 12th Grade

20 Qs

Uji Pengetahuan Teknik Informatika

Uji Pengetahuan Teknik Informatika

12th Grade - University

20 Qs

Big Data бойынша тест

Big Data бойынша тест

University

20 Qs

12-JS-методы строк

12-JS-методы строк

University

24 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?