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
Which type of JavaScript language is
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 Wayground
5 questions
Desarrollo de Aplicaciones Web I - Test 3B

Quiz
•
University
10 questions
Introducción a Adobe Animate

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
CYBER 2

Quiz
•
University
12 questions
JavaScript

Quiz
•
University
15 questions
JavaScript

Quiz
•
University
14 questions
Year 6 Dig MOD 3 (D)

Quiz
•
6th Grade - University
10 questions
JSP Topic

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University