0

web technology Online Quiz - 88

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

Which of the following is NOT a type of popup box.

  1. Alert

  2. Confirm

  3. Radio

  4. Text


Correct Option: C

To keep the browser from performing a script as soon as it is loaded you need to write the script as a what ?

  1. function

  2. delay

  3. performance

  4. Flexibility


Correct Option: A

In JavaScript, capital letters are different from lowercase letters ?

  1. Not on windows platforms

  2. Yes

  3. No

  4. Not on Linux Platform


Correct Option: B

Which is detected when the mouse moves over a link ?

  1. overMouse event

  2. onMouseOver event

  3. onRollOver event

  4. OnMouseOut event


Correct Option: B
  1. stringName.charAt(0);

  2. stringName.substring(1);

  3. stringName.charAt(1);

  4. stringName.charAt(2);


Correct Option: A
  1. alert("hello "+3+" times);

  2. alert("hello "+3 times);

  3. alert("hello +3+ times");

  4. alert("hello "+3 +" times);


Correct Option: C
  1. popUp(PageURL,WindowName,settings);

  2. window.launch(PageURL,WindowName,settings);

  3. window.close(PageURL,WindowName,settings);

  4. window.open(PageURL,WindowName,settings);


Correct Option: D

Which method is used to search for a substring ?

  1. stringVariable.substring(subString)

  2. stringVariable.find(subString)

  3. stringVariable.indexOf(subString)

  4. stringVariable.indexOf(charAt(0))


Correct Option: C

What is the correct JavaScript syntax to write "Hello World"?

  1. Hello World"

  2. document.write("Hello World")

  3. response.write("Hello World")

  4. ("Hello World")


Correct Option: B
  1. method

  2. function

  3. statement

  4. operator


Correct Option: D

Which among the below are the best defences against XSS? Select 2 answers

  1. Use HTTPS only cookie

  2. Output Encoding

  3. Data Validation

  4. Use HTTPS protocol


Correct Option: B,C

does Maruti 800 has Differential

  1. yes

  2. no

  3. question is wrong

  4. may be


Correct Option: B
  1. RasmusLerdorf

  2. Dennis Ritchie

  3. Bjarne Stroutsup

  4. Dennis Mitchell


Correct Option: B
  1. static testing requires the running of tests through the code

  2. static testing includes desk checking

  3. static testing includes techniques such as reviews and inspections

  4. static testing can give measurements such as cyclomatic complexity


Correct Option: A
- Hide questions