☑ MCQ PRACTICE

Computer Networks Unit 1

Practice objective questions for quick revision and examination preparation. Try answering each question before revealing the answer.

📚 Computer Networks
📖 Unit 1
🎯 MCQs
Computer Networks MCQs - Unit 1

Computer Networks MCQs - Unit 1

1

A network that spans a city is called a

A MAN
B LAN
C PAN
D WAN
Correct Answer MAN
2

A network that spans a country or a continent is called a

A LAN
B WAN
C PAN
D MAN
Correct Answer WAN
3

The number of layers in the OSI reference model is

A seven
B four
C five
D six
Correct Answer seven
4

The number of layers in the TCP/IP reference model (as described by Tanenbaum) is

A five
B seven
C three
D four
Correct Answer four
5

The layer of the OSI model that deals with the transmission of raw bits is the

A data link layer
B physical layer
C network layer
D session layer
Correct Answer physical layer
6

The unit of data at the data link layer is the

A packet
B segment
C bit stream only
D frame
Correct Answer frame
7

The unit of data at the network layer is the

A frame
B bit
C packet
D message only
Correct Answer packet
8

The OSI layer that deals with the syntax and semantics of the information exchanged, including encryption and compression, is the

A session layer
B transport layer
C data link layer
D presentation layer
Correct Answer presentation layer
9

The OSI layer that handles dialog control and synchronization is the

A presentation layer
B session layer
C network layer
D physical layer
Correct Answer session layer
10

Which two OSI layers have no separate counterpart in the TCP/IP model?

A Session and presentation
B Physical and data link
C Network and transport
D Transport and application
Correct Answer Session and presentation
11

ARPANET was the first

A packet-switched network
B circuit-switched telephone network
C wireless network
D satellite broadcasting system
Correct Answer packet-switched network
12

The Internet Protocol (IP) is

A connection-oriented
B a physical medium
C a data link protocol
D connectionless
Correct Answer connectionless
13

In twisted-pair cable, the wires are twisted to

A increase the cable length
B reduce electrical interference (crosstalk)
C increase the weight
D make the cable cheaper
Correct Answer reduce electrical interference (crosstalk)
14

Which guided medium has the highest bandwidth and is immune to electromagnetic interference?

A Twisted pair
B Fiber optic cable
C Coaxial cable
D Telephone wire
Correct Answer Fiber optic cable
15

The two types of optical fiber are

A single-mode and multimode
B analog and digital
C baseband and broadband
D simplex and duplex
Correct Answer single-mode and multimode
16

Light travels along an optical fiber because of

A total internal reflection
B refraction into the cladding
C magnetic induction
D electrical conduction
Correct Answer total internal reflection
17

Which of the following is a wireless transmission method?

A Coaxial cable
B Twisted pair
C Optical fiber
D Microwave transmission
Correct Answer Microwave transmission
18

In bit stuffing with the flag 01111110, a 0 is inserted after how many consecutive 1s in the data?

A four
B five
C six
D seven
Correct Answer five
19

To detect d errors, a code needs a Hamming distance of

A d + 1
B d − 1
C 2d + 1
D d
Correct Answer d + 1
20

To correct d errors, a code needs a Hamming distance of

A d + 1
B d
C 2d + 1
D 2d
Correct Answer 2d + 1
21

A single parity bit can detect

A all errors
B only even numbers of errors
C no errors
D any odd number of bit errors
Correct Answer any odd number of bit errors
22

In CRC with a generator polynomial of degree r, the number of bits appended to the data is

A r
B r + 1
C 2r
D r − 1
Correct Answer r
23

In a Hamming code, the check bits are placed at positions that are

A multiples of 3
B odd numbers
C prime numbers
D powers of 2
Correct Answer powers of 2
24

The Internet checksum is computed as the

A 16-bit one's complement sum
B 32-bit XOR of all bytes
C 8-bit product
D 64-bit sum
Correct Answer 16-bit one's complement sum
25

Byte stuffing is used in framing to

A encrypt the data
B increase the speed
C prevent a flag byte in the data from being mistaken for a frame boundary
D remove the header
Correct Answer prevent a flag byte in the data from being mistaken for a frame boundary

Fill in the Blanks

26 The OSI reference model has ______ layers.
Correct Answer seven
27 The TCP/IP reference model has ______ layers.
Correct Answer four
28 The unit of data at the data link layer is the ______.
Correct Answer frame
29 The unit of data at the network layer is the ______.
Correct Answer packet
30 The first packet-switched network was ______.
Correct Answer ARPANET
31 The layer responsible for routing packets is the ______ layer.
Correct Answer network
32 An optical fiber works on the principle of total internal ______.
Correct Answer reflection
33 Twisted-pair wires are twisted to reduce ______.
Correct Answer interference (crosstalk)
34 In bit stuffing, a 0 is inserted after ______ consecutive 1s.
Correct Answer five
35 To detect d errors, a code needs a Hamming distance of ______.
Correct Answer d + 1
36 To correct d errors, a code needs a Hamming distance of ______.
Correct Answer 2d + 1
37 CRC uses a ______ polynomial.
Correct Answer generator
38 A single parity bit can detect any ______ number of bit errors.
Correct Answer odd
39 In a Hamming code, the check bits are placed at positions that are powers of ______.
Correct Answer 2
40 A network that covers a city is called a ______.
Correct Answer MAN (Metropolitan Area Network)
← Back to All MCQs