Javascript
Test
Model Test
Ebook
Quiz-1 : JavaScript basic
Quiz 2: JavaScript
Quiz 3: JavaScript Basic Level1 quiz
Quiz 4: JavaScript Model Test 6-Jan-2014
Quiz 5: JavaScript Model Test 17 Feb 2014
Quiz 6: JavaScript Model Test 23 Feb 2014
Quiz 7: JavaScript Model Test 3 Mar 2014
Quiz 8: JavaScript Model Test 6 Mar 2014
Index
Javascript Home
Basic
84
Array
7
Function
37
Control structure
18
Syntax
14
Operators
37
Objects
7
Data types & variables
45
Event
7
OOP
1
IO
2
DHTML
1
Regular Expression
1
BOM
2
DOM
4
Schools
Ebook
Question:
Which is/are JavaScript core object(s)?
A
Math.
B
Array.
C
Window.
D
Document.
Note:
Not available
Show answer
Show Note
Report
Question:
What is/are the correct string concatenation?
A
var age=21; var str=”My”+”age”+”is ”+age;
B
var age=21; var str=My+age+is+age;
C
var age=21; var str=”My”+”age”+is ”+age;
D
var age=21; var str=My+”age”+is+age;
E
var age=21; var str="My age is "+age;
Note:
Not available
Show answer
Show Note
Report
Question:
Which are the correct comparison operators?
A
>=,=<,==,!=
B
=<,=>,==,=!
C
>=,<=,==,!=
D
>=,<=,==,=!
Note:
= sign always be in the right side of the comparison operator
Show answer
Show Note
Report
Question:
What is the correct form element referencing?
A
document.form.element
B
document.element
C
window.element
D
window.form.element
Note:
Not available
Show answer
Show Note
Report
Question:
Why “new” keyword is used in JavaScript?
A
To create a new function
B
To create a new class
C
To create a new object
D
To create a new attribute
Note:
Not available
Show answer
Show Note
Report
Question:
How do you make comment in JavaScript?
A
// comment
B
/* comment */
C
<!—comment -->
D
/* comment
Note:
Not available
Show answer
Show Note
Report
Question:
What does DOM stands for?
A
Dynamic Object Model
B
Document Objective Model
C
Document Object Model
D
Not as above all
Note:
Not available
Show answer
Show Note
Report
Question:
What does BOM stands for?
A
Browser Object Model
B
Building Object Model
C
Before Object Model
D
Not as above all
Note:
Not available
Show answer
Show Note
Report
Question:
An object is embedded with _____.
A
Both functions and attributes
B
Only functions
C
Only attributes
D
nothing
Note:
Not available
Show answer
Show Note
Report
Question:
What is the correct output for the following code?
var str=”This is a text.”; alert(str.charAt(3));
A
i
B
s
C
white space
D
none
Note:
Not available
Show answer
Show Note
Report
First
Prev
5
6
7
8
9
Next
Last
/27
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd