Unit 3: MAC Sublayer and IP Addressing - Practice Quiz

CSE306 — Computer Networks 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the main purpose of a multiple access protocol?

Multiple Access Protocols Easy
A. To select paths between remote networks
B. To coordinate access to a shared channel
C. To encrypt data sent across a channel
D. To assign names to network devices

2 Which layer commonly handles multiple access protocols in a local area network?

Multiple Access Protocols Easy
A. Application layer
B. Session layer
C. Transport layer
D. MAC sublayer

3 In Pure ALOHA, when may a station transmit a frame?

ALOHA Easy
A. Only after receiving a token
B. Whenever it has data to send
C. Whenever the channel is reserved
D. Only at fixed time boundaries

4 How does Slotted ALOHA differ from Pure ALOHA?

ALOHA Easy
A. It divides time into fixed slots
B. It assigns each station a frequency
C. It uses a circulating access token
D. It removes acknowledgments entirely

5 What does a station normally do after a collision in ALOHA?

ALOHA Easy
A. It retransmits after a random delay
B. It waits for a routing table update
C. It immediately changes its IP address
D. It permanently stops using the channel

6 What does a station do before transmitting in CSMA?

CSMA Easy
A. It sends a token to every station
B. It listens to the communication channel
C. It divides the frame into time slots
D. It requests an address from a router

7 What does the abbreviation CSMA stand for?

CSMA Easy
A. Carrier Signal Management Access
B. Channel Sense Multiple Allocation
C. Channel Select Media Assignment
D. Carrier Sense Multiple Access

8 What does the CD in CSMA/CD represent?

CSMA/CD Easy
A. Channel Division
B. Carrier Distribution
C. Connection Delay
D. Collision Detection

9 What does a station do when it detects a collision in CSMA/CD?

CSMA/CD Easy
A. It completes the frame without interruption
B. It changes to a new subnet immediately
C. It stops transmitting and retries later
D. It forwards the frame through a router

10 Which type of address is carried in an Ethernet frame header?

Ethernet protocol Easy
A. MAC address
B. Domain name
C. Port address
D. Process ID

11 What is the standard length of an Ethernet MAC address?

Ethernet protocol Easy
A. 32 bits
B. 128 bits
C. 64 bits
D. 48 bits

12 Which field allows an Ethernet receiver to check whether a frame was corrupted?

Ethernet protocol Easy
A. EtherType
B. Frame Check Sequence
C. Preamble
D. Source MAC address

13 Which classful IPv4 class uses the default subnet mask 255.0.0.0?

Classful IP Addressing Easy
A. Class C
B. Class A
C. Class D
D. Class B

14 Which class does the IPv4 address 172.16.5.10 belong to under classful addressing?

Classful IP Addressing Easy
A. Class D
B. Class B
C. Class A
D. Class C

15 What is the default prefix length of a Class C IPv4 network?

Classful IP Addressing Easy
A. /8
B. /16
C. /24
D. /32

16 What does CIDR stand for?

Classless IP Addressing Easy
A. Centralized Inter-Domain Relay
B. Classless Internal Data Relay
C. Classless Inter-Domain Routing
D. Classful Internet Data Routing

17 What does /24 indicate in the CIDR address 192.168.1.0/24?

Classless IP Addressing Easy
A. The network prefix uses 24 bits
B. The address has 24 total bits
C. The network contains 24 devices
D. The host identifier uses 24 bits

18 Which subnet mask is equivalent to the CIDR prefix /16?

Classless IP Addressing Easy
A. 255.255.0.0
B. 255.0.0.0
C. 255.255.255.255
D. 255.255.255.0

19 What is the network address of host 192.168.1.25/24?

Subnetting examples Easy
A. 192.168.1.25
B. 192.168.0.0
C. 192.168.1.255
D. 192.168.1.0

20 How many usable host addresses are available in an IPv4 /30 subnet?

Subnetting examples Easy
A. 6
B. 4
C. 8
D. 2

21 A shared broadcast channel has many stations, but collisions occur only occasionally because traffic is light. Which protocol category allows stations to transmit without a central controller and resolves contention when it occurs?

Multiple Access Protocols Medium
A. Controlled-access protocol
B. Random-access protocol
C. Channelization protocol
D. Circuit-switching protocol

22 A channel of bandwidth Mbps is divided equally among four continuously active stations using FDMA. Ignoring guard bands, what bandwidth is assigned to each station?

Multiple Access Protocols Medium
A. Mbps
B. Mbps
C. Mbps
D. Mbps

23 In Pure ALOHA, each frame requires ms for transmission. What is the vulnerable period during which another transmission can cause a collision?

ALOHA Medium
A. ms
B. ms
C. ms
D. ms

24 A Slotted ALOHA network generates an average offered load of frame per slot. Using , what is the approximate normalized throughput?

ALOHA Medium
A.
B.
C.
D.

25 Why does Slotted ALOHA achieve a higher maximum throughput than Pure ALOHA?

ALOHA Medium
A. It reserves the channel before every transmission
B. It permits transmission only at slot boundaries
C. It assigns a permanent slot to each station
D. It detects collisions while frames are transmitted

26 A station using nonpersistent CSMA senses that the channel is busy. What should the station do next?

CSMA Medium
A. Continue sensing until the channel becomes idle
B. Send a collision-warning signal immediately
C. Transmit immediately with probability
D. Wait randomly before sensing the channel again

27 Two stations using 1-persistent CSMA are waiting while the channel is busy. What is most likely to happen when the current transmission ends?

CSMA Medium
A. One station receives a reservation automatically
B. Both stations wait for fixed time slots
C. Both stations transmit and may collide
D. Only the station with the lower address transmits

28 In a Mbps CSMA/CD network, the maximum one-way propagation delay is microseconds. What minimum frame size is required for reliable collision detection?

CSMA/CD Medium
A. bits
B. bits
C. bits
D. bits

29 After the third collision, Ethernet's binary exponential backoff selects an integer from which range?

CSMA/CD Medium
A. through
B. through
C. through
D. through

30 Why is CSMA/CD generally unnecessary on a modern switched Ethernet link operating in full-duplex mode?

CSMA/CD Medium
A. Full-duplex links use token-based channel access
B. Each link has separate transmit and receive paths
C. Switches eliminate the need for MAC addresses
D. Ethernet switches retransmit all damaged frames

31 An Ethernet switch receives a frame whose destination MAC address is not present in its forwarding table. What does the switch normally do?

Ethernet protocol Medium
A. Drop the frame without forwarding it
B. Broadcast the frame back through the input port
C. Flood the frame through all other ports
D. Send the frame only to the default gateway

32 An Ethernet frame carries bytes of upper-layer data. How many padding bytes are required to meet the standard minimum payload size?

Ethernet protocol Medium
A. bytes
B. bytes
C. bytes
D. bytes

33 A switch learns that MAC address 00:1A:2B:3C:4D:5E is reachable through port 4. Which frame field did the switch examine to learn this mapping?

Ethernet protocol Medium
A. Source MAC address
B. Destination MAC address
C. EtherType value
D. Frame check sequence

34 Under classful addressing, what are the network address and default mask for the host address 172.20.14.8?

Classful IP Addressing Medium
A. 172.20.0.0 and 255.255.0.0
B. 172.0.0.0 and 255.0.0.0
C. 172.20.14.8 and 255.255.255.255
D. 172.20.14.0 and 255.255.255.0

35 A Class C network uses its default subnet mask. How many usable host addresses are available in that network?

Classful IP Addressing Medium
A.
B.
C.
D.

36 Which CIDR block contains the address 192.168.10.77/26?

Classless IP Addressing Medium
A. 192.168.10.128/26
B. 192.168.10.64/26
C. 192.168.10.0/26
D. 192.168.10.192/26

37 A router has routes 10.0.0.0/8, 10.20.0.0/16, and 10.20.30.0/24. Which route is selected for destination 10.20.30.45?

Classless IP Addressing Medium
A. The default route
B. 10.20.0.0/16
C. 10.0.0.0/8
D. 10.20.30.0/24

38 What is the smallest CIDR prefix that provides at least usable IPv4 host addresses?

Classless IP Addressing Medium
A. /21
B. /22
C. /24
D. /23

39 The network 192.168.50.0/24 must be divided into at least six equal-size subnets. Which new prefix provides enough subnets while retaining the most host addresses per subnet?

Subnetting examples Medium
A. /26
B. /25
C. /27
D. /28

40 For the subnet 10.1.8.0/21, which pair gives the valid host range?

Subnetting examples Medium
A. 10.1.8.1 to 10.1.15.255
B. 10.1.8.1 to 10.1.16.254
C. 10.1.0.1 to 10.1.15.254
D. 10.1.8.1 to 10.1.15.254

41 A bit-map reservation protocol serves 64 stations. Each reservation cycle contains one reservation bit per station, followed by one 1000-bit data frame from every station that reserved a slot. If exactly 8 stations transmit in each cycle and guard times and acknowledgments are ignored, what is the channel efficiency?

Multiple Access Protocols Hard
A.
B.
C.
D.

42 In a pure ALOHA network, frames have a fixed transmission time of ms. Including retransmissions, attempts form a Poisson process at 1000 frames per second. Approximately how many frames per second are successfully delivered?

ALOHA Hard
A. frames/s
B. frames/s
C. frames/s
D. frames/s

43 A slotted ALOHA system is measured to have normalized throughput . Assuming Poisson attempts and , which pair gives the two possible approximate offered loads?

ALOHA Hard
A. and
B. and
C. and
D. and

44 Stations A and B are at opposite ends of a bus with one-way propagation delay . Under 1-persistent CSMA, A begins transmitting at , while B senses the channel idle and begins at . Ignoring collision-detection circuitry delay, when do B and A first detect the collision, respectively?

CSMA Hard
A. B at ; A at
B. B at ; A at
C. B at ; A at
D. B at ; A at

45 Five stations are ready at the beginning of the same idle slot in a -persistent CSMA system. Assuming independent decisions, which value of maximizes the probability that exactly one station transmits, and what is that maximum probability?

CSMA Hard
A. and probability
B. and probability
C. and probability
D. and probability

46 A custom Gbit/s CSMA/CD LAN has a maximum station separation of 500 m. Signal propagation speed is m/s, and repeaters add a total one-way delay of . What minimum frame length is required so that a sender is still transmitting when a worst-case collision returns?

CSMA/CD Hard
A. 1125 bytes
B. 625 bytes
C. 900 bytes
D. 1250 bytes

47 After its tenth collision, an Ethernet station applies binary exponential backoff and chooses uniformly from through . What is the probability that its selected backoff is at least 512 slot times?

CSMA/CD Hard
A.
B.
C.
D.

48 A full-duplex Ethernet link continuously sends maximum-size untagged frames with 1500-byte payloads. Count the 18-byte MAC header/FCS overhead, 8-byte preamble/SFD, and 12-byte interframe gap. What fraction of link capacity carries payload?

Ethernet protocol Hard
A.
B.
C.
D.

49 On a 100 Mbit/s Ethernet link, what time elapses from the first bit of a frame's preamble until the earliest legal start of the next frame if the MAC frame is the minimum 64 bytes? Include the 8-byte preamble/SFD and 12-byte interframe gap.

Ethernet protocol Hard
A.
B.
C.
D.

50 Under classful IPv4 addressing, which tuple correctly describes the address 191.255.1.1?

Classful IP Addressing Hard
A. Class B; network 191.255.0.0; broadcast 191.255.255.255
B. Class B; network 191.0.0.0; broadcast 191.255.255.255
C. Class A; network 191.0.0.0; broadcast 191.255.255.255
D. Class C; network 191.255.1.0; broadcast 191.255.1.255

51 The Class B network 150.40.0.0 is subnetted by borrowing 6 host bits. Under modern rules that permit subnet zero and the all-ones subnet, which result is correct?

Classful IP Addressing Hard
A. 64 subnets with 1024 usable hosts each
B. 256 subnets with 254 usable hosts each
C. 62 subnets with 1022 usable hosts each
D. 64 subnets with 1022 usable hosts each

52 A router has routes 203.0.113.0/24 via A, 203.0.113.64/26 via B, 203.0.113.128/25 via C, and 203.0.113.192/27 via D. Which next hop is selected for destination 203.0.113.207?

Classless IP Addressing Hard
A. Next hop B
B. Next hop C
C. Next hop A
D. Next hop D

53 A router has eight routes covering every /24 network from 10.44.32.0/24 through 10.44.39.0/24, with no gaps. What is the most specific single CIDR aggregate that represents exactly these routes?

Classless IP Addressing Hard
A. 10.44.32.0/21
B. 10.44.36.0/21
C. 10.44.32.0/20
D. 10.44.32.0/22

54 An organization needs one CIDR block containing at least 3000 IPv4 addresses, and the block must begin exactly at 172.20.48.0. What is the smallest valid block?

Classless IP Addressing Hard
A. 172.20.48.0/20
B. 172.20.48.0/19
C. 172.20.48.0/21
D. 172.20.48.0/18

55 A CIDR block has prefix length /20. How many distinct /27 subnets can it contain, and how many conventional usable host addresses does each /27 provide?

Classless IP Addressing Hard
A. 128 subnets and 30 hosts each
B. 128 subnets and 32 hosts each
C. 64 subnets and 30 hosts each
D. 256 subnets and 14 hosts each

56 Using VLSM, 192.168.50.0/24 is allocated in descending requirement order: 100 hosts, 50 hosts, and 25 hosts. Each subnet is assigned the lowest available aligned block. What is the largest remaining aligned subnet?

Subnetting examples Hard
A. 192.168.50.208/28
B. 192.168.50.240/28
C. 192.168.50.224/28
D. 192.168.50.224/27

57 For host address 203.0.113.77/27, which network, usable-host range, and directed-broadcast address are correct?

Subnetting examples Hard
A. Network .64; hosts .65-.95; broadcast .96
B. Network .64; hosts .65-.94; broadcast .95
C. Network .72; hosts .73-.94; broadcast .95
D. Network .32; hosts .33-.62; broadcast .63

58 The network 10.0.0.0/20 must be divided into equal-size subnets. At least 10 subnets are required, and each must support at least 100 conventional usable hosts. Which prefix maximizes hosts per subnet while meeting both constraints?

Subnetting examples Hard
A. /22
B. /23
C. /25
D. /24

59 A point-to-point router link is assigned 192.0.2.10/31 and follows RFC 3021. Which statement is correct?

Subnetting examples Hard
A. Neither address is usable without changing the prefix to /30
B. Only .10 is usable because .11 is the broadcast address
C. Only .11 is usable because .10 is the network address
D. Both .10 and .11 are usable as endpoint addresses

60 An administrator proposes assigning 192.168.10.64/26 to one LAN and 192.168.10.96/27 to another LAN. What is the exact relationship between these subnets?

Subnetting examples Hard
A. The /27 is entirely contained in the /26
B. They are adjacent and non-overlapping
C. They overlap only at one broadcast address
D. The /26 is entirely contained in the /27