0% found this document useful (0 votes)
171 views7 pages

Network Lab MCQ

1. The document contains 15 multiple choice questions about networking concepts like TCP/IP protocols, ports, sockets, and network tools. Some of the questions test knowledge of tools like tcpdump, netstat, ping, traceroute, ifconfig, and nslookup. Other questions cover protocols like TCP, UDP, IP, ARP, DNS, FTP, SMTP, and layers of the OSI model. 2. The questions assess understanding of concepts like sockets, port numbers, protocol values, network addressing, error/flow control, and functions of common network tools and protocols. 3. The document is a set of practice questions for a networking lab exam focused on TCP/IP protocols, network tools, and related networking

Uploaded by

5006 Abinesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views7 pages

Network Lab MCQ

1. The document contains 15 multiple choice questions about networking concepts like TCP/IP protocols, ports, sockets, and network tools. Some of the questions test knowledge of tools like tcpdump, netstat, ping, traceroute, ifconfig, and nslookup. Other questions cover protocols like TCP, UDP, IP, ARP, DNS, FTP, SMTP, and layers of the OSI model. 2. The questions assess understanding of concepts like sockets, port numbers, protocol values, network addressing, error/flow control, and functions of common network tools and protocols. 3. The document is a set of practice questions for a networking lab exam focused on TCP/IP protocols, network tools, and related networking

Uploaded by

5006 Abinesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

CS 8581 Network Lab MCQ Questions

1. Tcpdump () is used for


a. Dumping the contents
b. Provides description about the packet contents
c. Closes the tcp connection
d. Resets the tcp connection

2. By default, netstat () displays


a. List of open sockets
b. Error statistics
c. Open network details
d. To configure a network

3. The reachability of a server can be checked by


a. Traceroute
b. Echo
c. Ping
d. Clock

4. Socket is a combination of
a. IP address and MAC address
b. MAC address and port number
c. IP address and port number
d. Network address and port number

5. Address Resolution Protocol converts


a. IP address to Network address
b. Network address to IP address
c. MAC address to IP address
d. IP address to MAC address

6. The parameters present in a Socket () call are


a. Family, IP address, Port number
b. Family, Socket type, Protocol value
c. IP address, Socket type, Protocol value
d. Family, Socket type, port number
7. In socket programming the created socket in type casted to
a. IP v4 socket address structure
b. IP v6 socket address structure
c. Generic socket address structure
d. Network socket address structure

8. Type casting is performed in which socket calls


a. Socket (), Bind (), Connect ()
b. Socket (), Accept (), Bind ()
c. Socket (), Accept (), Connect ()
d. Bind (), Accept (), Connect ()

9. The Backlog parameter in Listen () call indicates


a. Maximum client requests that can be accepted by server
b. Maximum server requests that can be accepted by client
c. Maximum child sockets that can be created by server
d. Maximum child sockets that can be accepted by client

10. FTP stands for


a. File Transfer Protocol
b. File Terminal Protocol
c. File Telnet Protocol
d. File Transfer Program

11. DNS stands for


a. Domain Name Protocol
b. Domain Name System
c. Domain Name Site
d. Domain Number System

12. CRC is used to


a. Correct Error
b. Detect Error
c. Induce Error
d. Detect as well as Correct error.

13. Port number of HTTP is


a. 25
b. 80
c. 54
d. 20
14. The protocols present in Transport Layer of TCP / IP protocol suit are
a. IP, HTTP
b. IP, ICMP, IGMP, ARP
c. TCP, UDP
d. TCP, UDP, SCTP

15. Choose the Application layer protocol from the below


a. IP
b. TCP
c. SMTP
d. ARP

1. IFConfig () displays
a. IP Address
b. IP Address, DNS details
c. All active interfaces
d. IP Address, Port numbers

2. Nslookup () interacts with


a. List of open sockets
b. Domain Name Servers
c. Any open server
d. Web server

3. The path to be taken by an applications packet can be checked by


a. Traceroute
b. Echo
c. Ping
d. Clock

4. The four entities that make up an end to end socket are


a. IP address, port number, MAC address and interface address
b. Source IP, Source Port number, Destination IP and Destination port number
c. Source Port number, Source MAC, Destination port number and Destination MAC
d. Source Network address, Source port number, Dest. Network Address and Dest. Port number
5. Reverse Address Resolution Protocol converts
a. IP address to Network address
b. Network address to IP address
c. MAC address to IP address
d. IP address to MAC address

6. The three types of sockets are


a. TCP, UDP, ICMP
b. TCP, SCTP, UDP
c. UDP, SCTP, Raw
d. TCP, UDP, Raw

7. A chosen IP address is linked to a port number through


a. Connect ()
b. Accept ()
c. Listen ()
d. Bind ()

8. MAC address is dealt in which layer


a. Transport layer
b. Network layer
c. Data link layer
d. Physical layer

9. Internet follows
a. Message switching
b. Circuit switching
c. Packet switching
d. Data switching

10. SMTP stands for


a. Small Mail Transfer Protocol
b. Simple Mail Transfer Protocol
c. Simple Message Transfer Protocol
d. Small Message Transfer Protocol

11. DNS performs


a. Mapping from MAC to IP
b. Mapping from IP to MAC
c. Mapping from IP to Domain name
d. Mapping from Domain name to IP
12. Flow control takes place at
a. Physical layer and Data link layer.
b. Data link layer and Network layer
c. Data link layer and Transport layer
d. Network layer and Transport layer.

13. Port number of SMTP is


a. 25
b. 80
c. 54
d. 20

14. The protocols present in Internet Layer of TCP / IP protocol suit are
a. IP, HTTP
b. IP, ICMP, IGMP, ARP
c. TCP, UDP
d. TCP, UDP, SCTP

15. Choose the Application layer protocol from the below


a. IP
b. TCP
c. HTTP
d. ARP

1. Ping output contains


a. IP Address, data, ttl, time
b. Name of server, IP Address, DNS details
c. IP Address, port number, time
d. IP Address, data, sequence number, ttl, time

2. IF Config -a displays
a. List of open sockets
b. Status of all open interfaces
c. Any open server
d. Web server
3. The server which just resends whatever it receives is called
a. Traceroute server
b. Echo server
c. Ping server
d. Clock server

4. The value of protocol parameter in TCP socket call is


a. 1
b. 2
c. 0
d. 3

5. RARP stands for


a. Right Address Right Protocol
b. Reverse Address Reverse Protocol
c. Reverse Address Resolution Protocol
d. Resolution Address Reverse Protocol

6. Which type of socket has a value for protocol parameter


a. TCP
b. UDP
c. Raw
d. HTTP

7. Client connection is accepted by server through


a. Connect ()
b. Accept ()
c. Listen ()
d. Bind ()

8. IP address is dealt in which layer


a. Transport layer
b. Network layer
c. Data link layer
d. Physical layer

9. Data transfer is best suited through


a. Message switching
b. Circuit switching
c. Packet switching
d. Data switching
10. TELNET stands for
a. Telephone Network
b. Terminal Network
c. Telephonic Network
d. Terminal Remote Network

11. Inverse DNS performs


a. Mapping from MAC to IP
b. Mapping from IP to MAC
c. Mapping from IP to Domain name
d. Mapping from Domain name to IP

12. Error control takes place at


a. Physical layer and Data link layer.
b. Data link layer and Network layer
c. Data link layer and Transport layer
d. Network layer and Transport layer.

13. Port number of FTP is


a. 25
b. 80
c. 54
d. 20, 21

14. Congestion occurs at


a. Application layer
b. Data link layer
c. Network layer
d. Transport layer

15. Choose the Application layer protocol from the below


a. IP
b. TCP
c. TELNET
d. ARP

You might also like