Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz on Computer Networks

Total questions: 137

Worksheet time: 1hrs 14mins

Name
Class
Date
1.

Which of following protocol is HTTP built upon?

a)

TCP

b)

UDP

c)

IP

d)

ICMP

2.

Which of the following requirements are necessary for packet networks to support multiple and diverse applications?

a)

Transfer arbitrary message size

b)

All of the mentioned

c)

Low delay for interactive applications

d)
3.

What was the concern of the telephone system that motivated the ARPANET design?

a)

Vulnerability

b)

Scalability

c)

Efficiency

d)

None of the mentioned

4.

Which of the following is an application layer protocol?

a)

DNS

b)

HTTP

c)

UDP

d)

TCP

5.

Which of the following are features of ARPANET design?

a)

All of the mentioned

b)

Connectionless packet transmission

c)

Routing tables at the packet switches

d)

Destinations identified by unique addresses

6.

Bluetooth is an example of _____

a)

Local Area Network

b)

Personal Area Network

c)

Wide Area Network

d)

Metropolitan Area Network

7.

In the layer hierarchy as the data packet moves from the upper to the lower layers, headers are _____

a)

Added

b)

Rearranged

c)

Removed

d)

Modified

8.

The _____ is the physical path over which a message travels.

a)

Path

b)

Medium

c)

Route

d)

Protocol

9.

Three or more devices share a link in _____ connection.

a)

Multipoint

b)

Unipoint

c)

Point to Point

d)

None of the mentioned

10.

Which of the following is true for Transport Control Protocol?

a)

Process to process

b)

Connection oriented

c)

Transport layer protocol

d)

Connectionless

11.

In a LAN, which address is used to transfer frames to appropriate destination?

a)

Physical address

b)

IP address

c)

Domain name

d)

None of the mentioned

12.

Suppose an application layer entity wants to send an L-byte message to its peer process, using an existing TCP connection. The TCP segment consists of the message plus 20 bytes of header. The segment is encapsulated into an IP packet that has an additional 20 bytes of header. The IP packet in turn goes inside an Ethernet frame that has 18 bytes of header and trailer. What is the bandwidth utilization in terms of the percentage of the transmitted bits in the physical layer corresponds to message information if L = 500 bytes?

a)

100%

b)

70%

c)

80%

d)

90%

13.

Of the following services, which service(s) does the IP layer provide?

a)

None of the mentioned

b)

Error control

c)

Flow control

d)

Connection-based data transfer

14.

Which of the following is true about the ways in which the OSI reference model and TCP/IP reference model differ?

a)

They differ in the number of layers

b)

All of the mentioned

c)

TCP/IP model does not have presentation layer, but OSI model has

d)

TCP/IP model does not have session layer, but OSI model has

15.

Which of the following statements is true about how the data link layer and transport layer differ?

a)

Data link layer is concerned with framing and the transport layer is not

b)

Data link layer is concerned with flow control and the transport layer is not

c)

Data link layer is concerned with multiplexing and the transport layer is not

d)

All of the mentioned

16.

This layer is an addition to OSI model?

a)

Application layer

b)

Presentation layer and Session layer

c)

Presentation layer

d)

Session layer

17.

The functionalities of presentation layer includes _____

a)

All of the mentioned

b)

Data compression

c)

Data encryption

d)

Data decryption

18.

In BSD socket API, which call is usually used for transmitting data in the connectionless mode?

a)

Accept()

b)

Sendto()

c)

Connect()

d)

None of the mentioned

19.

Which of following statement about TCP/UDP sockets is wrong?

a)

TCP is faster than UDP

b)

TCP socket is stream oriented

c)

UDP socket is block oriented

d)

All of the mentioned

20.

Which of following are commonly used as digital communication medium?

a)

Twisted pair

b)

All of the mentioned

c)

Coaxial cable

d)

Optical fiber

21.

Consider a network link that has distance of 100 meters, and signal traverses at the speed of light in cable 2.5x10^8 meters per second. The link has transmission bandwidth of 100 megabits/second (100x10^6 bits per second). The packet size is 400 bits. What is the signal propagation delay?

a)

4x10^-19 seconds

b)

4x10^-6 seconds

c)

4x10^-7 seconds

d)

None of the mentioned

22.

An API allows application programs to access certain resources through a predefined interface?

a)

False

b)

True

23.

In transport protocol, which of the following statements is true for User Data Protocol?

a)

It enables best-effort connectionless transfer of individual block of information.

b)

It enables connection-oriented reliable transfer of individual block of information

c)

It enables best-effort connectionless reliable transfer of a stream of bytes

d)

None of the mentioned

24.

Which of the following sentences are true for connectionless stream mode of service? (choose 3)

a)

Multiple write/read between peer processes

b)

Send/receive to/from multiple peer processes

c)

No setup overhead and delay

d)

Destination address with each block

25.

In transmission delay, in order to reduce the number of bits in a message we use data compression.

a)

True

b)

False

26.

Which of the following is true of data compression algorithms? (choose 3)

a)

Modify data headers

b)

Recover information approximately

c)

Recover original information exactly

d)

Represent the information using fewer bits

27.

Which of the following networks use store-and-forward switching operation? (choose 2)

a)

Computer networks

b)

Telegraph networks

c)

Telephone networks

d)

Wireless networks

28.

There are similarities between message switching and packet switching. Which of the following that applies to packet switching but not to message switching?

a)

Variable length of information block

b)

Supporting multiple applications

c)

Store-and-forward

d)

All of the mentioned

29.

Which of the following networks can be connection-oriented? (choose 2)

a)

Computer networks

b)

Telephone networks

c)

Telegraph networks

d)

All of the mentioned

30.

A protocol is a set of precise and unambiguous rules that governs.

a)

How two or more communicating entities in a layer are to interact

b)

All of the mentioned

c)

Messages that can be sent and received

d)

Actions that are to be taken when a certain event occurs

31.

DNS is a domain-name service that responds to queries of domain name to IP address or IP address to domain name. DNS uses services provided by _____

a)

UDP

b)

TCP

c)

HTTP

d)

None of the mentioned

32.

A network used to join the individual networks at different sites into one extended network is called _____

a)

LAN

b)

VPN

c)

PAN

d)

SAN

33.

Upon receipt of a bad segment, UDP?

a)

It does not do flow and error control

b)

Retransmission

c)

It does error control

d)

It does flow control

34.

Which OSI layer is responsible for providing end-to-end communication with reliable service?

a)

Session layer

b)

Transport layer

c)

Network layer

d)

Data link layer

35.

Which OSI layer is responsible for dividing the transmitted bit stream into frames?

a)

Data link layer

b)

Application layer

c)

Network layer

d)

Transport layer

36.

Which OSI layer is responsible for determining which route through the network to use?

4 lines
37.

Which layer is responsible for transmitting bit stream into frames?

a)

Data link layer

b)

Application layer

c)

Network layer

d)

Transport layer

38.

Which OSI layer is responsible for determining which route through the network to use?

a)

Data link layer

b)

Network layer

c)

Transport layer

d)

None of the mentioned

39.

Which feature does the data link layer and transport layer have in common?

a)

Flow control

b)

Congestion control

c)

All of the mentioned

d)

Medium access control

40.

Which protocol glues the network of networks together as the Internet?

a)

TCP

b)

IP

c)

UDP

d)

None of the mentioned

41.

Which of the following applications would you select TCP protocol for? (choose 2)

a)

Web browsing

b)

File transfer

c)

Domain name service

d)

None of the mentioned

42.

In BSD socket API, which type of socket is used to create a TCP socket?

a)

SOCK_RAW

b)

SOCK_STREAM

c)

SOCK_DGRAM

d)

None of the mentioned

43.

In BSD socket API, which type of socket is used to create a UDP socket?

a)

SOCK_DGRAM

b)

SOCK_STREAM

c)

SOCK_RAW

d)

None of the mentioned

44.

In BSD socket API, which system call is used to assign a network address to the socket?

a)

None of the mentioned

b)

Bind()

c)

Connect()

d)

Listen()

45.

In BSD socket API, if a client knows the server name but not the server's network address, what system call should the client use to get server's network address?

a)

Gethostbyname()

b)

Connect()

c)

None of the mentioned

d)

Gettimeofday()

46.

In a transmission system, which of the following statements is true for a receiver? (choose 2)

a)

Converts information into signal suitable for transmission

b)

Receives energy from medium

c)

Converts received signal into a form suitable for delivery to user

d)

All of the mentioned

47.

In digital transmission, long distance digital communications require the use of a generator to recover original data sequence and re-transmits on next segment.

a)

True

b)

False

48.

In twisted pair, a category 5 UTP cable can support a data rate of up to 16 MHz

a)

True

b)

False

49.

Which of the following statements is true for optical fiber?

a)

All of the mentioned

b)

Plentiful bandwidth for new services

c)

Dominates long distance transmission

d)

Distance less of a cost factor in communications

50.

Which of the following are advantages of optical fiber? (choose 2)

a)

Extremely low bandwidth

b)

No corrosion

c)

Noise immunity

d)

Wavelength dependency

51.

Consider a network link that has distance of 100 meters, and signal traverses at the speed of light in cable 2.5x10^18 meters per second. The link has transmission bandwidth of 100 megabits/second (100x10^6 bits per second). The packet size is 400 bits. What is the packet transmission delay?

a)

4x10^-7 seconds

b)

None of the mentioned

c)

4x10^-6 seconds

d)

4x10^-9 seconds

52.

Given a 7-bit information frame (0, 1, 0, 1, 1, 0, 1), what is the even parity bit?

a)

1

b)

0

c)

None of the mentioned

d)

01

53.

Which of the following statements are true for single-bit parity error detection? (choose 2)

a)

It can detect all triple bit errors in an information frame

b)

It can detect all single bit errors in an information frame

c)

It can detect all double bit errors in an information frame

d)

None of the mentioned

54.

Which of the following statements are true for two-dimensional parity error detection?

a)

It can detect all single bit errors in an information frame

b)

All of the mentioned

c)

It can detect all double bit errors in an information frame

d)

It can correct all single bit errors in an information frame

55.

Assume bit errors occur at random. If each bit has 50% probability to be in error by transmission. What is the probability of a four-bit frame to be in error by transmission?

a)

1/4

b)

1/8

c)

1/16

d)

None of the mentioned

56.

What is the binary sequence that corresponds to polynomial code x^3 + x^2 + 1?

a)

111

b)

1110

c)

0111

d)

1101

57.

Block codes are generated using _____.

a)

Generator matrix

b)

Generator polynomial

c)

Both of the mentioned

d)

None of the mentioned

58.

Which of the following is true for two-dimensional parity check? (choose 2)

a)

Arrange information in rows

b)

More parity bit to improve coverage

c)

Arrange information in columns

d)

Add multiple parity bits to each column

59.

Polynomial codes are implemented using shift register circuits

a)

True

b)

False

60.

What is the binary equivalent of the following polynomial arithmetic x^7+x^6+x^5 + x^2 + 1?

a)

11011101

b)

11100111

c)

11101101

d)

11100101

61.

Using Euclidean Division, what will be the remainder of 70 by 999 where 70 is the divisor and 999 is the dividend?

a)

17

b)

21

c)

19

d)

14

62.

Given an information polynomial code l(x)=x^7+x^6+x^1+1. Which is its corresponding per-bit information frame?

a)

01100011

b)

10100010

c)

None of the mentioned

d)

11000011

63.

What is the remainder obtained by dividing x^7+x^5+1 by the generator polynomial x^3 + 1?

a)

x^2 + x

b)

x^2 + 1

c)

x^2 + x + 1

d)

None of the mentioned

64.

Given a generator polynomial g(x)=x^3+x+1, consider the information sequence 1001. By CRC method, what is the resulting codeword for transmission?

a)

1010110

b)

1001111

c)

1001000

d)

1001110

65.

Which of the following generator polynomials can detect all single bit errors in an information frame?

a)

g(2) = x + 1

b)

g(x) = x

c)

g(x) = x^2

d)

All of the mentioned

66.

Internet protocols use check bits to detect errors, instead of using CRC polynomials. The primary rationale is _____

a)

Strength of error detection capability

b)

simplicity of implementation

c)

CRC polynomial cannot work for internet protocols

d)

None of the mentioned

67.

The two basic approaches in error control are error prevention and detection, and error correction and re-transmission.

a)

False

b)

True

68.

Find parity bit for 1001011?

a)

1

b)

2

c)

None of the mentioned

d)

0

69.

The divisor in a cyclic code is normally called the _____.

a)

Generator

b)

Degree

c)

redundancy

d)

None of the mentioned

70.

The checksum of 0000 and 0000 is _____

a)

0101

b)

1010

c)

0000

d)

1111

71.

In ASCII, a single parity bit code can detect _____ errors

a)

an odd number of

b)

two

c)

an even number of

d)

no errors

72.

Which of these is not a network edge device?

a)

PC

b)

Smartphones

c)

Servers

d)

Switch

73.

Two devices are in network if ________

a)

a process in one device is able to exchange information with a process in another device

b)

a process is running on both devices

c)

PIDs of the processes running of different devices are same

d)

a process is active and another is inactive

74.

Which layer provides the services to user?

a)

application layer

b)

session layer

c)

presentation layer

d)

physical layer

75.

A _____ is a device that forwards packets between networks by processing the routing information included in the packet.

a)

bridge

b)

firewall

c)

router

d)

hub

76.

The number of layers in ISO OSI reference model is _________

a)

5

b)

7

c)

6

d)

10

77.

How many layers are present in the Internet protocol stack (TCP/IP model)?

a)

5

b)

7

c)

6

d)

10

78.

Transmission data rate is decided by ________

a)

network layer

b)

physical layer

c)

data link layer

d)

transport layer

79.

In OSI model, when data is sent from device A to device B, the 5th layer to receive data at B is _________

a)

Application layer

b)

Transport layer

c)

Link layer

d)

Session layer

80.

In TCP/IP model, when data is sent from device A to device B, the 5th layer to receive data at B is ________

4 lines
81.

In TCP/IP model, when data is sent from device A to device B, the 5th layer to receive data at B is ________

a)

Application layer

b)

Transport layer

c)

Link layer

d)

Session layer

82.

OSI stands for ________

a)

open system interconnection

b)

operating system interface

c)

optical service implementation

d)

open service internet

83.

Which address is used on the internet for employing the TCP/IP protocols?

a)

physical address and logical address

b)

port address

c)

specific address

d)

all of the mentioned

84.

TCP/IP model was developed _____ the OSI model.

a)

prior to

b)

after

c)

simultaneous to

d)

with no link to

85.

Transmission data rate is decided by ____________

a)

network layer

b)

physical layer

c)

data link layer

d)

transport layer

86.

TCP/IP model does not have ______ layer but OSI model have this layer.

a)

session layer

b)

transport layer

c)

application layer

d)

network layer

87.

In which year was the OSI model studied?

a)

1969

b)

1970

c)

1971

d)

1981

88.

Which of the following is not an ISO specification for OSI model?

a)

The same functions can be placed on different floors

b)

Do not define too many functional layers

c)

Create boundaries between functional layers so that the number of interactions between the two layers is minimal

d)

Create separate layers for functions that are completely different in terms of technology or implementation

89.

At which layer of the OSI model does packet routing occur?

a)

Network

b)

Data link

c)

Transport

d)

Presentation

90.

When a packet is lost or corrupted, what does the data link layer do?

a)

Self-recover or repair lost or corrupted packets

b)

Ask the source station to resend the lost or damaged packet

c)

Abort the data exchange session, giving an error message to the source station

d)

All of the mentioned

91.

What can cause two network layer entities of two computers in a network not to communicate with each other?

a)

The network connection is faulty

b)

Data link layer protocol error

c)

Data physical layer protocol error

d)

All of the mentioned

92.

Which of the following information do packets at the network layer contain?

a)

The IP address of the sending computer and the IP address of the receiving machine

b)

IP packet size, IP packet lifetime

c)

Contact serial number

d)

All of the mentioned

93.

Which type of organizations uses a Virtual private network?

a)

Colleges, Large Corporations, Government institutes

b)

Airports, Railway Stations, churches

94.

VPN (Virtual Private Network) is a secure network that gets used by people who are working from home or on the way home on the train. This is because

a)

It's a very secure tunnel network and uses VPN because it is encrypted

b)

Because VPN allows access to their home area and you can download your work

c)

Because everyone can access the data in the encrypted tunnel

95.

The following are browsers except one:

a)

Google Chrome

b)

Safari

c)

Yandex

d)

Hackintosh

96.

A difference in DHCPv6 and DHCPv4 is?

a)

A difference in DHCPv6 and DHCPv4 is?

b)

There is no requirement for BOOTP compatibility.

c)

Default router can be obtained by clients.

d)

All the above

97.

A physical interface often used for terminating telephone wires.

a)

RJ 11

b)

RJ 45

c)

Ethernet Cable

d)

RJ 14

98.

A network that spans a large geographical area, the most common example being the internet.

a)

LAN

b)

MAN

c)

WAN

99.

Who controls/configures DHCP servers?

a)

Network administrators

b)

Router software

c)

Developer

d)

Tester

100.

Wi-Fi is a...

a)

Popular technologies and standards for wireless computer networking

b)

Type of computer

c)

A person's name

d)

Nonsense

101.

Which Internet Protocol (IP) number is used by a computer to send a message back to itself?

a)

0.0.0.0

b)

1.1.1.1

c)

127.0.0.1

d)

255.255.255.255

102.

Vint Cerf and Robert E Kahn are known for their contribution for.

a)

TCP

b)

HTTP

c)

FTP

d)

ICMP

103.

The function of DSLAM is to __________

a)

Convert analog signals into digital signals

b)

Convert digital signals into analog signals

c)

Amplify digital signals

d)

De-amplify digital signals

104.

Which of the following terms is not associated with DSL?

a)

DSLAM

b)

CO

c)

Splitter

d)

CMTS

105.

Bluetooth is an example of __________?

a)

personal area network

b)

local area network

c)

virtual private network

d)

wide area network

106.

A __________ is a device that forwards packets between networks by processing the routing information included in the packet.

a)

bridge

b)

firewall

c)

router

d)

hub

107.

Which of the following networks extends a private network across public networks?

a)

local area network

b)

virtual private network

c)

enterprise private network

d)

storage area network

108.

Application layer is implemented in ____________

a)

End system

b)

NIC

c)

Ethernet

d)

Packet transport

109.

Transport layer is implemented in ______________

a)

End system

b)

NIC

c)

Ethernet

d)

Signal transmission

110.

Delimiting and synchronization of data exchange is provided by __________

a)

Application layer

b)

Session layer

c)

Transport layer

d)

Link layer

111.

In OSI model, when data is sent from device A to device B, the 5th layer to receive data at B is _________ ()G1

a)

Application layer

b)

Transport layer

c)

Link layer

d)

Session layer

112.

In TCP/IP Model, when data is sent from device A to device B, the 5th layer to receive data at B is ____________ ()G1

a)

Application layer

b)

Transport layer

c)

Link layer

d)

Session layer

113.

In networks where errors are infrequent, which approach is favoured for efficiency?

a)

End-to-end approach

b)

Hop-by-hop approach

c)

Either one of the above

d)

Neither one of the above

114.

Which of the following statements is true about the stop-and-wait ARQ protocol?

a)

Stop-and-wait is only efficient if the link delay-bandwidth product is large

b)

Stop-and-wait is only efficient if the link delay-bandwidth product is small

c)

Stop-and-wait is only efficient if the link bandwidth is low

d)

Stop-and-wait is only efficient if the link bandwidth is high

115.

Consider a situation where an interactive application produces a packet to send each keystroke from the client and the server echoes each keystroke that it receives from the client. Which of the following strategies for sending ACK frames in a Go-Back-N is appropriate for the situation?

a)

send an ACK frame when the next piggyback opportunity arises

b)

send an ACK frame immediately after each frame is received

c)

send an ACK frame after every other frame is received

d)

Any one of the mentioned

116.

Consider a bulk data transfer application where a server sends a large file that is segmented in a number of full-size packets that are to be transferred to the client. Assume the channel has a low probability of error. Which of the following strategies for sending ACK frames in a Go-Back-N is appropriate for the situation?

a)

Any one the mentioned

b)

send an ACK frame after every other frame is received

c)

send an ACK frame when the next piggy back opportunity arises

d)

send an ACK frame immediately after each frame is received

117.

Consider Selective Repeat ARQ flow control protocol. In the following scenario, what should be the value of frame number at receiver? xB

a)

3

b)

2

c)

4

d)

None of the mentioned

118.

ARQ protocols combine error detection, retransmission and sequencing numbering to provide reliability.

a)

False

b)

True

119.

A service model specifies a level of performance that can be expected in the transfer of information.

a)

True

b)

False

120.

A service offered at a given layer can include which of the following feature(s)?

a)

Sequencing

b)

All of the mentioned

c)

Reliability

d)

Timing

121.

Digital communication technologies may introduce errors in communication, which of the following can be used to provide reliable communication. (choose 2)

a)

TCP

b)

HDLC

c)

DNS

d)

UDP

122.

Ensuring that information is not altered during transfer is associated with _____

a)

Authentication

b)

Integrity

c)

Confidentiality

d)

Availability

123.

Given 3 bits for sequence numbers, what is the maximum sliding windows size at the receiver in Go Back 3 ARQ?

a)

3

b)

8

c)

7

d)

None of the mentioned

124.

Given 3 bits for sequence numbers in Selective Repeat ARQ. If the sender already set the sliding window size to be 4, what is the maximum sliding window size at the receiver?

a)

3

b)

7

c)

None of the mentioned

d)

8

125.

Consider Selective Repeat ARQ flow control protocol. In the following scenario, what should be the value of frame number at receiver? xB

a)

8

b)

7

c)

3

d)

None of the mentioned

126.

If the probability of error is very low in a communication link, which of the following statements is true about performance of ARQ protocol?

a)

Stop-and-wait and Go-back-N ARQ protocols have similar performance

b)

Go-back-N ARQ and Selective Repeat ARQ protocols have similar performance

c)

Stop-and-wait and Selective Repeat ARQ protocols have similar performance

d)

None of the mentioned

127.

In peer-to-peer protocol, the purpose of Automatic Repeat Request is _____ (choose 2)

a)

to ensure a sequence of information packet is delivered in order

b)

to ensure a sequence of information packet is delivered without errors or duplication despite transmission errors and losses

c)

to ensure a sequence of information packet is delivered out-of-order

d)

to ensure a sequence of information packet is delivered with an ACK request

128.

Which of the basic elements of ARQ is associated with negative acknowledgement?

a)

Error detecting code

b)

NAKs

c)

ACKs

d)

Timeout mechanism

129.

In Go-Back-N ARQ, a procedure where transmission of a new frame is begun before the completion of time of the previous frame transmission is called _____

a)

Pipelining

b)

Transitioning

c)

Channeling

d)

None of the mentioned

130.

In Stop-and-Wait protocol, sequence numbers are not required.

a)

True

b)

False

131.

The disadvantage of Stop-and-Wait protocol

a)

All of the above

b)

Error free communication channel does not exist

c)

Acknowledgement may get lost

d)

Deadlock situation may occur

132.

Which of the following statements are true for the best-effort service of IP?

a)

Packets can arrive with errors or be lost

b)

All of the mentioned

c)

Packets can arrive out-of-order

d)

Packets can arrive after very long delays

133.

Which of following services belong to the data link layer?

a)

All of the mentioned

b)

Insert framing information into the transmitted stream to indicate the boundaries that define frames.

c)

Provide error control to ensure reliable transmission

d)

Provide flow control to prevent the transmitter from overrunning the receiver buffer

134.

Which ARQ flow control protocol is used by TCP?

a)

Stop-and-Wait

b)

Selective Repeat

c)

Go-back-N

d)

None of the mentioned

135.

By framing, frame boundaries can be determined using _____

a)

All of the mentioned

b)

Character Counts

c)

Control Characters

d)

Flags

136.

Which of following statements are true about framing protocols?

a)

PPP uses character-based framing which requires byte stuffing

b)

All of the mentioned

c)

HDLC uses Flag-based framing which required bit stuffing

d)

None of the mentioned

137.

In IP network, which of the following statement is incorrect?

a)

Packets always arrive on time

b)

Packets can arrive out-of-order

c)

Packets can arrive with errors or be lost

d)

Packets can arrive after long delays