
Frontend Development Quiz 7
Quiz
•
English
•
Professional Development
•
Medium
Vindhya Gaddam
Used 3+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JavaScript?
JavaScript is a scripting language used to make the website interactive
JavaScript is an assembly language used to make the website interactive
None of the mentioned
JavaScript is a compiled language used to make the website interactive
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct about JavaScript?
a) JavaScript is an Object-Based language
b) JavaScript is Assembly-language
c) JavaScript is an Object-Oriented language
d) JavaScript is a High-level language
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Among the given statements, which statement defines closures in JavaScript?
a) JavaScript is a function that is enclosed with references to its inner function scope
b) JavaScript is a function that is enclosed with references to its lexical environment
c) JavaScript is a function that is enclosed with the object to its inner function scope
d) None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What will be the output of the following JavaScript code snippet?
<p id="demo"></p>
var txt1 = "Sanfoundry_";
var txt2 = "Javascriptmcq";
document.getElementById("demo").innerHTML = txt1 + txt2;
a) error
b) Sanfoundry_ Javascriptmcq
c) undefined
d) Sanfoundry_Javascriptmcq
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. What will be the output of the following JavaScript code?
<p id="demo"></p>
<script>
var js = 10;
js *= 5;
document.getElementById("demo").innerHTML = js;
</script>
a) 10
b) 50
c) 5
d) Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Arrays in JavaScript are defined by which of the following statements?
a) It is an ordered list of values
b) It is an ordered list of objects
c) It is an ordered list of string
d) It is an ordered list of functions
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What will be the output of the following JavaScript code?
// JavaScript Comparison Operators
function compare()
{
int num=2;
char b=2;
if(a==b)
return true;
else
return false;
}
a) false
b) true
c) compilation error
d) runtime error
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
15 questions
Sasi-AN-02.05.2024
Quiz
•
Professional Development
15 questions
DSBS-AN-29.01.2024
Quiz
•
Professional Development
20 questions
X Descriptive text
Quiz
•
Professional Development
20 questions
English BUMN Exercise
Quiz
•
Professional Development
15 questions
Class 6 Review
Quiz
•
Professional Development
11 questions
LISTENING CASES
Quiz
•
Professional Development
12 questions
Delayed Language FB Quiz
Quiz
•
Professional Development
15 questions
MET 4 - SOUNDS
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade