Practice Test: Question Set - 01
1. Which brackets is used to write array in java script?
- (A) Curve
bracket
- (B) Square
bracket
- (C) Curly
bracket
- (D) Corner
bracket
2. How many types of error are there in JavaScript programming?
- (A) 3
- (B) 4
- (C) 6
- (D) 8
3. What is the full form of BOM?
- (A) Browser
Object Method
- (B) Browser
Object Model
- (C) Browser
Oriented Method
- (D) Browser
Oriented Model
4. Which one enables the hosting providers to manage multiple domains on a single server?
- (A) Network
server
- (B) SQL server
- (C) Web server
- (D) Database
server
5. What is the purpose of Initialization part in ’for’ loop?
- (A) Exit the
loop
- (B) Evaluate the
condition
- (C) Increase or
decrease the initial variable
- (D) Initiate the
variable
6. Which statement is used to execute code after try and catch?
- (A) Finally
- (B) Syntax error
- (C) Throw
- (D) Type error
7. What is the purpose of length property in array?
- (A) Returns
number of array element
- (B) Returns
number of characters
- (C) Returns
number of fields in object array
- (D) Returns
number of highest array index
8. Which variable works as function argument in java script?
- (A) Function
variable
- (B) Global
variable
- (C) Local
variable
- (D) Object
variable
9. Which is an instance of class?
- (A) Class
- (B) Name space
- (C) Object
- (D) Property
10. Which property is used to transfer files from one host to another host over internet?
- (A) IP
- (B) FTP
- (C) HTTP
- (D) SMTP
11. What is the output of the following JavaScript code?
var x = ” ITI
“;
var y = “
GOVT “;
var o = y
concat(x)
document.write(o);
12. Which is a statement terminator in JavaScript?
13. Which is a valid js code to sort element of an array tracle?
Show and hide multiple DIV using JavaScript
View All Answers
Next Tests:
- (A) ITI GOVT
- (B) ITIGOVT
- (C) GOVTITI
- (D) GOVT ITI
12. Which is a statement terminator in JavaScript?
- (A) ","
- (B) ";"
- (C) ":"
- (D) ".
."
13. Which is a valid js code to sort element of an array tracle?
- (A) Trade.sort:
- (B) Trade.sort();
- (C) Sort.trade();
- (D) Sort.(trade);
Next Tests: