Quiz3
Quiz
•
Professional Development
•
1st - 3rd Grade
•
Practice Problem
•
Hard
Anantha edupuganti
Used 9+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following represents control flow statements in js ?
simple if
if else
else if ladder
switch
simple if
if else
nested if
if-elif-else
simple if
if-elif-else
switch
None of the above
2.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of these belong to looping statements in JS ?
for
for in
for of
for else
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Find the output of the following code snippet?
<script>
var a=[1.1,2,5,'gec',99.5,'it'];
for(var x in a)
document.write(x+" "); //output1
for(var x of a)
document.write(x+" "); //output2
</script>
1.1 2 5 gec 99.5 it
0 1 2 3 4 5
1.1 2 5 gec 99.5 it
0 1 1 2 3 4
0 1 2 3 4 5
1.1 2 5 gec 99.5 it
0 1 2 3 4 5
1,1 2 5 gec 99.5 it
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which keyword is used to create functions in Javascript ?
def
define
func
function
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Guess the Output for the following code snippet ?
<html>
<script>
function reverse(x){
var s=0;
while(x>0){
s=s*10+x%10;
x=x/10;
}
return s;
}
document.write("Reverse is: "+reverse(123));
</script>
</html>
Reverse is: NaN
Reverse is: 321.000
Reverse is: Infinity
Reverse is: undefined
Reverse is: 321
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is abbrevation of DOM ?
Domain Object Model
Document Object Model
Discriptive Oreintation Model
Discriptive Object Model
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
<html>
<script>
var x=" 68.3";
var b=Number(x);
var a=parseInt(x);
document.write(b+" ");
document.write(a);
</script>
</html>
Predict the Output ?
68 68.3
68.3 68
68 68
68.3 68.3
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
11 questions
Python. Умови та цикли
Quiz
•
1st - 3rd Grade
11 questions
guess the art (hard mode)
Quiz
•
KG - 3rd Grade
17 questions
ROCC
Quiz
•
1st - 12th Grade
10 questions
Seleksi Perawat Ananda September 2020
Quiz
•
1st Grade
20 questions
SLU PBS 24 ogos 2022 SMK MIHARJA
Quiz
•
1st Grade
10 questions
Logística de Inventarios 1
Quiz
•
1st - 5th Grade
10 questions
Rumus Dasar Excel
Quiz
•
1st Grade
10 questions
Basic Project Management Training
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Professional Development
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Ancient China Quick Check
Quiz
•
3rd Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
17 questions
Multiplication facts
Quiz
•
3rd Grade
10 questions
Veterans Day
Quiz
•
3rd Grade
