Homework - JavaScript - 15/01/25

Homework - JavaScript - 15/01/25

9th Grade

8 Qs

quiz-placeholder

Similar activities

SOAL LATIHAN 1+

SOAL LATIHAN 1+

9th Grade

10 Qs

quiz scratch budi

quiz scratch budi

9th Grade

10 Qs

Uji Pengetahuan Teknologi Informasi

Uji Pengetahuan Teknologi Informasi

9th Grade

10 Qs

Informatika (Scratch)

Informatika (Scratch)

7th Grade - University

7 Qs

Web Development Quiz

Web Development Quiz

9th - 12th Grade

10 Qs

มัลติมีเดีย 2

มัลติมีเดีย 2

6th Grade - University

10 Qs

Quiz sobre JavaScript para 9º Ano

Quiz sobre JavaScript para 9º Ano

9th Grade

10 Qs

Avaliação 9º anos

Avaliação 9º anos

9th Grade

10 Qs

Homework - JavaScript - 15/01/25

Homework - JavaScript - 15/01/25

Assessment

Quiz

Information Technology (IT)

9th Grade

Hard

Created by

Kristian Bloomfield

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the meaning of the operator in the following line of JavaScript code?

if ( number != 27 )

Equal To

Greater Than

Less Than

Not Equal To

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why would no text be written on a web page due to the following JavaScript algorithm?

var numberOne = 10;

if(numberOne==11){

document.write("Number one is 10")}else{

document.write("Number one is not 10")

}


the variable numberOne stores a value less than 10

the variable numberOne stores the value 10

the variable numberOne stores the value 11

the variable numberOne does not store the value 10

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What text will be displayed on the following button in a web page?

<button id="firstButton">a.ANSWER ONE</button>

firstButton

A.ANSWER ONE

button

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following JavaScript subprograms displays a pop-up window in a web browser?

alert()

print()

document.write()

getElementByIT()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In HTML, what 'script type' is used to define a HTML/JavaScript web page?

js/html

text_hyperlink/html

html/javascript

text/javascript

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which symbol in JavaScript proceeds the 'onclick=function()' subprogram when creating an interactive button?

{

[

(

/

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does the term 'var' represent in JavaScript?

Video Assistant Referee

Variant

Variable

Variety

8.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens to the value stored in 'score' in the following line of JavaScript?

score++;

'score' is incremented by 1

'score' is decremented by 1

The value for 'score' is increased by 2

The value for 'score' is converted to upper case