NEW
Font size
S
M
L
XL
WorksheetsWP CHAPTER1 TO 3
Total questions: 32
Worksheet time: 19mins
Name
Class
Date
1.
Javascript is a premier ____________ language used today
a)
client side scripting
b)
server side
c)
browser side
d)
both a and b
e)
none
2.
DOM stands for_________
a)
document object model
b)
dynamic object model
c)
durable object model
d)
dynamic object member
e)
none
3.
JavaScript was developed by __________________________
a)
Micorsoft
b)
Netscape
c)
Google
d)
Oracle
e)
none
4.
JavaScript statements are separated by_______________
a)
#
b)
comma
c)
semicolons
d)
\
e)
none
5.
Microsoft introduced a clone of javascript called ___________in Internet Explorer
a)
script
b)
javascript
c)
jscript
d)
live script
e)
none
6.
javascript files can be saved with ___________extension
a)
.html
b)
.css
c)
.script
d)
.js
e)
none
7.
javascript was previously named as ___________
a)
java
b)
livescript
c)
javascript
d)
script
e)
none
8.
Javacsript is_________typed language ?
a)
strongly typed
b)
weakly typed
c)
untyped
d)
hityped
e)
none
9.
The octal number base is ___
a)
8
b)
10
c)
2
d)
7
e)
none
10.
The data members of an object is called ______
a)
refference
b)
properties
c)
value
d)
data
e)
none
11.
In Javascript member functions of an object is called ______
a)
objects
b)
methods
c)
refference
d)
valu
e)
none
12.
In Javascript 16 is the base of ___
a)
Octal
b)
hexadecimal
c)
Binary
d)
Digital
e)
none
13.
Javascript composite (reference) data types are:
a)
Object& Array
b)
Array & int
c)
int & object
d)
null & NaN
e)
none
14.
In javascript The special data types are __________
a)
int and void
b)
string& char
c)
Null &Undefined
d)
char&void
e)
none
15.
Javascript strings is using the "+"operator is called the ________operator.
a)
concatenation
b)
addition
c)
increment
d)
right shift
e)
none
16.
In Javascript output of z= "Hello" + 5; is _____
a)
Hello5
b)
"Hello "
c)
"Hello " 5
d)
"Hello " + 5
e)
none
17.
In Javacript not assinged variable value is_________
a)
undefined
b)
zero
c)
null
d)
void
e)
none
18.
The Javascript has Null type and its default value is _________.
a)
0
b)
null
c)
NAN
d)
void
e)
none
19.
The Javascript Unsigned Right shift operator is_______
a)
>>>
b)
>
c)
>>
d)
<<<
e)
none
20.
Java script uses _____operator for bitwise AND
a)
&
b)
AND
c)
&&
d)
!
e)
none
21.
Java script uses _____operator for logical AND
a)
&
b)
AND
c)
&&
d)
!
e)
none
22.
typeof 62 returns_________in javascript
a)
62
b)
NUMBER
c)
ERROR
d)
STRING
e)
none
23.
The + operator performs string ____in Javascript
a)
concatenation
b)
deletion
c)
incremet
d)
not
e)
none
24.
In Javascript indicates ____________ end of a javascript statement
a)
semicolon
b)
dot
c)
closing angle bracket
d)
colon
e)
none
25.
In ________condition checking happens at the end of the loop
a)
while
b)
do while
c)
switch
d)
for
e)
none
26.
Break statement is used to ________ a loop early in javascript
a)
pause
b)
continue
c)
stop
d)
exit
e)
none
27.
Continue statement skips the following statements and goes next________to of the loop
a)
body
b)
loop
c)
iteration
d)
exit
e)
none
28.
In Javascript use the else if statement to specify a new condition if the first condition is____________
a)
false and true
b)
True
c)
FALSE
d)
none
29.
The switch expression is evaluated ______
a)
twice
b)
multiple
c)
once
d)
zero
e)
none
30.
When the JavaScript code interpreter reaches a break keyword, it ____out of the switch block
a)
continue
b)
breaks
c)
stop
d)
no action
e)
none
31.
The ______ statement is used to perform different actions based on different conditions
a)
for
b)
switch
c)
while
d)
do-while
e)
none
32.
While Loops can execute a block of code as long as a specified condition_________
a)
True
b)
false
c)
error
d)
exit
e)
none
Reset
