Muhammad Mohsin 03457467126
B'S CS 6th semester
Millat collage Ahmad pur East
📘 *Data Communication MCQs*
1. *Which of the following is a data
communication protocol?*
A) HTTP
B) FTP
C) TCP/IP
D) All of the above
*Answer:* D) All of the above
2. *What does OSI stand for in
networking?*
A) Open System Interconnection
B) Operating System Interface
C) Optical Service Interface
D) Open Signal Interchange
*Answer:* A) Open System
Interconnection
3. *Which layer of the OSI model is
responsible for routing?*
A) Transport
B) Network
C) Data Link
D) Physical
*Answer:* B) Network
4. *In which topology is each
device connected to every other
device?*
A) Star
B) Ring
C) Mesh
D) Bus
*Answer:* C) Mesh
5. *What is the main function of
the transport layer?*
A) Data representation
B) Routing
C) End-to-end communication
D) Physical addressing
*Answer:* C) End-to-end
communication
6. *Which device operates at the
data link layer?*
A) Router
B) Switch
C) Hub
D) Modem
*Answer:* B) Switch
7. *What is the purpose of DNS in networking?*
A) Assign IP addresses
B) Translate domain names to IP addresses
C) Encrypt data
D) Monitor network traffic
*Answer:* B) Translate domain names to IP addresses
8. *Which protocol is used to send emails?*
A) HTTP
B) FTP
C) SMTP
D) SNMP
*Answer:* C) SMTP
9. *What does MAC stand for in networking?*
A) Media Access Control
B) Memory Access Control
C) Multiple Access Control
D) Media Application Control
*Answer:* A) Media Access Control
10. *Which transmission medium has the highest bandwidth?*
A) Coaxial cable
B) Twisted pair cable
C) Optical fiber
D) Microwave
*Answer:* C) Optical fiber
Sure! Here are *Data Communication MCQs from 11 to 20*:
---
*11.* *Which topology is the most used in LANs today?*
A) Bus
B) Ring
C) Star
D) Mesh
*Answer:* C) Star
*12.* *Which of these is not a function of the Data Link Layer?*
A) Framing
B) Error Control
C) Flow Control
D) Routing
*Answer:* D) Routing
*13.* *Which of the following is not a transmission mode?*
A) Simplex
B) Half-duplex
C) Full-duplex
D) Multiplex
*Answer:* D) Multiplex
*14.* *Which layer is responsible for logical addressing?*
A) Data Link
B) Network
C) Transport
D) Session
*Answer:* B) Network
*15.* *Which of the following is a protocol at the Transport layer?*
A) IP
B) TCP
C) ICMP
D) ARP
*Answer:* B) TCP
*16.* *What does WAN stand for?*
A) Wide Area Network
B) Web Area Network
C) Wired Area Network
D) Wireless Area Network
*Answer:* A) Wide Area Network
*17.* *Which device is used to connect different LANs?*
A) Hub
B) Switch
C) Router
D) Bridge
*Answer:* C) Router
*18.* *Which of the following represents the data in the application layer?*
A) Packets
B) Frames
C) Bits
D) Messages
*Answer:* D) Messages
*19.* *Which protocol does not guarantee delivery?*
A) TCP
B) UDP
C) FTP
D) SMTP
*Answer:* B) UDP
*20.* *Which medium transmits data the fastest?*
A) Twisted pair
B) Coaxial
C) Fiber optics
D) Radio wave
*Answer:* C) Fiber optics
21. *Which layer of the OSI model is responsible for end-to-end communication?*
A) Session
B) Transport
C) Network
D) Data Link
*Answer:* B) Transport
22. *What is the primary function of the Data Link layer?*
A) Routing
B) Error detection and correction
C) Encryption
D) Session management
*Answer:* B) Error detection and correction
23. *Which protocol is used for secure communication over the Internet?*
A) HTTP
B) FTP
C) HTTPS
D) SMTP
*Answer:* C) HTTPS
24. *In a ring topology, data travels in:*
A) One direction
B) Two directions
C) Random directions
D) None of the above
*Answer:* A) One direction
25. *Which device operates at the Network layer of the OSI model?*
A) Switch
B) Hub
C) Router
D) Repeater
*Answer:* C) Router
26. *What does FTP stand for?*
A) File Transfer Protocol
B) Fast Transfer Protocol
C) File Transmission Protocol
D) None of the above
*Answer:* A) File Transfer Protocol
27. *Which of the following is a characteristic of fiber-optic cables?*
A) Susceptible to electromagnetic interference
B) High bandwidth capacity
C) Uses electrical signals
D) Made of copper
*Answer:* B) High bandwidth capacity
28. *What is the purpose of the ARP protocol?*
A) Assign IP addresses
B) Resolve IP addresses to MAC addresses
C) Encrypt data
D) None of the above
*Answer:* B) Resolve IP addresses to MAC addresses
29. *Which topology requires a central hub?*
A) Mesh
B) Star
C) Ring
D) Bus
*Answer:* B) Star
30. *Which layer of the OSI model is responsible for data encryption?*
A) Presentation
B) Session
C) Transport
D) Application
*Answer:* A) Presentation
*31.* *Which layer of the OSI model is responsible for establishing, managing, and
terminating sessions between applications?*
A) Transport
B) Session
C) Presentation
D) Application
*Answer:* B) Session
*32.* *What is the primary function of the Presentation layer in the OSI model?*
A) Data encryption and decryption
B) Routing
C) Error detection
D) Physical addressing
*Answer:* A) Data encryption and decryption
*33.* *Which protocol is used to assign IP addresses dynamically to devices on a network?*
A) DNS
B) DHCP
C) FTP
D) HTTP
*Answer:* B) DHCP
*34.* *In data communication, what does attenuation refer to?*
A) Increase in signal strength
B) Delay in signal transmission
C) Loss of signal strength over distance
D) Amplification of signal
*Answer:* C) Loss of signal strength over distance
*35.* *Which topology connects all devices to a single central cable?*
A) Star
B) Ring
C) Bus
D) Mesh
*Answer:* C) Bus
*36.* *What is the function of a repeater in a network?*
A) Directs data packets
B) Filters network traffic
C) Amplifies and retransmits signals
D) Assigns IP addresses
*Answer:* C) Amplifies and retransmits signals
*37.* *Which device operates at the Physical layer of the OSI model?*
A) Switch
B) Router
C) Hub
D) Bridge
*Answer:* C) Hub
*38.* *What is the maximum length of a standard Ethernet cable (Cat5e)?*
A) 50 meters
B) 100 meters
C) 150 meters
D) 200 meters
*Answer:* B) 100 meters
*39.* *Which protocol is used to securely browse websites?*
A) HTTP
B) FTP
C) HTTPS
D) SMTP
*Answer:* C) HTTPS
*40.* *What does the term 'bandwidth' refer to in data communication?*
A) The physical width of a cable
B) The number of devices on a network
C) The data transfer rate of a network
D) The length of a network cable
*Answer:* C) The data transfer rate of a ne
*41.* *Which of these is a guided transmission medium?*
A) Microwave
B) Satellite
C) Twisted pair cable
D) Infrared
*Answer:* C) Twisted pair cable
*42.* *Which layer ensures error-free delivery of data?*
A) Physical
B) Network
C) Transport
D) Data Link
*Answer:* C) Transport
*43.* *The process of adding headers and trailers to data is called:*
A) Encapsulation
B) Fragmentation
C) Multiplexing
D) Demodulation
*Answer:* A) Encapsulation
*44.* *Which of the following uses packet switching?*
A) Telephone networks
B) Ethernet
C) Internet
D) All of the above
*Answer:* C) Internet
*45.* *Which protocol is connection-oriented?*
A) UDP
B) IP
C) TCP
D) ARP
*Answer:* C) TCP
*46.* *Which of these topologies is most fault-tolerant?*
A) Star
B) Bus
C) Mesh
D) Ring
*Answer:* C) Mesh
*47.* *Which device can break up collision domains?*
A) Hub
B) Switch
C) Repeater
D) Modem
*Answer:* B) Switch
*48.* *IP address is a part of which layer in the OSI model?*
A) Network
B) Transport
C) Application
D) Data Link
*Answer:* A) Network
*49.* *Which one provides a physical path for signal transmission?*
A) Application layer
B) Physical layer
C) Session layer
D) Transport layer
*Answer:* B) Physical layer
*50.* *How many layers are in the TCP/IP model?*
A) 4
B) 5
C) 6
D) 7
*Answer:* A) 4
*51.* *Which layer in the OSI model is responsible for flow control?*
A) Transport
B) Network
C) Session
D) Data Link
*Answer:* A) Transport
*52.* *Which of these protocols is used for remote login?*
A) FTP
B) HTTP
C) TELNET
D) SMTP
*Answer:* C) TELNET
*53.* *Which of the following is not a guided medium?*
A) Coaxial cable
B) Optical fiber
C) Microwave
D) Twisted pair
*Answer:* C) Microwave
*54.* *Which of these protocols is unreliable and connectionless?*
A) TCP
B) UDP
C) FTP
D) SSH
*Answer:* B) UDP
*55.* *How many bits are in an IPv4 address?*
A) 16
B) 32
C) 64
D) 128
*Answer:* B) 32
*56.* *Which device connects different networks together?*
A) Switch
B) Bridge
C) Router
D) Repeater
*Answer:* C) Router
*57.* *The smallest unit of data in networking is:*
A) Packet
B) Segment
C) Frame
D) Bit
*Answer:* D) Bit
*58.* *Which of the following is a type of switching in networks?*
A) Packet switching
B) Circuit switching
C) Message switching
D) All of the above
*Answer:* D) All of the above
*59.* *What does NIC stand for?*
A) Network Interface Card
B) Network Internal Card
C) Network Interconnect Channel
D) None of the above.
*Answer:* A) Network Interface Card
*60.* *Which of these operates at both Layer 2 and Layer 3 of the OSI model?*
A) Switch
B) Router
C) Layer 3 Switch
D) Hub
*Answer:* C) Layer 3 Switch
*61.* *Pulse rate is always ____ the bit rate.*
A) Greater than
B) Less than
C) Greater than or equal to
D) Less than or equal to
*Answer:* C) Greater than or equal to
*62.* *______ encoding has a transition at the middle of each bit.*
A) RZ
B) Manchester
C) Differential Manchester
D) All of the above
*Answer:* D) All of the above
*63.* *______ encoding has a transition at the beginning of each 0 bit.*
A) RZ
B) Manchester
C) Differential Manchester
D) All of the above
*Answer:* C) Differential Manchester
*64.* *PCM is an example of ____ conversion.*
A) Digital-to-digital
B) Digital-to-analog
C) Analog-to-analog
D) Analog-to-digital
*Answer:* D) Analog-to-digital
*65.* *If the frequency spectrum of a signal has a bandwidth of 500 Hz with the highest
frequency at 600 Hz, what should be the sampling rate, according to the Nyquist theorem?*
A) 200 samples/s
B) 500 samples/s
C) 1000 samples/s
D) 1200 samples/s
*Answer:* C) 1000 samples/s
*66.* *The Nyquist theorem specifies the minimum sampling rate to be _____.*
A) Equal to the lowest frequency of a signal
D) Assigns IP addresses
*Answer:* C) Amplifies and retransmits signals
*73.* *Which device operates at the Physical layer of the OSI model?*
A) Switch
B) Router
C) Hub
D) Bridge
*Answer:* C) Hub
*74.* *What is the maximum length of a standard Ethernet cable (Cat5e)?*
A) 50 meters
B) 100 meters
C) 150 meters
D) 200 meters
*Answer:* B) 100 meters
*75.* *Which protocol is used to securely browse websites?*
A) HTTP
B) FTP
C) HTTPS
D) SMTP
*Answer:* C) HTTPS
*76.* *What does the term 'bandwidth' refer to in data communication?*
A) The physical width of a cable
B) The number of devices on a network
C) The data transfer rate of a network
D) The length of a network cable
*Answer:* C) The data transfer rate of a network
*77.* *Which layer of the OSI model is responsible for error detection and correction?*
A) Physical
B) Data Link
C) Network
D) Transport
*Answer:* B) Data Link
*78.* *Which protocol is used for remote login?*
A) FTP
B) HTTP
C) TELNET
D) SMTP
*Answer:* C) TELNET
*79.* *Which of the following is a characteristic of fiber-optic cables?*
A) Susceptible to electromagnetic interference
B) High bandwidth capacity
C) Uses electrical signals
D) Made of copper
*Answer:* B) High bandwidth capacity
*80.* *What is the purpose of the ARP protocol?*
A) Assign IP addresses
B) Resolve IP addresses to MAC addresses
C) Encrypt data
D) None of the above
*Answer:* B) Resolve IP addresses to MAC addresses
*81.* *Which topology requires a central hub?*
A) Mesh
B) Star
C) Ring
D) Bus
*Answer:* B) Star
*82.* *Which layer of the OSI model is responsible for data encryption?*
A) Presentation
B) Session
C) Transport
D) Application
*Answer:* A) Presentation
*83.* *Which of the following is a guided transmission medium?*
A) Microwave
B) Satellite
C) Twisted pair cable
D) Infrared
*Answer:* C) Twisted pair cable
*84.* *Which of these protocols is used for secure communication over the Internet?*
A) HTTP
B) FTP
C) HTTPS
D) SMTP
*Answer:* C) HTTPS
*85.* *In a ring topology, data travels in:*
A) One direction
B) Two directions
C) Random directions
D) None of the above
*Answer:* A) One direction
*86.* *Which device operates at the Network layer of the OSI model?*
A) Switch
B) Hub
C) Router
D) Repeater
*Answer:* C) Router
*87.* *What does FTP stand for?*
A) File Transfer Protocol
B) Fast Transfer Protocol
C) File Transmission Protocol
D) None of the above
*Answer:* A) File Transfer Protocol
*88.* *Which of the following is a type of switching in networks?*
A) Packet switching
B) Circuit switching
C) Message switching
D) All of the above
*Answer:* D) All of the above
*89.* *What does NIC stand for?*
A) Network Interface Card
B) Network Internal Card
C) Network Interconnect Channel
is used to uniquely identify a device on a network?*
Here are the remaining *Data Communication MCQs (91–100)* to complete your full set of
100:
---
*91.* *Which of the following transmission media is immune to electromagnetic
interference?*
A) Coaxial cable
B) Twisted pair cable
C) Optical fiber
D) Microwave
*Answer:* C) Optical fiber
*92.* *What is the main purpose of multiplexing?*
A) Error correction
B) Speed reduction
C) Cost reduction by sharing a medium
D) Network segmentation
*Answer:* C) Cost reduction by sharing a medium
*93.* *Which of the following is a network device used to regenerate signals?*
A) Switch
B) Router
C) Repeater
D) Modem
*Answer:* C) Repeater
*94.* *Which protocol helps in network management and monitoring?*
A) FTP
B) SMTP
C) SNMP
D) DHCP
*Answer:* C) SNMP
*95.* *IPv6 address is made up of how many bits?*
A) 32
B) 64
C) 128
D) 256
*Answer:* C) 128
*96.* *Which layer of the OSI model handles data compression?*
A) Network
B) Transport
C) Presentation
D) Application
*Answer:* C) Presentation
*97.* *Which layer of the OSI model converts bits to signals for transmission?*
A) Physical
B) Data Link
C) Network
D) Session
*Answer:* A) Physical
*98.* *Which of the following is used to uniquely identify a device on a network?*
A) Port number
B) MAC address
C) Hostname
D) Subnet
*Answer:* B) MAC address
*99.* *Which of the following does not operate at the application layer?*
A) HTTP
B) DNS
C) TCP
D) FTP
*Answer:* C) TCP
*100.* *The header added at the transport layer is called a:*
A) Frame
B) Segment
C) Packet
D) Data unit
*Answer:* B) Segment