wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

COMPUTER NEWORKS QUIZ

Total questions: 90

Worksheet time: 45mins

Name
Class
Date
1.
What is the primary goal of a computer network?
a)
To sell hardware
b)
To improve software performance
c)
To share resources and communicate
d)
To increase system size
2.
Which of the following is NOT a common use of computer networks?
a)
Communication
b)
File Sharing
c)
Gaming
d)
Cooking
3.
What is a protocol in networking?
a)
A device that connects computers
b)
A rule set for communication
c)
A software application
d)
A physical medium
4.
Which of the following is considered an end system in a network?
a)
Router
b)
Switch
c)
Smartphone
d)
Bridge
5.
What is layering in network architecture?
a)
A method for encrypting data
b)
Dividing responsibilities among levels
c)
Building multiple networks
d)
Connecting devices physically
6.
Which model has 7 layers and is often used as a reference?
a)
TCP/IP
b)
OSI
c)
Hybrid
d)
Internet
7.
Which layer in the OSI model provides reliable process-to-process message delivery?
a)
Network
b)
Data Link
c)
Transport
d)
Session
8.
What does a socket consist of?
a)
IP address only
b)
Port number only
c)
MAC address
d)
IP address and port number
9.
Traceroute uses which protocol to trace packet paths?
a)
TCP
b)
UDP
c)
ICMP
d)
SMTP
10.
What is the function of a router?
a)
Send emails
b)
Translate IP to MAC
c)
Forward packets between networks
d)
Encrypt data
11.
In the TCP/IP model, which layer corresponds to the Transport layer in OSI?
a)
Link
b)
Internet
c)
Transport
d)
Application
12.
Which component is used to connect a LAN to a WAN?
a)
Switch
b)
Hub
c)
Router
d)
Repeater
13.
What type of communication does the Internet mostly use?
a)
Circuit switching
b)
Message switching
c)
Packet switching
d)
Time division multiplexing
14.
What is the function of the application layer in the OSI model?
a)
Route packets
b)
File compression
c)
Provide user services
d)
Manage sockets
15.
Which of the following was the predecessor to the Internet?
a)
INTERNET2
b)
ARPANET
c)
NSFNET
d)
Milnet
16.
What is the main function of the physical layer?
a)
Routing data
b)
Establishing logical links
c)
Transmitting raw bits over a communication channel
d)
Error correction
17.
Which of the following is a guided transmission medium?
a)
Microwave
b)
Infrared
c)
Twisted pair cable
d)
Radio
18.
The Nyquist theorem relates to which of the following?
a)
Transmission delay
b)
Channel capacity
c)
Signal attenuation
d)
Signal distortion
19.
What is the unit for measuring bandwidth?
a)
Bits per second
b)
Hertz
c)
Ohm
d)
Joules
20.
Which modulation technique varies the amplitude of the carrier wave?
a)
AM
b)
FM
c)
PM
d)
PCM
21.
Which of these is NOT a type of digital modulation?
a)
ASK
b)
FSK
c)
QAM
d)
AM
22.
Which medium provides the highest transmission speed?
a)
Twisted pair
b)
Coaxial cable
c)
Fiber optic cable
d)
Microwave
23.
The Shannon theorem deals with:
a)
Error detection
b)
Data encryption
c)
Channel capacity in noisy environment
d)
Signal encoding
24.
In frequency modulation (FM), what is varied?
a)
Amplitude
b)
Phase
c)
Frequency
d)
Power
25.
Which of the following is a property of analog signals?
a)
Discrete values
b)
Continuous values
c)
Binary encoding
d)
Packet switching
26.
Which of the following is a baseband transmission?
a)
Signal modulated on a carrier wave
b)
Direct transmission of digital signal
c)
Modulation using AM or FM
d)
Multiplexed transmission
27.
Which of these media is most immune to electromagnetic interference?
a)
Twisted pair cable
b)
Coaxial cable
c)
Fiber optic cable
d)
Wireless
28.
Modulation is needed for:
a)
Increasing bandwidth
b)
Multiplexing
c)
Signal decoding
d)
Encoding
29.
A signal composed of only two levels (0 and 1) is called:
a)
Analog
b)
Digital
c)
Continuous
d)
Modulated
30.
Which of the following is NOT a function of the physical layer?
a)
Bit synchronization
b)
Line configuration
c)
Error control
d)
Transmission mode
31.
What is the primary responsibility of the data link layer?
a)
Routing packets
b)
Transmitting bits
c)
Node-to-node data transfer and error detection
d)
Encrypting data
32.
Which method is used to prevent a single frame from interfering with another on the link?
a)
Error correction
b)
Framing
c)
Routing
d)
Switching
33.
Which of the following is an example of a framing technique?
a)
Hamming code
b)
CRC
c)
Byte stuffing
d)
Modulation
34.
Which type of error detection code can detect burst errors?
a)
Parity bit
b)
Checksum
c)
CRC
d)
Hamming code
35.
What is the minimum number of redundant bits required to correct single-bit errors using Hamming code?
a)
2
b)
3
c)
4
d)
Depends on the data length
36.
Which error control method involves retransmission of data?
a)
Forward error correction
b)
Checksum
c)
Parity bit
d)
ARQ
37.
Which of the following ARQ protocols sends one frame at a time?
a)
Go-Back-N
b)
Selective Repeat
c)
Stop-and-Wait
d)
Sliding Window
38.
Which of the following is true about CRC?
a)
It is used for error correction
b)
It adds only 1 parity bit
c)
It uses polynomial division
d)
It is used in application layer
39.
What is the main drawback of Stop-and-Wait ARQ?
a)
Data loss
b)
High efficiency
c)
Poor bandwidth utilization
d)
Complexity
40.
Framing allows the receiver to:
a)
Request data from server
b)
Identify data packets
c)
Determine beginning and end of frames
d)
Encrypt data
41.
Hamming code can detect and correct:
a)
Only burst errors
b)
Single-bit errors
c)
Multiple-bit errors
d)
Parity errors
42.
Which of the following is NOT a data link layer function?
a)
Framing
b)
Error control
c)
Flow control
d)
Routing
43.
In Go-Back-N ARQ, what happens when an error is detected in a frame?
a)
Only the errored frame is resent
b)
All frames are acknowledged
c)
All frames from the errored frame onward are resent
d)
Frame is dropped
44.
Which technique allows resending only the erroneous frames?
a)
Stop-and-Wait ARQ
b)
Go-Back-N ARQ
c)
Selective Repeat ARQ
d)
CRC
45.
The sliding window protocol is used to:
a)
Compress data
b)
Detect errors
c)
Control data flow
d)
Encrypt data
46.
What is the main function of the network layer?
a)
Error correction
b)
Process-to-process delivery
c)
Routing of packets
d)
Encryption
47.
Which protocol is used for logical addressing at the network layer?
a)
ARP
b)
IP
c)
TCP
d)
UDP
48.
What is the purpose of a routing algorithm?
a)
To detect errors
b)
To find optimal path for data
c)
To encrypt data
d)
To manage sockets
49.
Which of the following is a distance vector routing protocol?
a)
OSPF
b)
BGP
c)
RIP
d)
IS-IS
50.
Which of the following is NOT a function of the network layer?
a)
Routing
b)
Packet forwarding
c)
Congestion control
d)
Framing
51.
Which type of addressing is used by the IP protocol?
a)
Physical addressing
b)
Logical addressing
c)
Port addressing
d)
MAC addressing
52.
Which of the following IP addresses is valid for a host?
a)
192.168.0.256
b)
255.255.255.255
c)
127.0.0.1
d)
192.168.1.1
53.
Which of the following refers to fragmentation in networking?
a)
Breaking frames into packets
b)
Breaking packets into smaller units
c)
Packet duplication
d)
Multiplexing
54.
Which protocol maps IP addresses to MAC addresses?
a)
IP
b)
TCP
c)
ARP
d)
ICMP
55.
Which protocol is used for error reporting at the network layer?
a)
UDP
b)
TCP
c)
ICMP
d)
HTTP
56.
CIDR stands for:
a)
Classless Internet Domain Routing
b)
Classful Inter-Domain Routing
c)
Classless Inter-Domain Routing
d)
Classful Internet Data Routing
57.
Which protocol is used for routing between autonomous systems?
a)
OSPF
b)
RIP
c)
BGP
d)
ICMP
58.
Which field in an IP packet helps in fragmentation?
a)
Header Length
b)
TTL
c)
Fragment Offset
d)
Protocol
59.
What is the maximum number of hosts in a Class C network?
a)
254
b)
255
c)
256
d)
512
60.
Which algorithm guarantees loop-free routing in link-state protocols?
a)
Bellman-Ford
b)
Distance Vector
c)
Dijkstra’s algorithm
d)
Flooding
61.
What is the main function of the transport layer?
a)
Physical transmission of data
b)
Routing packets
c)
Process-to-process delivery
d)
Providing web services
62.
Which of the following protocols operates at the transport layer?
a)
IP
b)
TCP
c)
ARP
d)
ICMP
63.
Which protocol provides unreliable and connectionless service at the transport layer?
a)
TCP
b)
FTP
c)
UDP
d)
SMTP
64.
Which field in the TCP header is used for flow control?
a)
Sequence Number
b)
Acknowledgment Number
c)
Window Size
d)
Urgent Pointer
65.
TCP uses which mechanism to ensure reliable data transfer?
a)
Checksum only
b)
Acknowledgments and retransmissions
c)
Port addressing
d)
Polling
66.
Which field in the UDP header is optional?
a)
Source Port
b)
Destination Port
c)
Checksum
d)
Length
67.
What is the purpose of port numbers in the transport layer?
a)
Identifying hosts
b)
Identifying processes
c)
Identifying routers
d)
Identifying frames
68.
Which of the following mechanisms is used for congestion control in TCP?
a)
Parity Bit
b)
Stop-and-Wait
c)
Slow Start
d)
Token Bucket
69.
Which of the following is true about UDP?
a)
Reliable delivery
b)
No flow control
c)
Connection-oriented
d)
Sequenced data
70.
What is the size of the TCP header without options?
a)
20 bytes
b)
32 bytes
c)
40 bytes
d)
8 bytes
71.
In TCP, what does the SYN flag indicate?
a)
Data transfer
b)
Acknowledgment
c)
Connection termination
d)
Connection initiation
72.
What type of service does TCP provide?
a)
Best-effort delivery
b)
Unreliable and connectionless
c)
Reliable and connection-oriented
d)
Datagram service
73.
Which algorithm is used to estimate round-trip time in TCP?
a)
Stop-and-Wait
b)
Exponential Weighted Moving Average
c)
Dijkstra's
d)
Sliding Window
74.
TCP’s three-way handshake involves which of the following steps?
a)
SYN, ACK
b)
ACK, FIN, RST
c)
SYN, SYN-ACK, ACK
d)
FIN, FIN-ACK, ACK
75.
The range of well-known port numbers is:
a)
0 to 255
b)
0 to 1023
c)
1024 to 49151
d)
49152 to 65535
76.
Which of the following protocols is used for email retrieval?
a)
SMTP
b)
IMAP
c)
FTP
d)
SNMP
77.
Which protocol is used to transfer files over the internet?
a)
HTTP
b)
SMTP
c)
FTP
d)
DNS
78.
HTTP operates over which transport protocol?
a)
TCP
b)
UDP
c)
ICMP
d)
IP
79.
Which application layer protocol is used for domain name resolution?
a)
FTP
b)
DNS
c)
SMTP
d)
POP3
80.
What is the default port number for HTTP?
a)
25
b)
80
c)
110
d)
143
81.
SMTP is used for:
a)
Sending emails
b)
Retrieving emails
c)
Transferring files
d)
Web browsing
82.
Which of the following is a stateless protocol?
a)
SMTP
b)
HTTP
c)
IMAP
d)
FTP
83.
Which protocol provides secure communication over HTTP?
a)
SFTP
b)
HTTPS
c)
FTPS
d)
SCP
84.
Which port number is used by DNS?
a)
25
b)
80
c)
53
d)
443
85.
What is the purpose of the DNS protocol?
a)
To fetch emails
b)
To transfer files
c)
To resolve domain names to IP addresses
d)
To control congestion
86.
Which of the following protocols supports file transfer with authentication?
a)
FTP
b)
TFTP
c)
HTTP
d)
SMTP
87.
What does the 'S' stand for in HTTPS?
a)
Speed
b)
Secure
c)
Service
d)
Simple
88.
Which of the following protocols works on port 110?
a)
SMTP
b)
IMAP
c)
POP3
d)
HTTP
89.
What is the role of SNMP in computer networks?
a)
Network monitoring and management
b)
Name resolution
c)
Secure email transmission
d)
Web browsing
90.
Which protocol allows for remote login to another computer over the internet?
a)
DNS
b)
TELNET
c)
SMTP
d)
FTP