Tag: web technology

Questions Related to web technology

5.How do you call a function named "myFunction"?

  1. myFunction()

  2. call myFunction()

  3. call function myFunction

  4. function myFunction

Answer: 1

6.How do you write a conditional statement for executing some statements only if "i" is equal to 5?

  1. if (i==5)

  2. if i=5

  3. if i=5 then

  4. if i==5 then

Answer: 1

7.How does a "for" loop start?

  1. for (i = 0; i <= 5; i++)

  2. for i = 1 to 5

  3. for (i <= 5; i++)

  4. for (i = 0; i <= 5)

Answer: 1

8.How can you add a comment in a JavaScript?

  1. 'This is a comment

  2. <!--This is a comment-->

  3. //This is a comment

  4. "This is a comment

Answer: 1

9.How do you round the number 7.25, to the nearest whole number?

  1. Math.round(7.25)

  2. round(7.25)

  3. rnd(7.25)

  4. Math.rnd(7.25)

Answer: 1

10.How do you find the largest number of 2 and 4?

  1. Math.ceil(2,4)

  2. Math.max(2,4)

  3. top(2,4)

  4. ceil(2,4)

Answer: 4

3.How do you write "Hello World" in an alert box?

  1. alertBox="Hello World"

  2. alertBox("Hello World")

  3. alert("Hello World")

  4. msgBox("Hello World")

Answer: 3

Which of the following problems is not intented to be solved by WebServices?

  1. Interoperability

  2. User Interface

  3. Complexity

  4. Firewall traversal

Answer: 2

A SOAP Envelope contains Head, Title and Body

  1. True

  2. False

Answer: 2

UDDI stands for:

  1. Unified Description, Discovery and Integration

  2. Unified Discovery, Description and Intelligence

  3. Universal Description, Discovery and Integration

  4. Universal Discovery, Description and Integration

Answer: 3