Which type of JavaScript language is
Javascript

Quiz
•
Computers
•
University
•
Medium

Nurfarahhanis Binti Abdul Rashid
Used 46+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Object-oriented
Assembly-language
High-level
Object-based
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the correct output for the following JavaScript code:
<script>
x = 10;
y = 5;
z = x / y;
document.getElementById("demo").innerHTML = "The value of z is: " + z;
</script>
2
0
5
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In JavaScript, what is a block of statement?
Conditional block
block that contains a single statement
block that combines a number of statements into a single compound statement
both conditional block and a single statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen, if the following JavaScript code is executed?
<script>
alert(5 + 6);
</script>
An error is displayed
The values of count variable are logged or stored in a particular location or storage
Pop up box appear with the value
An exception is thrown
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is true about Javascript Objects, excepts
Containers for data values
Can be written with or without decimals
can be assigned with multiple values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the syntax for declaring Javascript array?
var pet = [ "cat", "dog", "bird"]
var pet = [ cat, dog, bird]
var pet = { cat, dog, bird}
var pet = ( cat, dog, bird)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the getElementsByTagName() method ?
return the element by given id value
return the element by given class name
return the element by given tag name
return the element by given name value
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Preguntas sobre Algoritmos y JavaScript

Quiz
•
University
15 questions
Kuizi 15 - Web

Quiz
•
10th Grade - University
15 questions
code trivia

Quiz
•
University
10 questions
java script

Quiz
•
University
10 questions
Java Script. Parte 1.

Quiz
•
University
10 questions
Quiz JS DW v1

Quiz
•
University
15 questions
FINAL REVISION

Quiz
•
University
10 questions
GDSC Android Bootcamp [Kotlin Quiz]

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade