Computer Networks is 4-6 questions on the FE Electrical exam. Almost all of them are conceptual: which device or layer does a job, what an address or subnet means, what a topology trades off, and what a security control protects against.
The one calculation that recurs is IPv4 subnetting: the number of addresses in a prefix, the usable host count and the range of a block.
Exam weight: NCEES lists Computer Networks at 4-6 questions (4-5%) of the 110-question FE Electrical and Computer exam. Work each problem below on paper first, then reveal the worked solution — reading a solution you have not attempted builds recognition, not recall.
What NCEES Tests in Computer Networks
The specification lists routing and switching, network topologies (mesh, ring, star), network types (LAN, WAN, internet), network models (OSI, TCP/IP), network intrusion detection and prevention and security (port scanning, vulnerability testing, penetration testing, security triad).
The specification lists routing and switching, network topologies (mesh, ring, star), network types (LAN, WAN, internet), network models (OSI, TCP/IP), intrusion detection and prevention, and security (port scanning, vulnerability testing, penetration testing, the security triad).
Expect to place a protocol or device on an OSI layer, distinguish a switch from a router, count the hosts in a subnet, identify a private address block, compare TCP with UDP, explain what an intrusion detection system does that a firewall does not, and name the three parts of the security triad.
5 Free Computer Networks Practice Problems
Each problem below comes from the PECivilClick FE Electrical question bank, with a worked solution that cites its FE Reference Handbook page, and matches the style, difficulty and format of the real exam. Attempt each one under a three-minute limit — roughly the pace the exam demands.
Problem 1 — A. Routing and switching
Which routing protocol uses hop count as its only metric and treats any destination more than 15 hops away as unreachable?
Answer: C) RIP
The Handbook assigns the network layer the job of finding appropriate routes between end hosts and forwarding packets along them (p. 394); routing protocols are how routers build those routes, and they differ in the metric they minimise. The Routing Information Protocol, RIP, is the classic distance-vector protocol: each router periodically tells its neighbours its whole table, the metric is simply the number of routers a packet must cross, and 16 is defined as infinity, so a path of 16 or more hops is unreachable. The limit is what keeps the count-to-infinity problem of distance-vector routing bounded, and it is also what confines RIP to small networks, since a 15-hop diameter and a metric blind to link speed suit neither a campus backbone nor the Internet. The IP time-to-live field of p. 399, which has become a hop count decremented at every router, is a separate mechanism that discards looping packets regardless of the routing protocol.
OSPF is a link-state protocol: every router floods the state of its links, builds the full topology and runs a shortest-path computation on a cost that is normally derived from link bandwidth, with no 15-hop limit.
EIGRP uses a composite metric built from bandwidth and delay, with an optional load and reliability, and supports far larger hop counts.
BGP is the path-vector protocol between autonomous systems; it chooses routes by policy and path attributes, not by a hop count.
Problem 2 — C. Network types (LAN, WAN, internet)
Which type of network typically covers a single building or campus and operates at high data rates?
Answer: D) LAN
A local area network, the LAN of the Handbook's abbreviation list on p. 394 and of the address-assignment section on p. 406, is the network of one site: a building, an office floor or a campus under a single administration. Because the distances are short and the owner installs the cabling, a LAN runs the fastest and cheapest links available, switched Ethernet at 1 to 100 Gb/s over copper and fibre and Wi-Fi for wireless access, and its stations obtain addresses by DHCP, static configuration or SLAAC as p. 406 lists. The classes of network are defined by reach: a personal area network spans the few metres around one user, a metropolitan area network a city, and a wide area network joins sites across regions or countries over circuits leased from a carrier, at rates and latencies set by the carrier rather than the owner. The Internet is the WAN of WANs.
WAN spans cities or countries over carrier links, typically slower and higher in latency than a LAN.
MAN covers a metropolitan area, larger than a campus and smaller than a region.
PAN is the Bluetooth-scale network around a single person.
Problem 3 — B. Network topologies (mesh, ring, star)
A network of 8 nodes is built as a full mesh, every node having a direct link to every other node. How many links are required?
Answer: C) 28
Count from one node: it needs a link to each of the other \(n - 1 = 7\) nodes. Doing that for all 8 nodes gives \(8 \times 7 = 56\) link ends, but every link has been counted twice, once from each of its two nodes, so the number of links is
$$\dfrac{n(n - 1)}{2} = \dfrac{8 \times 7}{2} = 28$$
This is the number of ways to choose 2 nodes out of 8, since a link is simply a pair of nodes. The Handbook's mesh diagram on p. 407 shows the pattern, every station joined to every other, and the arithmetic shows its cost: the link count grows with the square of the node count, so doubling the nodes to 16 needs 120 links, and each node needs \(n - 1\) interfaces. In return the mesh has no single point of failure and a one-hop path between every pair, which is why it is used for small backbone cores and among a handful of WAN sites but never for end stations, which are served by the star of p. 407 with one link each.
56 is \(n(n - 1)\), every link counted twice.
7 is \(n - 1\), the links, or interfaces, at a single node.
8 is the link count of a ring of 8 nodes, one link per node.
Problem 4 — D. Network models (OSI, TCP/IP)
Which protocol provides reliable, connection-oriented delivery at the transport layer?
Answer: C) TCP
The Handbook's Protocol Definitions on p. 394 describe the Transmission Control Protocol as a connection-oriented protocol that detects lost packets, duplicated packets or packets received out of order and has mechanisms to correct these problems. Those mechanisms are the fields of the TCP header on pp. 401 and 402: a connection is opened with the SYN flag and the exchange of initial sequence numbers, every byte is numbered, the acknowledgment number tells the sender what has arrived so that anything unacknowledged is retransmitted, the window size throttles the sender to what the receiver can hold, and FIN closes the connection. The transport layer of p. 393 is where reliability, in-order delivery, flow control and congestion control are optionally provided, and TCP is the protocol that provides them; the layers below deliver packets on a best-effort basis only.
UDP is the Handbook's connectionless-oriented protocol with less overhead than TCP but no guarantee of delivery, ordering or duplicate protection; its header on p. 403 has only ports, length and checksum.
IP is the network-layer protocol that provides end-to-end addressing and encapsulates TCP or UDP; it does not retransmit.
ICMP is the supporting protocol for error messages and operational information, the echo and unreachable messages of p. 404.
Problem 5 — E. Network intrusion detection and prevention
A network-based intrusion detection system relies on signature-based detection. Which of the following is it LEAST able to detect?
Answer: A) A zero-day exploit with no known signature
Signature-based detection compares traffic against a database of patterns extracted from attacks already seen and analysed: the byte sequence of a known exploit, the probe pattern of a scanning tool, the SQL fragments of an injection attempt like the one the Handbook defines on p. 416. It is precise and fast and produces few false alarms, but it can only recognise what has been written into its database. A zero-day exploit is by definition one for which no defence has yet been published, because the vulnerability was unknown to the vendor when the attack began; there is no signature to match, so the traffic passes as ordinary. Catching such attacks needs the other approach, anomaly-based detection, which learns a baseline of normal traffic and flags deviations from it, at the cost of more false positives; production systems combine the two. The same limitation applies to signature-based antivirus and to any endpoint detection that relies on known indicators.
A port scan made with a well-known scanning tool has a recognisable probe pattern, the SYN, NULL, FIN and XMAS scans of p. 416, and is among the easiest events to signature.
A known SQL injection attack pattern and a previously known buffer overflow exploit are exactly what the database contains; being known is what makes them detectable.
Using the FE Reference Handbook for Computer Networks
Computer networking begins on p. 393 of the Handbook with the OSI and TCP/IP models, continues with protocol definitions on p. 394, IP addressing on p. 395, the special IPv4 blocks on p. 396, the IPv4 header on p. 397, local area networks and topologies on pp. 406-407, firewalls on p. 414, port scanning, vulnerability testing and endpoint detection on p. 416 and the security triad on p. 417. Routing protocols, VLANs and intrusion detection are not described in the body, so those questions are answerable from definitions.
Four Mistakes That Cost Points
- Counting the network and broadcast addresses as hosts. A prefix of length n has two to the power of 32 minus n addresses, two of which cannot be assigned. A /24 has 254 usable hosts, not 256.
- Placing a switch at layer 3. A switch forwards frames by MAC address at the data-link layer; a router forwards packets by IP address at the network layer. Layer-3 switches exist, but the exam's plain switch is layer 2.
- Treating a firewall as an intrusion detection system. A firewall enforces rules on addresses, ports and connection state; an intrusion detection system inspects traffic for attack patterns and raises alerts. They are complementary, not interchangeable.
- Confusing a vulnerability scan with a penetration test. A scan lists known weaknesses without exploiting them; a penetration test is an authorized attempt to exploit them and requires written permission and scope.
Frequently Asked Questions
How many computer networks questions are on the FE Electrical exam?
NCEES specifies 4-6 questions out of 110, about 4 to 5 percent of the exam.
Do I need to memorize the OSI layers?
Yes, in order, with one example per layer: physical bits, data-link frames and MAC addresses, network packets and IP, transport segments and ports, session, presentation, and application protocols such as HTTP and DNS.
How much subnetting arithmetic is expected?
Enough to convert between prefix length and subnet mask, count addresses and usable hosts, and identify the range of a block. Complex variable-length subnet design is not tested.
What security concepts are tested?
The security triad of confidentiality, integrity and availability; the difference between port scanning, vulnerability testing and penetration testing; firewalls versus intrusion detection and prevention; and endpoint detection.
Keep Going
These topics feed into each other on the exam:
- FE Electrical Computer Systems practice problems — 5-8 questions on the exam
- FE Electrical Communications practice problems — 5-8 questions on the exam
- FE Electrical Software Engineering practice problems — 4-6 questions on the exam
Done with computer networks? Browse every knowledge area from the free FE Electrical practice problem hub, see what the full bank covers on the FE Electrical exam prep page, or plan your schedule with the FE study timeline.