html

3
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?

Upload: shohan-ahmed

Post on 15-Jul-2015

1.415 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Html

Which from the below options best describes void?

Select an answerA. A methodB. A functionC. A statement*D. An operator*

What will be the output of the following command?

parseFloat(9+10)=?

Select an answerA. 19B. 910C. 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 answerA. InterfaceB. Short*C. ProgramD. Throws

Choose the external object.

Select an answerA. DateB. OptionC. Layer*D. Checkbox

Which option is not considered a JavaScript operator?

Select an answerA. new*B. ThisC. deleteD. 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?

Page 2: Html

Math. round(-20.51)=?

Select an answerA. 20*B. -21C. 19D. 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 answerA. To process data before you pass it on to another function&B. To decrease the number of functions used in codeC. To overwrite variables that you want to keep updatedD. 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 answerA. Functions nested in the constructor codeB. Functions in a related objectC. 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 __________.

Page 3: Html

Select an answerA. Perform case-sensitive matching*B. Perform case-insensitive matchingC. Perform both case-sensitive and case-insensitive matchingD. None of the options are correct

Which of these is not a method of the Math object?

Select an answerA. atan()B. atan2()*C. eval()D. acos()

What are self ending tags?

Select an answerA. Tags where ending is pre-defined*B. Tags where ending is defined automaticallyC. Tags where there is no endingD. None of the options are correct