際際滷

際際滷Share a Scribd company logo
Which from the below options best describes void?
Select an answer
A. A method
B. A function
C. A statement
*D. An operator*
What will be the output of the following command?
parseFloat(9+10)=?
Select an answer
A. 19
B. 910
C. 90
*D. None of the options are correct
-------------- method is used to remove focus from the specified object.
Select an answer
*A. blur()
B. focus()
C. None of the options are correct
Which is not a reserved word?
Select an answer
A. Interface
B. Short
*C. Program
D. Throws
Choose the external object.
Select an answer
A. Date
B. Option
C. Layer
*D. Checkbox
Which option is not considered a JavaScript operator?
Select an answer
A. new
*B. This
C. delete
D. typeof
Which of these is not a valid HTML?
Select an answer
*A. <fontface="verdana">
B. <font face="verdana">
C. <font face="verdana,script">
D. None of the options are correct
What will be the output of the following command?
Math. round(-20.51)=?
Select an answer
A. 20
*B. -21
C. 19
D. None of the options are correct
What are the main uses of anonymous functions in JavaScrip? Choose all that
apply.
(Please select ALL that apply)
Select an answer
A. To process data before you pass it on to another function
&B. To decrease the number of functions used in code
C. To overwrite variables that you want to keep updated
D. To actively define the scope of a variable inside a function
You are required to write a robust program in a limited period of time. What are
the advantages of using JavaScript? Choose all that apply.
(Please select ALL that apply)
Select an answer
*A. You can create a class or object that builds on the functionality of
another class or object
*B. You can apply changes in one class or object to all descendant
classes or objects to reduce development time
*C. You can create a user-defined interface to hide implementation code
from external code
*D. You can re-use the code for routines in one class or object in an
unrelated class or object
Consider the following JavaScript code:
function Product()
{varproductNo = "1";)
Which code can access+D97 the variable defined? Choose all that apply.
Select an answer
A. Functions nested in the constructor code
B. Functions in a related object
C. Objects created by the Product object
In Javascript, which of the following method is used to evaluate the regular
expression?
Select an answer
*A. eval(2*(3+5))
B. evaluate(2*(3+5))
C. evalu(2*(3+5))
D. None of the options are correct
JavaScript RegExp Object has modifier 'i' to __________.
Select an answer
A. Perform case-sensitive matching
*B. Perform case-insensitive matching
C. Perform both case-sensitive and case-insensitive matching
D. None of the options are correct
Which of these is not a method of the Math object?
Select an answer
A. atan()
B. atan2()
*C. eval()
D. acos()
What are self ending tags?
Select an answer
A. Tags where ending is pre-defined
*B. Tags where ending is defined automatically
C. Tags where there is no ending
D. None of the options are correct

More Related Content

Html

  • 1. Which from the below options best describes void? Select an answer A. A method B. A function C. A statement *D. An operator* What will be the output of the following command? parseFloat(9+10)=? Select an answer A. 19 B. 910 C. 90 *D. None of the options are correct -------------- method is used to remove focus from the specified object. Select an answer *A. blur() B. focus() C. None of the options are correct Which is not a reserved word? Select an answer A. Interface B. Short *C. Program D. Throws Choose the external object. Select an answer A. Date B. Option C. Layer *D. Checkbox Which option is not considered a JavaScript operator? Select an answer A. new *B. This C. delete D. typeof Which of these is not a valid HTML? Select an answer *A. <fontface="verdana"> B. <font face="verdana"> C. <font face="verdana,script"> D. None of the options are correct What will be the output of the following command?
  • 2. Math. round(-20.51)=? Select an answer A. 20 *B. -21 C. 19 D. None of the options are correct What are the main uses of anonymous functions in JavaScrip? Choose all that apply. (Please select ALL that apply) Select an answer A. To process data before you pass it on to another function &B. To decrease the number of functions used in code C. To overwrite variables that you want to keep updated D. To actively define the scope of a variable inside a function You are required to write a robust program in a limited period of time. What are the advantages of using JavaScript? Choose all that apply. (Please select ALL that apply) Select an answer *A. You can create a class or object that builds on the functionality of another class or object *B. You can apply changes in one class or object to all descendant classes or objects to reduce development time *C. You can create a user-defined interface to hide implementation code from external code *D. You can re-use the code for routines in one class or object in an unrelated class or object Consider the following JavaScript code: function Product() {varproductNo = "1";) Which code can access+D97 the variable defined? Choose all that apply. Select an answer A. Functions nested in the constructor code B. Functions in a related object C. Objects created by the Product object In Javascript, which of the following method is used to evaluate the regular expression? Select an answer *A. eval(2*(3+5)) B. evaluate(2*(3+5)) C. evalu(2*(3+5)) D. None of the options are correct JavaScript RegExp Object has modifier 'i' to __________.
  • 3. Select an answer A. Perform case-sensitive matching *B. Perform case-insensitive matching C. Perform both case-sensitive and case-insensitive matching D. None of the options are correct Which of these is not a method of the Math object? Select an answer A. atan() B. atan2() *C. eval() D. acos() What are self ending tags? Select an answer A. Tags where ending is pre-defined *B. Tags where ending is defined automatically C. Tags where there is no ending D. None of the options are correct