Live Help (Start Chat)
View Count: 0
Duration: 21 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 20 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 13 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 13 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 19
1) What is the output for following code?
var v1=10;
var v2=”20”;
document.write (v1+v2); 
Options:
  1. 10
  2. 1020
  3. 30
View Answer/Explanation:
b
Explanation:

Question No: 2 of 19
2)What is document.write () method? 
Options:
  1. Writes the specified data to document
  2. Writes the text representation of specified
  3. Writes HTML expression to document
  4. All the above
View Answer/Explanation:
c
Explanation:

Question No: 3 of 19
3) If a variable is declared in local context, where it is accessible? 
Options:
  1. Accessible to all the functions
  2. Accessible to particular method
  3. Both a and b
  4. None of the above
View Answer/Explanation:
b
Explanation:

Question No: 4 of 19
4) What is the output for following code?
var v2=10;
Function Foo()
{
var v1=10;
}
 
Options:
  1. 1010
  2. 10
  3. undefined v1
  4. undefined v2
View Answer/Explanation:
c
Explanation:

Question No: 5 of 19
5) In JavaScript variable can be redeclared two times? 
Options:
  1. No
  2. Yes
View Answer/Explanation:
b
Explanation:

Question No: 6 of 19
6) What is the output for following code?
var v1=10;
Function Foo()
{
v1++;
}
 
Options:
  1. 10
  2. 2
  3. 11
  4. Compile error
View Answer/Explanation:
c
Explanation:

Question No: 7 of 19
7) Which is the correct subtype of following types? 
Options:
  1. string
  2. int
  3. number
  4. function
  5. char
View Answer/Explanation:
a c d
Explanation:

Question No: 8 of 19
8)What is the use of typeof() operator 
Options:
  1. Is used when you have name of the class
  2. Is used anywhere a typedef name could be used
  3. Is used to get the data type of its operand
  4. None of the above
View Answer/Explanation:
c
Explanation:

Question No: 9 of 19
8)What is the use of typeof() operator 
Options:
  1. Is used when you have name of the class
  2. Is used anywhere a typedef name could be used
  3. Is used to get the data type of its operand
  4. None of the above
View Answer/Explanation:
c
Explanation:

Question No: 10 of 19
9)What is the output for following code?
var v1=10;
var v2=”20”;
document.write (typeof(v1));
document.write (typeof(v2)); 
Options:
  1. number string
  2. object string
  3. boolean number
  4. number undefined
View Answer/Explanation:
a
Explanation:

  1