wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

computer networks semester quiz

Total questions: 50

Worksheet time: 26mins

Name
Class
Date
1.

Which is not a application layer protocol?

a)

POP3

b)

HTTP

c)

TCP

d)

FTP

2.

In asymmetric key cryptography, for confidentiality the private key is kept by:

a)

sender

b)

receiver

c)

sender and receiver

d)

all the connected devices to the network

3.

Which one of the following algorithm is used in asymmetric-key cryptography?

a)

RSA algorithm

b)

diffie-hellman algorithm

c)

electronic code book algorithm

d)

none of the mentioned

4.

What is data encryption standard (DES)?

a)

block cipher

b)

stream cipher

c)

bit cipher

d)

none of the mentioned

5.

Cryptanalysis is used:

a)

to find some insecurity in a cryptographic scheme

b)

to increase the speed

c)

to encrypt the data

d)

none of the mentioned

6.

Which one of the following is a cryptographic protocol used to secure HTTP connection?

a)

stream control transmission protocol (SCTP)

b)

transport layer security (TSL)

c)

explicit congestion notification (ECN)

d)

resource reservation protocol

7.

Which one of the following is not a function of network layer?

a)

routing

b)

inter-networking

c)

congestion control

d)

none of the mentioned

8.

ICMP is primarily used for:

a)

error and diagnostic functions

b)

addressing

c)

forwarding

d)

none of the mentioned

9.

Frames from one LAN can be transmitted to another LAN via the device

a)

Router

b)

Bridge

c)

Repeater

d)

Modem

10.

Which of the following condition is true if two frames are placed over a medium at the same time?

a)

Contention

b)

Collision

c)

Synchronous

d)

congestion

11.

What is the default subnet mask for a class C network?

a)

127.0.0.1

b)

255.0.0.0

c)

255.255.0.0

d)

255.255.255.0

12.

The Internet Control Message Protocol (ICMP)

a)

allows gateways to send error a control messages to other gateways or hosts

b)

provides communication between the Internet Protocol Software on one machine and the Internet Protocol Software on another

c)

reports error conditions to the original source, the source must relate errors to individual application programs and take action to correct the problem

d)

All of the above

13.

The term 'duplex' refers to the ability of the data receiving stations to echo back a confirming message to the sender. In half duplex data transmission, both the sender and the receiver

a)

cannot talk at once

b)

can receive and send data simultaneously

c)

can send or receive data one at a time

d)

can do one way data transmission only

14.

Which of the following technique is used for fragment?

a)

a technique used in best-effort delivery systems to avoid endlessly looping packets

b)

a technique used by protocols in which a lower level protocol accepts a message from a higher level protocol and places it in the data portion of the low level frame

c)

one of the pieces that results when an IP gateway divides an IP datagram into smaller pieces for transmission across a network that cannot handle the original datagram size

d)

All of the above

15.

When you ping the loopback address, a packet is sent where?

a)

On the network

b)

Down through the layers of the IP architecture and then up the layers again

c)

Across the wire

d)

through the loopback dongle

16.

Which one is loopback address in IPv4 ?

a)

100.100.100.100

b)

1.0.0.0

c)

255.255.255.255

d)

127.0.0.1

17.

Which of the following TCP/IP protocol is used for transferring electronic mail messages from one machine to another?

a)

FTP

b)

SNMP

c)

SMTP

d)

RPC

18.

What part of 192.168.10.51 is the Network ID, assuming a default subnet mask?

a)

192

b)

192.168.10

c)

0.0.0.51

d)

51

19.

A noiseless 3 KHz Channel transmits bits with binary level signals. What is the maximum data rate?

a)

3 Kbps

b)

6 Kbps

c)

12 Kbps

d)

24 Kbps

20.

In CRC there is no error if the remainder at the receiver is _____.

a)

equal to the remainder at the sender

b)

zero

c)

nonzero

d)

the quotient at the sender

21.

How many bits internet address is assigned to each host on a TCP/IP internet which is using IPv6 standard?

a)

32

b)

48

c)

64

d)

128

22.

FDDI is a

a)

ring network

b)

star network

c)

mesh network

d)

bus based network

23.

You are working with a network that has the network ID 192.168.10.0. What subnet should you use that supports up to 25 hosts and a maximum number of subnets?

a)

255.255.255.192

b)

255.255.255.224

c)

255.255.255.240

d)

255.255.255.248

24.

An endpoint of an inter-process communication flow across a computer network is called:

a)

socket

b)

pipe

c)

IP

d)

MAC

25.

Transport layer protocols deals with:

a)

application to application communication

b)

process to process communication

c)

node to node communication

d)

none of the mentioned

26.

Which multiplexing technique transmits digital signals ?

a)

FDM

b)

TDM

c)

WDM

d)

All of the above

27.

If there are n signal sources of same data rate than TDM link has _______ equal slots.

a)

n

b)

n/2

c)

n*2

d)

n^2

28.

The protocol data unit(PDU) for the application layer in the Internet stack is

a)

Segment

b)

Datagram

c)

Message

d)

Frame

29.

In the IPv4 addressing format, the number of networks allowed under Class C addresses is

a)

2^14

b)

2^7

c)

2^21

d)

2^24

30.

An Internet Service Provider(ISP) has the following chunk of CIDR-based IP addresses available with it:245.248.128.0/20. The ISP wants to give half of this chunk of addreses to Organization A, and a quarter to Organization B, while retaining the remaining with itself. Which of the following is a valid allocation of addresses to A and B?

a)

245.248.136.0/21 and 245.248.128.0/22

b)

245.248.128.0/21 and 245.248.128.0/22

c)

245.248.132.0/22 and 245.248.132.0/21

d)

245.248.136.0/22 and 245.248.132.0/21

31.

Consider a source computer (S) transmitting a file of size 106 bits to a destination computer (D) over a network of two routers (R1 and R2) and three links (L1, L2 and L3). L1 connects S to R1;L2 connects R1 to R2; and L3 connects R2 to D. Let each link be of length 100km. Assume signals travel over each link at a speed of 10^8 meters per second. Assume that the link bandwidth on each link is 1Mbps. Let the file be broken down into 1000 packets each of size 1000 bits. Find the total sum of transmission and propagation delays in transmitting the file from S to D?

a)

1005ms

b)

1010ms

c)

3000ms

d)

3003ms

32.

Consider an instance of TCP’s Additive Increase Multiplicative Decrease(AIMD) algorithm where the window size at the start of the slow start phase is 2 MSS and the threshold at the start of the first transmission is 8 MSS. Assume that a time out occurs during the fifth transmission. Find the congestion window size at the end of the tenth transmission.

a)

8 MSS

b)

14 MSS

c)

7 MSS

d)

12 MSS

33.

One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field?

a)

It can be used to priortize packets

b)

It can be used to reduce delays

c)

It can be used to optimize throughput

d)

It can be used to prevent packet looping

34.

In the slow start phase of the TCP congestion control algorithm, the size of the congestion window

a)

does not increase

b)

increases linearly

c)

increases quadratically

d)

increases exponentially

35.

If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?

a)

1022

b)

1023

c)

2046

d)

2047

36.

The address resolution protocol (ARP) is used for:

a)

Finding the IP address from the DNS

b)

Finding the IP address of the default gateway

c)

Finding the IP address that corresponds to a MAC address

d)

Finding the MAC address that corresponds to an IP address

37.

The maximum window size for data transmission using the selective reject(Selective repeat) protocol with n-bit frame sequence numbers is:

a)

2^n

b)

2^(n-1)

c)

2^n – 1

d)

2^(n-2)

38.

Which of the following is not true about Subnetting?

a)

It can be applied only for single network.

b)

It is used to improve security.

c)

Here, bits are borrowed from network ID portion.

d)

Here, bits are borrowed from host ID portion.

39.

A router receives an IP packet containing a data of 300 byte and it is forwarded to a network with maximum transmission unit of 80 bytes. Assume that IP header is 10 Byte long. Find the total fragment , more fragment and offset values

a)

4, 1110,(0,10,20,30)

b)

1,1110,(0,8.75,17.5,26.25,35)

c)

5,1111,(0,8,17,26,35)

d)

none

40.

A channel has a bit rate of 4 Kbps and one way propagation delay of 20 msec. The channel uses

stop and wait protocol. The transmission time of the acknowledgement frame is negligible. To

get a channel efficiency of at least 50%, the minimum frame size should be-

a)

80 bytes

b)

80 bits

c)

160 bytes

d)

160 bits

41.

Station A uses 32 byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 milliseconds and the bottleneck bandwidth on the path between A and B is 128 kbps. What is the optimal window size that A should use?

a)

20

b)

40

c)

160

d)

320

42.

The address of a class B host is to be split into subnets with a 6-bit subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?

a)

62 subnets and 262142 hosts.

b)

64 subnets and 262142 hosts.

c)

62 subnets and 1022 hosts.

d)

64 subnets and 1024 hosts.

43.

The message 11001001 is to be transmitted using the CRC polynomial x^3 + 1 to protect it from errors. The message that should be transmitted is:

a)

11001001000

b)

11001001011

c)

11001010

d)

110010010011

44.

If link transmits 4000 frames per second, and each slot has 8 bits, the transmission rate of circuit this TDM is

a)

32kbps

b)

500bps

c)

500kbps

d)

32bps

45.

The entire hostname (in DNS) has a maximum of ___________ characters

a)

255

b)

512

c)

127

d)

99

46.

Which one of the following is not true?

a)

multiple hostnames may correspond to a single IP address

b)

a single hostname may correspond to many IP addresses

c)

a single hostname may correspond to a single IP address

d)

none of the mentioned

47.

In open-loop control, policies are applied to __________

a)

Remove after congestion occurs

b)

Remove after sometime

c)

Prevent before congestion occurs

d)

Prevent before sending packets

48.

In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________

a)

Packet which are not lost

b)

Only those packets which are lost or corrupted

c)

Packet from starting

d)

All the packets

49.

The technique in which a congested node stops receiving data from the immediate upstream node or nodes is called as _______

a)

Admission policy

b)

Backpressure

c)

Forward signaling

d)

Backward signaling

50.

Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB. The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is _________.

a)

1100 to 1300

b)

800 to 1000

c)

1400 to 1600

d)

1500 to 1700