0

web technology Online Quiz - 137

Description: web technology Online Quiz - 137
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Which of the following is true about SOAP?

  1. SOAP is for HTTP only

  2. SOAP can be used in combination with any protocol that can carry a SOAP envelope

  3. All the above

  4. none of the above


Correct Option: B
  1. a. true

  2. b. false, SOAP is completely a request/response protocol

  3. c. may be

  4. d. may not be


Correct Option: A
  1. a. Use Web protocols

  2. b. Are stateless

  3. c. Are loosely coupled

  4. Use XML as the universal data format

  5. e. a and c only

  6. f. all the above


Correct Option: F
  1. The section

  2. Both the section and the section are correct

  3. The section

  4. The section


Correct Option: B

How do you create a function?

  1. function:myFunction()

  2. function myFunction()

  3. function=myFunction()

  4. function=myFunction(){ }


Correct Option: B
  1. /This comment has more than one line/

  2. /This comment has more than one line//

  3. //This is a comment


Correct Option: A,D
  1. Math.rand(10.75)

  2. Math.round(10.75)

  3. rnd(10.75)

  4. Math.rnd(10.75)


Correct Option: B
  1. statusbar = "put your message here"

  2. window.status("put your message here")

  3. window.status = "put your message here"

  4. status("put your message here")


Correct Option: C

How can you find a client's browser name?

  1. client.navName

  2. navigator.browser

  3. browser.name

  4. navigator.appName


Correct Option: D

What is the correct way to write a JavaScript array?

  1. var txt = new Array="tim","kim","jim";

  2. var txt = new Array("tim","kim","jim");

  3. var txt = new Array:1=("tim")2=("kim")3=("jim")

  4. var txt = new Array(1:"tim",2:"kim",3:"jim")


Correct Option: B

What is the syntax which will display the image on the screen for 5 seconds?

  1. setTimeout('run()','50000');

  2. setTimer('run()','5');

  3. setTimeout('run()','500');

  4. setTimeout('run()','5000');


Correct Option: D

An external JavaScript must contain the tag?

  1. True

  2. False


Correct Option: A
  1. compile time error at line1

  2. compile time error at line2

  3. The code compiles fine

  4. None of the above


Correct Option: C
  1. compiletime error at line 1

  2. forces the class car to be declared as abstract

  3. Runtime Exception

  4. None of the above


Correct Option: B
  1. Computer Style Sheets

  2. Cascading Style Sheets

  3. Creative Style Sheets

  4. Colorful Style Sheets


Correct Option: B
- Hide questions