
Full Stack Quiz 10

Quiz
•
Professional Development
•
Professional Development
•
Medium
Vindhya Gaddam
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function among the following lets to register a function to be invoked once?
setTimeout()
setInterval()
settime()
setTotaltime()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following JavaScript code?
<p>1</p>
<p>2</p>
<p>3</p>
<p> hello </p>
<script>
function myFunction()
{
var s = document.getElementsByTagName("P").length;
alert(s);
}
</script>
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following JavaScript code?
<head id="myHead">
<title>My title</title>
</head>
<p id="demo"></p>
<script>
function myFunction()
{
var x = document.head.id;
document.getElementById("demo").innerHTML = x;
}
</script>
demo
myHead
error
undefined
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following ways could we change the content of an element node divElement to the text 'Changed'?
BdivElement.innerText = 'Changed'
AdivElement.innerHTML = 'Changed'
DdivElement.appendChild(document.createTextNode('Changed'))
Both a & b
CdivElement.innerContent = 'Changed'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents loops in javascript?
for
while
forEach
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What among the following is an appropriate when an event occurs when the user clicks on an element?
onclick
onchange
onkeyup
onblur
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the below code:
Identify the correct code in order to fetch the value entered in username text field?
< body>
< form name="register">
Enter username < input value="John" id="name" name="username">
< /form>
< /body>
document.register.name.value
document.getElementById ("name").value
document.getElementByName ("name").value
None of the above
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DEW - Fundamentos de JS

Quiz
•
Professional Development
12 questions
HTML5

Quiz
•
Professional Development
15 questions
Programação Web - HTML 3

Quiz
•
7th Grade - Professio...
10 questions
Workshop Vue.js Node Stytch

Quiz
•
Professional Development
10 questions
AXIE 101

Quiz
•
KG - Professional Dev...
10 questions
HTML5_S02

Quiz
•
Professional Development
10 questions
Sharing Moment Frontliner BNI KC Musi Palembang

Quiz
•
Professional Development
10 questions
Knowledge Booster

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade