Unit 4 - Practice Quiz

CSE306 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 Which of the following is a primary design issue of the Network Layer?

A. Process-to-process delivery
B. Bit-level synchronization
C. Token management
D. Store-and-forward packet switching

2 In the IPv4 header, what is the length of the HLEN (Header Length) field, and what unit does it represent?

A. 16 bits, represents bits
B. 4 bits, represents 4-byte words
C. 8 bits, represents 1-byte words
D. 4 bits, represents 8-byte words

3 Which field in the IPv4 header prevents a packet from circulating indefinitely in a network with routing loops?

A. Fragment Offset
B. Time to Live (TTL)
C. Header Checksum
D. Type of Service

4 Identify the Class of the IPv4 address: 191.255.254.1.

A. Class A
B. Class B
C. Class D
D. Class C

5 What is the default subnet mask for a Class C IP address?

A. 255.255.0.0
B. 255.255.255.0
C. 255.255.255.255
D. 255.0.0.0

6 In Classless Inter-Domain Routing (CIDR), what does the suffix /21 indicate in the address block 192.168.0.0/21?

A. 21 hosts are available
B. The network mask is 21 bits long
C. The host ID is 21 bits long
D. There are 21 subnets

7 Calculate the number of usable hosts in a subnet with the mask 255.255.255.224.

A. 64
B. 62
C. 30
D. 32

8 Which field in the IP header is used to reassemble fragmented packets?

A. TTL and Protocol
B. Identification, Flags, and Fragment Offset
C. TOS and HLEN
D. Source IP and Destination IP

9 What is the maximum size of an IPv4 packet (including header and data)?

A. bytes
B. 4096 bytes
C. 1500 bytes
D. 65,535 bytes

10 If an IP address is 200.10.20.5 and the subnet mask is 255.255.255.240, what is the Subnet Address (Network ID)?

A. 200.10.20.5
B. 200.10.20.4
C. 200.10.20.0
D. 200.10.20.16

11 Which of the following is a private IP address range defined by RFC 1918?

A. 172.16.0.0 to 172.31.255.255
B. 169.254.0.0 to 169.254.255.255
C. 224.0.0.0 to 239.255.255.255
D. 11.0.0.0 to 11.255.255.255

12 In IPv6, how many bits long is the address?

A. 32 bits
B. 128 bits
C. 64 bits
D. 256 bits

13 What is Supernetting predominantly used for?

A. Encrypting IP headers
B. Route aggregation to reduce routing table size
C. Dividing a network into smaller sub-networks
D. Assigning dynamic IP addresses

14 Given the IP address block 192.168.1.0/24, if you need to create 4 subnets, how many bits must be borrowed from the host portion?

A. 2 bits
B. 1 bit
C. 4 bits
D. 3 bits

15 Which of the following represents the loopback address in IPv4?

A. 127.0.0.0/8
B. 255.255.255.255
C. 0.0.0.0
D. 192.168.0.1

16 The Fragment Offset value in the IP header is measured in units of:

A. 4 bytes
B. 8 bytes
C. 1 byte
D. 16 bytes

17 In a Class B network, what is the maximum number of hosts per network?

A. 254
B.
C.
D.

18 Which IPv6 address type identifies a set of interfaces where a packet is delivered to the nearest one?

A. Anycast
B. Multicast
C. Broadcast
D. Unicast

19 What is the result of the bitwise AND operation between IP address 192.168.10.150 and subnet mask 255.255.255.192?

A. 192.168.10.64
B. 192.168.10.128
C. 192.168.10.0
D. 192.168.10.192

20 The Protocol field in the IP header indicates:

A. The higher-level protocol (e.g., TCP, UDP) using the IP layer
B. The type of physical network used
C. The priority of the packet
D. The version of IP protocol

21 In the IPv6 header, which field replaces the TTL (Time To Live) field found in IPv4?

A. Traffic Class
B. Next Header
C. Hop Limit
D. Flow Label

22 Which of the following statements about Connectionless Service in the Network Layer is TRUE?

A. Resources are reserved in advance
B. Packets are treated independently and may take different routes
C. It guarantees in-order delivery
D. Packets are called virtual circuits

23 Find the Broadcast address for the subnet 10.1.1.0/28.

A. 10.1.1.15
B. 10.1.1.14
C. 10.1.1.16
D. 10.1.1.255

24 Which IP Class is reserved for Multicasting?

A. Class B
B. Class D
C. Class C
D. Class E

25 Forwarding in the network layer is primarily the process of:

A. Assigning IP addresses to hosts
B. Calculating the shortest path
C. Creating the routing table
D. Moving a packet from an input interface to an appropriate output interface

26 What is the simplified hexadecimal representation of the IPv6 address 2001:0DB8:0000:0000:0000:0000:1428:57ab?

A. 2001:DB8:1428:57ab
B. 2001:DB8:0:0:0:0:1428:57ab
C. 2001:DB8::0::1428:57ab
D. 2001:DB8::1428:57ab

27 A subnet mask of /30 is typically used for:

A. Point-to-point links between two routers
B. Class A networks
C. Loopback interfaces
D. Large enterprise networks

28 Which mechanism allows a router to group multiple small CIDR blocks into one larger routing entry?

A. Route Aggregation (Supernetting)
B. Subnetting
C. Tunneling
D. Fragmentation

29 If the More Fragments (MF) bit is set to 0 and the Fragment Offset is non-zero, what does this indicate?

A. The packet has been dropped
B. This is the first fragment
C. This is the last fragment of the original packet
D. The packet is not fragmented

30 In Classful addressing, which class range is 240.0.0.0 to 255.255.255.254?

A. Class D
B. Class C
C. Class E
D. Class F

31 What is the Longest Prefix Match rule?

A. The router matches the source IP instead of destination IP
B. The router forwards the packet based on the routing table entry with the longest matching network mask
C. The router selects the route with the fewest hops
D. The router selects the path with the highest bandwidth

32 Which of the following headers is NOT present in IPv6 but was present in IPv4?

A. Destination Address
B. Header Checksum
C. Source Address
D. Hop Limit (TTL)

33 Calculate the first valid host address for the network 192.168.5.0/26.

A. 192.168.5.0
B. 192.168.5.1
C. 192.168.5.63
D. 192.168.5.64

34 What happens if a router receives a packet larger than the Maximum Transmission Unit (MTU) of the outgoing link, and the DF (Don't Fragment) flag is set to 1?

A. The router buffers the packet until the link is clear
B. The router truncates the data
C. The router discards the packet and sends an ICMP error message to the source
D. The router fragments the packet anyway

35 An organization is assigned the block 200.200.200.0/24. They need to create subnets that support at least 20 hosts each. What is the most efficient subnet mask to use?

A. /25
B. /27
C. /26
D. /28

36 Which field in the IPv4 header is used for Quality of Service (QoS) or Differentiated Services?

A. Protocol
B. Type of Service (ToS) / Differentiated Services (DiffServ)
C. Padding
D. Flags

37 How does the IPv6 header handle options?

A. Appended to the data payload
B. IPv6 does not support options
C. Using Extension Headers inserted between the IPv6 header and the upper-layer header
D. Included in the fixed 40-byte header

38 If a host has the IP 172.16.45.14 and mask 255.255.255.252, what is the Broadcast address?

A. 172.16.45.15
B. 172.16.45.12
C. 172.16.45.255
D. 172.16.45.14

39 What is the primary motivation for the transition from IPv4 to IPv6?

A. Faster routing speeds
B. Better encryption standards
C. Address space exhaustion in IPv4
D. Smaller header size

40 Which component of network layer performance is defined as the number of packets passing through the network per unit of time?

A. Throughput
B. Packet Loss
C. Delay
D. Jitter

41 In the context of IPv4, what is the 'Loopback' functionality used for?

A. Creating a routing loop
B. Routing packets back to the source if an error occurs
C. Testing the network interface card and protocol stack software without sending packets on the network
D. Sending data to all hosts on the subnet

42 Given 4 Class C networks: 200.1.0.0, 200.1.1.0, 200.1.2.0, and 200.1.3.0. What is the supernet (aggregated) address?

A. 200.1.0.0/22
B. 200.1.0.0/24
C. 200.1.0.0/23
D. 200.1.0.0/21

43 What is the binary equivalent of the subnet mask 255.255.248.0?

A. 11111111.11111111.11111000.00000000
B. 11111111.11111111.11111110.00000000
C. 11111111.11111111.11110000.00000000
D. 11111111.11111111.11111100.00000000

44 In IPv6, the Flow Label field is used to:

A. Calculate checksums
B. Limit the number of hops
C. Identify the next header type
D. Identify packets belonging to a specific sequence requiring special handling (e.g., real-time audio/video)

45 Which protocol is responsible for mapping an IP address to a physical MAC address?

A. ICMP
B. DHCP
C. ARP
D. RARP

46 A network administrator wants to subnet the network 172.16.0.0/16 into 100 subnets. What is the new subnet mask?

A. /23
B. /22
C. /21
D. /25

47 Which of the following is TRUE regarding IPv6 fragmentation?

A. Only the source node can fragment packets
B. Destination nodes reassemble and re-fragment packets
C. Fragmentation is not supported in IPv6
D. Routers perform fragmentation when the packet is too large

48 What is the purpose of the Padding field in the IPv4 header?

A. To increase the packet size to the minimum Ethernet frame size
B. To add security to the packet
C. To ensure the header ends on a 32-bit boundary
D. To store routing options

49 Which value in the first byte of an IP address indicates a Class A address?

A. 224 - 239
B. 128 - 191
C. 192 - 223
D. 0 - 127

50 If you have a /22 prefix, what is the block size (number of IP addresses) in that subnet?

A. 2048
B. 1024
C. 256
D. 512