Performance Measures(Computer Science > Javascript ) Questions and Answers

Question 1. How do we define the term Thread?
  1.    Device that controls input
  2.    Variable that controls movement
  3.    Controlled execution of applications
  4.    All of the mentioned
Explanation:-
Answer: Option C. -> Controlled execution of applications

Question 2. What does the browser do to set up a TCP/IP connection?
  1.    TCP one-way handshake
  2.    TCP two-way handshake
  3.    TCP three-way handshake
  4.    None of the mentioned
Explanation:-
Answer: Option C. -> TCP three-way handshake

Question 3. What does the handshake pass between the browser and the remote server?
  1.    Synchronize
  2.    Accept
  3.    Reject
  4.    Decline
Explanation:-
Answer: Option A. -> Synchronize

Question 4. What is the purpose of the transport layer?
  1.    TCP Communication takes place
  2.    UDP Communication takes place
  3.    Both TCP and UDP Communication takes place
  4.    None of the mentioned
Explanation:-
Answer: Option C. -> Both TCP and UDP Communication takes place

Question 5. How does the handshake help the server?
  1.    Acknowledge
  2.    Accept the attempt
  3.    Both Acknowledge and Accept the attempt
  4.    None of the mentioned
Explanation:-
Answer: Option C. -> Both Acknowledge and Accept the attempt

Question 6. What does the status code 200 indicate?
  1.    Error in request
  2.    Error in response
  3.    Error in server
  4.    Successful
Explanation:-
Answer: Option D. -> Successful

Question 7. What does the status code 500 indicate?
  1.    Error in request
  2.    Error in response
  3.    Error in server
  4.    Successful
Explanation:-
Answer: Option A. -> Error in request

Question 8. What does the application layer handle?
  1.    Top-level communication
  2.    Bottom-level communication
  3.    Both Top-level and Bottom-level communication
  4.    None of the mentioned
Explanation:-
Answer: Option A. -> Top-level communication

Question 9. Which status code indicates that the server could not find the resource requested?
  1.    200
  2.    404
  3.    500
  4.    566
Explanation:-
Answer: Option B. -> 404

Question 10. What is the maximum size of an IP packet for IPv4 or IPv6?
  1.    65540
  2.    65535
  3.    65577
  4.    67544
Explanation:-
Answer: Option B. -> 65535