
Full Stack Quiz 10
Authored by Vindhya Gaddam
Professional Development
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
15 questions
估内唔到
Quiz
•
Professional Development
7 questions
Quizizz Módulo 4 call center
Quiz
•
Professional Development
12 questions
Perform Online Collaboration A
Quiz
•
Professional Development
15 questions
Product Training Lactacyd
Quiz
•
Professional Development
10 questions
COBIT 5 Foundation Highlight #1 (Easy)
Quiz
•
Professional Development
12 questions
TIME MANAGEMENT PRE TEST
Quiz
•
8th Grade - Professio...
12 questions
Treatment Modality for Colorectal Cancer
Quiz
•
Professional Development
10 questions
Tes Seru-seruan
Quiz
•
Professional Development
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