
javascript-vlits
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Medium
kolla vivek
Used 6+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
__________ is a JavaScript library that implements the most common user interface elements and interactions like sliders, accordions, tabs, and so on.
A. JavaScript
B. JQuery UI
C. VTS
D. JCL
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Choose the correct JavaScript syntax to change the content of the following HTML code.
<p id="geek">GeeksforGeeks</p>
A) document.getElement(“geek”).innerHTML=”I am a Geek”;
B) document.getElementById(“geek”).innerHTML=”I am a Geek”;
C) document.getId(“geek”)=”I am a Geek”;
D) document.getElementById(“geek”).innerHTML=I am a Geek;
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is the correct syntax to display “GeeksforGeeks” in an alert box using JavaScript?
A. alertbox(“GeeksforGeeks”);
B. msg(“GeeksforGeeks”);
C. msgbox(“GeeksforGeeks”);
D. alert(“GeeksforGeeks”);
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax for referring to an external script called “geek.js”?
A. <script src=”geek.js”>
B. <script href=”geek.js”>
C. <script ref=”geek.js”>
D. <script name=”geek.js”>
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Predict the output of the following JavaScript code.
<script type="text/javascript">
a = 8 + "8";
document.write(a);
</script>
A) 16
B) Complilation Error
C) 88
D) Run Time Error
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Predict the output of the following JavaScript code.
<script type="text/javascript">
var a="GeeksforGeeks";
var x=a.lastIndexOf("G");
document.write(x);
</script>
A) 8
B) 0
C) 9
D) Error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not a reserved word in JavaScript?
A. interface
B. throws
C. program
D. short
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
STEM quiz
Quiz
•
KG - 6th Grade
20 questions
HTML
Quiz
•
KG - University
25 questions
ÔN TẬP TIN 8 GIỮA KÌ 2
Quiz
•
1st Grade
20 questions
KOD ARAHAN TINGKATAN 1
Quiz
•
1st Grade
20 questions
Informatica
Quiz
•
1st Grade - University
20 questions
แบบทดสอบท้ายหน่วยที่ 5
Quiz
•
1st Grade
25 questions
Lenguaje C
Quiz
•
1st Grade
20 questions
Co wiesz o informatyce - podstawy informatyczne
Quiz
•
1st - 2nd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade
