Question 1
EasyHow long is a MAC address?
- A.
64 bits
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Computer Networks
How long is a MAC address?
64 bits
32 bits
128 bits
48 bits
Answer: D
A MAC address is 6 bytes, usually written as 12 hexadecimal digits, e.g. 00:1A:2B:3C:4D:5E.
Which protocol finds the MAC address that belongs to an IP address on a local network?
ICMP
ARP
DNS
DHCP
Answer: B
ARP broadcasts 'who has this IP?' and the owner replies with its MAC address.
Which media access method does classic (shared) Ethernet use?
Token passing
CSMA/CD
TDMA
CSMA/CA
Answer: B
Carrier Sense Multiple Access with Collision Detection: listen before sending, and stop and back off on a collision.
Which media access method does Wi-Fi (802.11) use?
CSMA/CD
ALOHA only
Token ring
CSMA/CA
Answer: D
Wireless devices can't reliably detect collisions while sending, so they try to avoid them (Collision Avoidance), using back-off and acknowledgements.
Which error-detection method is used in Ethernet frames?
Checksum of the IP header
A single parity bit
CRC (cyclic redundancy check)
Hamming code correction
Answer: C
Ethernet appends a 32-bit CRC (the frame check sequence) to detect transmission errors.
What is the standard maximum payload (MTU) of an Ethernet frame?
64 bytes
1500 bytes
9000 bytes
512 bytes
Answer: B
Standard Ethernet carries up to 1500 bytes of data; jumbo frames are an optional extension.
Which device separates collision domains in a LAN?
Switch
Repeater
Cable
Hub
Answer: A
Each switch port is its own collision domain; a hub puts all ports in one.
What are the two sublayers of the data link layer?
Session and presentation
Logical Link Control (LLC) and Media Access Control (MAC)
TCP and UDP
IP and ICMP
Answer: B
LLC talks to the network layer; MAC controls access to the shared medium.
What is framing at the data link layer?
Dividing the stream of bits into frames with clear start and end markers
Putting a picture frame on a monitor
Choosing the route
Encrypting data
Answer: A
The receiver uses the markers to find where each frame begins and ends.
What is bit stuffing?
Adding extra bits to make a file bigger
Removing all zeros from data
Inserting a 0 after five consecutive 1s in the data so it can't be mistaken for the flag pattern
Compressing data
Answer: C
The receiver removes the stuffed 0s to get the original data back.