Unit 2 - Practice Quiz

CSE357 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 Which of the following formulas represents the number of links required in a fully connected mesh topology with devices?

A.
B.
C.
D.

2 Which layer of the OSI model is responsible for logical addressing and routing?

A. Data Link Layer
B. Session Layer
C. Transport Layer
D. Network Layer

3 In the context of IPv4, what is the length of an IP address in bits?

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

4 Which transmission medium uses light pulses to transmit data and relies on the principle of total internal reflection?

A. Shielded Twisted Pair (STP)
B. Fiber Optic Cable
C. Unshielded Twisted Pair (UTP)
D. Coaxial Cable

5 Given a subnet mask of 255.255.255.240, what is the CIDR notation?

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

6 Which protocol is primarily used for resolving domain names to IP addresses?

A. FTP
B. DNS
C. ARP
D. DHCP

7 In the TCP/IP model, which protocol provides reliable, connection-oriented data delivery?

A. TCP
B. IP
C. UDP
D. Ethernet

8 What is the standard port number for unencrypted HTTP traffic?

A. 25
B. 443
C. 80
D. 21

9 If a network has a subnet mask of /26, how many usable host IP addresses are available per subnet?

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

10 Which network topology features a central node (hub or switch) to which all other nodes are individually connected?

A. Star
B. Ring
C. Bus
D. Mesh

11 Which of the following is an Application Layer protocol used for sending emails?

A. POP3
B. SNMP
C. SMTP
D. IMAP

12 In data encapsulation, what is the Protocol Data Unit (PDU) called at the Transport Layer when using TCP?

A. Segment
B. Bit
C. Frame
D. Packet

13 What is the primary difference between POP3 and IMAP?

A. POP3 runs on port 80, while IMAP runs on port 25.
B. POP3 generally downloads and deletes mail from the server, while IMAP syncs mail across multiple devices.
C. POP3 sends mail, IMAP receives mail.
D. IMAP is unsecured, while POP3 uses encryption.

14 Which layer of the OSI model deals with physical addressing (MAC addresses)?

A. Network Layer
B. Transport Layer
C. Data Link Layer
D. Physical Layer

15 Calculate the broadcast address for the network 192.168.10.0/25.

A. 192.168.10.100
B. 192.168.10.255
C. 192.168.10.127
D. 192.168.10.128

16 Which FTP command connection port is traditionally used to control the conversation?

A. 23
B. 20
C. 21
D. 22

17 In a Bus Topology, what is needed at both ends of the cable to prevent signal reflection?

A. Router
B. Amplifier
C. Bridge
D. Terminator

18 Which device operates primarily at the Physical Layer of the OSI model?

A. Router
B. Gateway
C. Switch
D. Hub

19 What is the purpose of the DHCP protocol?

A. To translate domain names to IP addresses.
B. To send email messages.
C. To automatically assign IP addresses and configuration parameters to hosts.
D. To transfer files securely.

20 If an IP address is Class B, what is the default subnet mask?

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

21 Which HTTP method is used to submit data to be processed to a specified resource, often causing a change in state or side effects on the server?

A. POST
B. OPTIONS
C. GET
D. HEAD

22 What is the transmission mode where communication is unidirectional (one-way only)?

A. Half-Duplex
B. Simplex
C. Full-Duplex
D. Multiplex

23 In the OSI model, which layer is responsible for encryption, decryption, compression, and formatting of data?

A. Presentation Layer
B. Application Layer
C. Session Layer
D. Transport Layer

24 Given the IP 172.16.0.0/12, how many bits are borrowed from the host portion if the default classful mask is used as the baseline?

A. 2
B. 0
C. 6
D. 4

25 How many bits are 'borrowed' from the host portion to create subnets if a Class C network uses a /27 subnet mask?

A. 3
B. 4
C. 5
D. 2

26 Which header field in an IP packet prevents infinite looping of packets?

A. Time to Live (TTL)
B. Sequence Number
C. Acknowledgment Number
D. Checksum

27 Which component of a URL identifies the specific protocol to be used?

A. Path
B. Query String
C. Scheme
D. Domain Name

28 Which of the following describes a Ring Topology?

A. Each node connects to every other node.
B. Each node connects to exactly two other nodes, forming a closed loop.
C. All nodes connect to a central device.
D. All nodes connect to a single central cable.

29 Which type of twisted pair cable provides better protection against electromagnetic interference (EMI)?

A. STP (Shielded Twisted Pair)
B. Fiber Optic
C. Coaxial
D. UTP (Unshielded Twisted Pair)

30 In the DORA process of DHCP, what does the 'O' stand for?

A. Optimize
B. Obtain
C. Open
D. Offer

31 What is the decimal equivalent of the binary IP octet 11000000?

A. 128
B. 168
C. 224
D. 192

32 Which protocol is connectionless and does not guarantee delivery?

A. SMTP
B. TCP
C. FTP
D. UDP

33 In a router, what is the function of the Routing Table?

A. To assign IP addresses to clients.
B. To list routes to particular network destinations and associated metrics.
C. To store MAC addresses of connected devices.
D. To encrypt data packets.

34 What is the maximum data payload size (MTU) typically for an Ethernet frame?

A. 1024 bytes
B. 1500 bytes
C. 65535 bytes
D. 64 bytes

35 Which DNS record type maps a hostname to an IPv6 address?

A. AAAA
B. A
C. CNAME
D. MX

36 When Subnetting, which part of the IP address is manipulated to create subnets?

A. The Protocol bits
B. The Version bits
C. The Network bits
D. The Host bits

37 Which of the following is a private IP address range (RFC 1918)?

A. 172.16.0.0 - 172.31.255.255
B. 128.0.0.0 - 128.255.255.255
C. 8.8.8.0 - 8.8.8.255
D. 11.0.0.0 - 11.255.255.255

38 What is the primary function of the Presentation Layer in the OSI model?

A. Framing
B. Routing
C. End-to-end connection
D. Syntax and Semantics of information

39 In the TCP/IP model, the 'Internet' layer corresponds to which layer of the OSI model?

A. Network
B. Session
C. Transport
D. Data Link

40 Which command is used to test the reachability of a host on an IP network?

A. nslookup
B. ipconfig
C. netstat
D. ping

41 Which status code class in HTTP indicates a successful request?

A. 3xx
B. 2xx
C. 4xx
D. 5xx

42 What happens if a collision occurs in a network using CSMA/CD?

A. The switch buffers the data.
B. The priority of the packet is increased.
C. The data is accepted by the receiver.
D. The transmitting nodes stop, wait for a random time, and retransmit.

43 Which networking device breaks a collision domain but maintains a single broadcast domain (by default)?

A. Router
B. Switch
C. Hub
D. Repeater

44 The combination of an IP address and a Port number is known as a:

A. Packet
B. Gateway
C. Session
D. Socket

45 Using the formula , what is the calculated number of hosts for a /30 subnet?

A. 30
B. 4
C. 6
D. 2

46 Which of the following is NOT a valid private IP address?

A. 192.168.100.5
B. 10.50.20.1
C. 8.8.4.4
D. 172.20.10.1

47 What is the hexadecimal representation of the MAC address length?

A. 128-bit
B. 64-bit
C. 48-bit
D. 32-bit

48 In a client-server architecture using HTTP, which entity initiates the request?

A. Client
B. Server
C. Router
D. DNS

49 Which device connects different networks together and uses IP addresses to determine the best path for data?

A. Router
B. Switch
C. Repeater
D. Bridge

50 What is the function of the DNS 'MX' record?

A. Specifies the mail server responsible for accepting email on behalf of a domain.
B. Stores text-based information.
C. Creates an alias for a domain name.
D. Maps a host to an IP.