Computer Organisation and Networking Fundamentals
Welcome to this comprehensive course on computer organisation and networking fundamentals. In the next several sections you will explore the core concepts that underpin modern computers and…

A program adds two registers R2 and R3 and stores the result in R4. Which component actually performs the addition?
Which of the following statements about two's complement overflow is true?
A network device receives a frame with a destination MAC address that it does not have in its table. What does it do next?
Which layer of the TCP/IP model is responsible for end‑to‑end delivery and uses port numbers?
A /26 subnet mask has how many usable host addresses?
In a typical home network, which address range is used for private IPs?
Which device operates at Layer 3 of the TCP/IP model and forwards packets based on IP addresses?
A computer stores the value 0xA2F7 in a 16‑bit register. What is the decimal equivalent?
During the boot sequence, which routine verifies hardware integrity before the OS is loaded?
If a CPU core runs at 3.2 GHz, how many clock cycles does it complete in one millisecond?
Which of the following best describes the difference between MAC and IP addresses?
A switch learns a new MAC address on port 3. Which of the following statements is true immediately after learning?
Which of the following is a true statement about polling versus interrupts?
A 4‑bit two's complement system can represent which of the following decimal numbers?
When converting the decimal number 156 to binary, which of the following intermediate steps is correct?
Which of the following best explains why a hub causes network congestion?
A router receives a packet whose destination IP is outside its local subnet. What does the router do with the packet's MAC header?
Which of the following statements about NAT is correct?
A computer with a 4 GB RAM and 500 GB HDD is upgraded to a 1 TB SSD. Which performance change is most directly expected?
Which of the following best describes the role of the Control Unit within the CPU?
A subnet mask of 255.255.248.0 corresponds to which CIDR prefix length?
When a CPU executes the instruction sequence Load R2, A; Add R4, R2, R3; Store R4, C, which of the following is true about memory access?
Introduction to Computer Organisation and Networking Fundamentals
Welcome to this comprehensive course on computer organisation and networking fundamentals. In the next several sections you will explore the core concepts that underpin modern computers and networks, from how a CPU talks to memory to the way data moves across the internet. Each topic is explained in plain language, reinforced with examples, and optimized for search engines so you can easily find the information you need.
Understanding Buses Inside a Computer
What is a Bus?
A bus is a set of parallel wires that transfer data, addresses, or control signals between components of a computer. There are three primary types of buses:
- Data bus – carries the actual data values being read or written.
- Address bus – carries the memory address that the CPU wants to access.
- Control bus – carries timing and command signals such as read/write flags.
Quiz Insight
When the CPU reads a value from RAM, the address bus carries the location address. This is why the correct answer to the quiz question is Address bus. Remember: data moves on the data bus, while the address bus tells the system where to look.
The Role of the Arithmetic Logic Unit (ALU)
What Does the ALU Do?
The Arithmetic Logic Unit (ALU) is the heart of a CPU’s computational capability. It performs arithmetic operations (addition, subtraction, multiplication, division) and logical operations (AND, OR, NOT, XOR). When a program executes an instruction like "add R2 and R3, store in R4," the ALU is the component that actually carries out the addition.
Quiz Insight
In the quiz, the correct answer is ALU. The Control Unit orchestrates the operation, but the heavy lifting of the calculation is done by the ALU.
Two’s Complement Overflow
Understanding Two’s Complement
Two’s complement is the most common method for representing signed integers in binary. The most significant bit (MSB) indicates the sign: 0 for positive, 1 for negative. Overflow occurs when the result of an addition cannot be represented with the available number of bits.
When Does Overflow Happen?
- If both operands have the same sign and the result has the opposite sign, overflow has occurred.
- Adding a positive and a negative number cannot cause overflow because the signs differ.
- Overflow is detected by examining the carry into and out of the sign bit, not merely the carry out of the most‑significant bit.
Quiz Insight
The statement "Overflow occurs only when both operands have the same sign and the result has the opposite sign" is the correct one. This rule helps you quickly identify overflow without needing to trace every bit.
Switching and Forwarding Frames in Ethernet Networks
What Happens When a Switch Doesn’t Know a Destination MAC?
Ethernet switches maintain a MAC address table that maps MAC addresses to specific ports. When a frame arrives with a destination MAC address that is not in the table, the switch cannot forward it to a single port. Instead, it floods the frame out all other ports (except the incoming one) to ensure it reaches its destination.
Quiz Insight
The correct answer is Forward the frame out all ports except the one it arrived on. This behavior is essential for learning new MAC addresses and for network discovery.
TCP/IP Model: Transport Layer and Port Numbers
Layers of the TCP/IP Model
The TCP/IP model consists of four layers:
- Link layer – handles physical addressing (MAC) and framing.
- Internet layer – routes packets using IP addresses.
- Transport layer – provides end‑to‑end communication using TCP or UDP and distinguishes applications with port numbers.
- Application layer – hosts protocols like HTTP, FTP, and DNS.
Quiz Insight
The transport layer is responsible for end‑to‑end delivery and uses port numbers, making Transport layer the correct answer.
Subnetting: Calculating Usable Host Addresses
What Does a /26 Mask Mean?
A /26 subnet mask leaves 6 bits for host addresses (because IPv4 has 32 bits total). The total number of addresses is 2⁶ = 64. However, the first address is the network identifier and the last is the broadcast address, so the usable hosts are 64 − 2 = 62.
Think of it like a street with 64 houses: the first house is the street name (network) and the last house has a "no one lives here" sign (broadcast). Only the 62 houses in between can be occupied.
Quiz Insight
The correct answer is 62. The explanation in the quiz reinforces the counting of host bits, subtracting two reserved addresses, and visualizing the concept.
Private IP Address Ranges
Common Private Networks
Private IP addresses are reserved for use inside local networks and are not routable on the public internet. The three standard private ranges are:
- 10.0.0.0 – 10.255.255.255 (Class A)
- 172.16.0.0 – 172.31.255.255 (Class B)
- 192.168.0.0 – 192.168.255.255 (Class C)
Because all three ranges are valid for private use, the quiz answer is All of the above.
Layer‑3 Devices: Routers
What Is a Router?
A router operates at Layer 3 (the Internet layer) of the TCP/IP model. It examines the destination IP address of each packet and forwards it toward its final destination using routing tables. Unlike switches (Layer 2) that use MAC addresses, routers make decisions based on IP addresses.
Quiz Insight
The correct answer is Router. Hubs, switches, and repeaters operate at lower layers and cannot route IP packets.
Summary and Further Study
In this course you have covered:
- The purpose of address, data, and control buses.
- The function of the ALU in arithmetic operations.
- How two’s complement overflow is detected.
- Switch flooding behavior when a MAC address is unknown.
- The transport layer’s role in using port numbers.
- Subnet calculations for a /26 mask.
- The three private IP address ranges.
- The routing function of Layer‑3 devices.
To deepen your knowledge, explore topics such as cache memory hierarchy, TCP congestion control, IPv6 addressing, and advanced routing protocols like OSPF and BGP. Keep practicing with quizzes, and you’ll solidify these fundamentals for both academic exams and real‑world networking tasks.
