Contents

Why is JavaScript usually used for form validation?
a) most server side processing                          
b) no other language contain similar tools
c) processing before form submission
d) JavaScript not used for validation

c

How does the getDay () method of data object return information?
a) represent by text string  
b) represent by number
c) day of current month
d) none of these

b

Which method can you use to clear a repeating loop of actions?
a) set Interval()   
b) set Timeout()
c) clear Interval()              
d) clear Timeout ()

c

Which method can you use to create a repeating loop of actions?
a) set Interval()  
b) set Timeout()
c) clear Interval()
d) to Local String ()

a

In the statement var myAr=new Array (30), what does number 30 represent?
a) value assign to first element                        
b) number of elements in array
c) number of dimensions  
d) all of these

b

Which value is returned by Index Of () method if search is not successful?
a) 0                                                        
b) -1
c) undefined                        
d) code 3

b