Contents

A loop within a loop is called……
a) nested loop                     
b) complex loop
c) outer loop                        
d) inner loop

a

The loop which never ends is called……
a) infinite loop   
b) running loop
c) continuous loop              
d) both a & c

a

A JavaScript procedure that performs a specific task is called……
a) syntax                                              
b) function
c) operator                           
d) event

b

In JavaScript, a function is an……
a) procedure                        
b) building blocks
c) object                                               
d) both a & b

d

Which part of program JavaScript function definition appear?
a) only in <head>               
b) only in <body>
c) in <head> or <body>    
d) none of these

c

A JavaScript user-define function name may not contain any……
a) spaces                                              
b) punctuations
c) reserve words  
d) all of these

d