Application Layer MCQ | Computer Network

Computer Network MCQ

Welcome to Computer Networking MCQ; This portion of Computer Network contains Computer Networking Application Layer MCQ. Hope you already read Computer Networking Basic MCQ, Here we specially focus on Application Layer; you can get more then 100+ Multiple Choice Question (MCQ).

1. In a client-server paradigm, a _______ program provides services to a (another) _______ program

  1. client; client
  2. client; server
  3. server; client
  4. server; server

2. In a client-server paradigm

  1. both the server and the client must be running all the time.
  2. both the server and the client need to be running only when they are needed.
  3. the server must be running all the time but the client needs to be running only when it is needed.
  4. the client must be running all the time but the server needs to be running only when it is needed

3. The first section of a URL identifier is the __________.

  1. protocol
  2. path
  3. host
  4. port

4. A _______ document is a fixed-content document that is created and stored in a server. The client can get a copy of the document only

  1. static
  2. dynamic
  3. active
  4. None of the choices are correct

5. ._____________ is a language for creating a static document

  1. Extensible Style Language (XSL)
  2. Hypertext Markup Language (HTML)
  3. Extensible Markup Language (XML)
  4. All choices are correct

6. A _______ document is created by a Web server whenever a browser requests the document

  1. static
  2. dynamic
  3. active
  4. None of the choices are correct

7. For many applications, we need a program or a script to be run at the client site. These are called _______________ documents

  1. static
  2. dynamic
  3. active
  4. None of the choices are correct

8. HTTP uses the services of _________

  1. UDP
  2. IP
  3. TCP
  4. DNS

9. In HTTP, the first line in a request message is called a _______ line; the first line in the response message is called the ________ line

  1. request; response
  2. status; response
  3. status; status
  4. None of the choices are correct

10. In a ___________ connection, one TCP connection is made for each request/response.

  1. persistent
  2. non-persistent
  3. persistent or a non-persistent
  4. None of the choices are correct

11. In a ___________ connection, the server leaves the connection open for more requests after sending a response.

  1. persistent
  2. non-persistent
  3. persistent or non-persistent
  4. None of the choices are correct

12. In HTTP, _______ server is a computer that keeps copies of responses to recent requests.

  1. a regular
  2. a proxy
  3. an auxiliary
  4. a remote

13. An HTTP request message always contains _______.

  1. a header line and a body
  2. a request line and a header line
  3. a request line, a header line, and a body
  4. a request line, a header line, a blank line, and a body

14. Which of the following is present in both an HTTP request line and a status line?

  1. version number
  2. URL
  3. status code
  4. method

15. FTP uses the services of ________.

  1. UDP
  2. IP
  3. TCP
  4. none of the choices are correct

Leave a Reply

Your email address will not be published. Required fields are marked *