
Javascript Basics-1

Quiz
•
Other
•
Professional Development
•
Hard
SUNDARESAN K
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Javascript is an _______ language?
Object-Oriented
Object-Based
Procedural
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following keywords is used to define a variable in Javascript?
var
let
Both A and B
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to access HTML elements using Javascript?
getElementbyId()
getElementsByClassName()
Both A and B
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Upon encountering empty statements, what does the Javascript Interpreter do?
Throws an error
Ignores the statements
Gives a warning
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods can be used to display data in some form using Javascript?
document.write()
console.log()
window.alert()
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct output for the following JavaScript code:varx=5,y=1
var obj ={ x:10}
with(obj)
{
alert(y)
}
1
Error
10
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The "function" and " var" are known as:
Keywords
Data types
Declaration statements
Prototypes
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
JavaScript Basics

Quiz
•
Professional Development
20 questions
CSS Unit 1

Quiz
•
Professional Development
13 questions
TEC-T96

Quiz
•
Professional Development
20 questions
Quizz for Javascript and typescript

Quiz
•
Professional Development
20 questions
MuleSoft MCD1 training

Quiz
•
Professional Development
15 questions
Javascript Basics-2

Quiz
•
Professional Development
10 questions
String Methods

Quiz
•
Professional Development
12 questions
Mastering HTML, CSS, and JavaScript

Quiz
•
Professional Development
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade