Contents

What is meant by // symbol in javascript?
a) create event handler      
b) create single line comment
c) create multi-line comment                           
d) both b & c

b

In document.write(“Hello”); which part of statement is a method.
a) “Hello”                             
b) write()
c) document                        
d) both b & c

b

A reserve word is a…….
a) keyword in JavaScript                
b) variable name
c) both a & b                       
d) none of these

a

Which of the following is not a reserve word?
a) dynamic                          
b) return
c) true                                    
d) static

a

Which of the following is not valid opening comment element?
a) <!...                                    
b) //
c) /*                                       
d) @@

d

Which symbol is used for termination of statement?
a) :                                                         
b) ;
c) *                                                        
d) +

b