Ajax(Computer Science ) Questions and Answers

Question 1. A PHP program will display the name of the month when entering a number between 1 and 12 in the input form
  1.    IF
  2.    IF ... ELSE
  3.    IF - IF .. ELSE - ELSE
  4.    SWITCH
Explanation:-
Answer: Option D. -> SWITCH

Question 2. How many ready states are available in AJAX?
  1.    1
  2.    2
  3.    3
  4.    4
Explanation:-
Answer: Option D. -> 4

Question 3. Which of the following AJAX property will help us to read the response from the server?
  1.    responseText
  2.    readResponseText
  3.    getResponseText
  4.    readResponse
Explanation:-
Answer: Option A. -> responseText

Question 4. Which of the following task / tag is used to create a jar file?
Explanation:-
Answer: Option A. -> responseText

Question 5. Which of the following is true about depends attribute?
  1.    depends attribute can have a comma separated list of all targets that this target depends on.
  2.    It is an optional attribute.
  3.    Both A & B
  4.    None of the above
Explanation:-
Answer: Option C. -> Both A & B

Question 6. Which of the following will used to call a target form another target in ANT?
  1.    Tag
  2.    depends attribute in a Tag
  3.    Both A & B
  4.    None of the above
Explanation:-
Answer: Option C. -> Both A & B

Question 7. WSDL Stands for ________
  1.    Web Services Development Language
  2.    b) Web Services Design Language
  3.    None of these
  4.    Web Services Description Language
Explanation:-
Answer: Option D. -> Web Services Description Language

Question 8. Which of the following technology is not used by Ajax?
  1.    JavaScript
  2.    Document Object Model
  3.    XMLHttpRequest
  4.    Flash
Explanation:-
Answer: Option D. -> Flash

Question 9. SOAP based on
  1.    HTML
  2.    WML
  3.    XML
  4.    CSS
Explanation:-
Answer: Option C. -> XML

Question 10. UDDI Stands for
  1.    Universal Development, Design and Integration
  2.    Universal Description, Discovery and Integration
  3.    Universal Description, Development and Integration
  4.    None of these
Explanation:-
Answer: Option B. -> Universal Description, Discovery and Integration