Ass2-Quiz2-Programming
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
zina aldolymi
Used 5+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
<!DOCTYPE html>
<html>
<body>
<script>
var x = "5";
var y = 6;
var z = x + y;
document.write(x + "<br>");
document.write(y + "<br>");
document.write(z + "<br>");
</script>
</body>
</html>
Guess the output of the following code
5 6 10
None of These
5 6 56
5 6 11
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
<!DOCTYPE html>
<html>
<body>
<script>
var num1 = 1;
var num2 = 1;
var num3 = "1" + num1 + num2;
document.write(num1 + "<br>");
document.write(num2 + "<br>");
document.write(num3 + "<br>");
</script>
</body>
</html>
Guess the output of the following code.
1 1 3
1 1 111
1 1 12
None of these
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
<html>
<body>
<script>
var x = 12.45;
var y = 1;
var z = '8' + x + y;
document.write(z + "<br>");
</script>
</body>
</html>
The value of Z is
813.451
812.451
21.450
21.451
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Variable declared without a value will have the value ______________
None of these
undefined
0
null
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is it necessary to use "var" keyword while declaring variable.
Yes
No
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
When you assign a text value to a variable, we put text value in the pair of _________.Select appropriate option(s).
Square Bracket
Double Quote
None of these
Single Quote
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Non Initialized Variable have value "undefined", What value be printed in following case
var name="Cat";
var name;
null
Error
Cat
undefined
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
Already have an account?
Similar Resources on Wayground
27 questions
R081 LO3 - Be able to produce pre-production documents
Quiz
•
10th - 11th Grade
33 questions
Photoshop CC 2020 Certification
Quiz
•
9th - 12th Grade
30 questions
HTML Basics
Quiz
•
11th - 12th Grade
30 questions
Scratch Exam New
Quiz
•
9th - 12th Grade
26 questions
CodeHS Unit 5 Chapter Test
Quiz
•
8th - 12th Grade
27 questions
Animatic QUIZIZZ test
Quiz
•
9th - 12th Grade
26 questions
IX-Analisis Data
Quiz
•
9th Grade - University
28 questions
Tin 11 - Kiểm tra giữa kì 1
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
