Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

CNS Gate Mod1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

ST JOSEPH ENGINEERING COLLEGE, MANGALURU

MODULE -1 GATE QUESTIONS

Semester and Section: V / A, B, C Date: 30-10-2021


Subject: Computer Networks and Security USN: Name:
Subject Code: 18CS52 USN: Name:

Note: Circle the appropriate answer

1. The protocol data unit (PDU) for the application layer in the Internet stack is
a. Segment b. Datagram c. Message d. Frame

2. Consider different activities related to email:


m1: Send an email from a mail client to a mail server
m2: Download an email from mailbox server to a mail client
m3: Checking email in a web browser

a) m1: HTTP m2: SMTP m3: POP


b) m1: SMTP m2: FTP m3: HTTP
c) m1: SMTP m2: POP m3: HTTP
d) m1: POP m2: SMTP m3: IMA

3. What is the maximum size of data that the application layer can pass on to the TCP layer below?
a) Any size
b) 216 bytes - size of TCP header
c) 216 bytes
d) 1500 bytes

4. Identify the correct order in which the following actions take place in an interaction between a web
browser and a web server.
1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.

a) 4,2,1,3
b) 1,2,3,4
c) 4,1,2,3
d) 2,4,1,3

5. A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage
from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S.
Assuming no caching, which one of the following is correct about the HTML webpage loading (including
the embedded image)?
a) Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP
connection to server S
b) Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is
sufficient
c) A single HTTP request from Q to S is sufficient, and a single TCP connection between
Q and S is necessary for this
d) A single HTTP request from Q to S is sufficient, and this is possible without any TCP
connection between Q and S

6. In one of the pairs of protocols given below, both the protocols can use multiple TCP connections
between the same client and the server. Which one is that?
a) HTTP, FTP
b) HTTP, TELNET
c) FTP, SMTP
d) HTTP, SMTP

7. Which one of the following statements is NOT correct about HTTP cookies?
a) A cookies is a piece of code that has the potential to compromise the security of an
Internet user
b) A cookie gains entry to the user’s work area through an HTTP header
c) A cookie has an expiry date and time
d) Cookies can be used to track the browsing pattern of a user at a particular site

8. An application layer is an abstraction layer that specifies the shared communications protocols and
interface methods used by hosts in a communications network. Consider the following statements
regarding various application layer protocols:
(S1): DNS uses the Transmission Control Protocol (TCP) as transport protocol.
(S2): Domain Name System (DNS) is Networking support protocol which uses User Datagram Protocol
(UDP) as transport protocol.
(S3): Simple Mail Transfer Protocol (SMTP) is a Remote host management protocol which is used to
manage network core devices

Which of the following option is true?


a) Only (S1) and (S2) are not correct.
b) Only (S1) and (S3) are not correct.
c) Only (S2) and (S3) are not correct.
d) All statements (S1), (S2), and (S3) are correct

9. Which of the following is/are example(s) of stateful application layer protocols?


(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3

a) (i) and (ii) only


b) (ii) and (iii) only
c) (ii) and (iv) only
d) (iv) only

10. Which one of the following uses UDP as the transport protocol?
(a) HTTP (c) DNS
(b) Telnet (d) SMTP

You might also like