
Homework - JavaScript - 15/01/25

Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
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>
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
Similar Resources on Wayground
11 questions
Quiz aula 3

Quiz
•
9th - 12th Grade
10 questions
SOAL LATIHAN 2

Quiz
•
9th Grade - University
11 questions
prgramming

Quiz
•
6th Grade - University
10 questions
PH 1 TIK

Quiz
•
9th - 12th Grade
10 questions
CONCEPTOS ARDUINO

Quiz
•
1st Grade - University
10 questions
Asesmen Diagnostik Scratch

Quiz
•
9th Grade
10 questions
Clases abstractas e interfaces

Quiz
•
1st - 9th Grade
10 questions
Understanding Scoring in Archery

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade