HW Vii
HW Vii
1
HARDWARE VII
1
vmstat: Displays system performance statistics such as CPU usage, memory, and
Input/Output activity. It provides a concise overview of system health over time, useful
for identifying performance bottlenecks and diagnosing issues like memory leaks or
high disk Input/Output mainly found in UNIX or UNIX like Operating Systems.
Mainframes: These are Large, powerful systems used in organizations for bulk data
processing. i.e used in banks for bulk data processing e.g. IBM Z series.
Embedded systems: These are small, specialized systems within devices like cars and
appliances.
2
Operating System (OS): is system software that manages computer hardware, software
resources, and provides services for computer programs. It acts as an intermediary
between users and the computer hardware. These include:
User interface: Provides interfaces (CLI or GUI) for users to interact with the system
easily.
File system management: Organizes, stores, retrieves, and manipulates files on storage
devices.
Security and Access control: Protects data by managing user permissions and ensuring
secure access to system resources.
3
The CPU executes instructions through a cycle known as the machine cycle, which
includes four steps:
Motherboard: the main circuit board in a computer that connects and allows
communication between all components i.e CPU, RAM, storage… functions include:
Computer memory: refers to any physical device that is capable of storing information
temporarily (RAM) or permanently (storage drives):
Cache memory: is a very high speed semiconductor memory which can speed up CPU. It
acts as a buffer between the CPU and main memory. It is used to hold those parts of
data and programs which are most frequently used by CPU.
5
Primary memory: known as Main memory and divided into RAM and ROM. This holds
only those data and instructions on which computer is currently working. It has limited
capacity and data is lost when power is switched off.
1. Cache memory:
a. Extremely fast
b. limited capacity
c. stores frequently accessed data
d. located close to the CPU for quick data access.
2. Primary memory (RAM):
a. Fast
b. volatile
c. stores data for running programs
d. Temporary storage/used for short-term data storage
3. Secondary memory (HDD/SSD):
a. Larger.
b. non-volatile
c. slower access
d. Permanent storage/used for long-term data storage
Question 12: What's the difference between IDE, SATA and SCSI hard disks.
Question 15: Explain how the Hard Drives is logically organized to hold up data:
A hard drive is logically organized to store data using the following structure:
1. Sectors: The smallest storage unit, typically 512/4096 bytes in modern drives.
Data is read and written in sector blocks.
2. Tracks: Concentric circles on the surface of the disk, where data is written. Each
track is divided into multiple sectors.
3. Cylinders: A collection of tracks located at the same position on multiple disk
platters. Data can be read from multiple platters without repositioning the
read/write head.
4. Clusters: Grouping of sectors, representing the smallest amount of space
allocated for a file. Files occupy clusters even if the data size is smaller than the
cluster size.
5. File System: Manages how data is stored and retrieved on the drive. i.e NTFS,
FAT32, and exFAT, which organize files/ directories structure for easy access.
7
Question 17: After you have physically installed the hard disk and have configured the
CMOS setup to recognise it, that drive still must be prepared before it can store data.
This process requires three steps, explain the steps:
👉 Partitioning: The hard drive needs to be divided into one or more logical sections
called partitions. Each partition can function independently to store data. Tools
like Disk Management in Windows or fdisk in Linux can be used to create
primary or extended partitions.
👉 Formatting: Once partitioned, each partition must be formatted with a file
system. Formatting organizes the drive into sectors and clusters, making it
possible for the operating system to read and write data. Common file systems
include NTFS (Windows), ext4 (Linux), or FAT32.
👉 Drive Letter Assignment: After formatting, the operating system assigns a drive
letter (e.g. C:, D:) to the partition, making it accessible through the file explorer.
This allows users and software to read and write data to the drive easily.
Primary Partition: A primary partition is the main partition that can hold an
operating system and is bootable. A hard drive can have up to four primary partitions.
One of these partitions is typically marked as "active," which is used by the system to
boot the OS. i.e The C: drive in a Windows system is often a primary partition.
8
Extended Partition: Since a hard drive can only have four primary partitions, allows
you to bypass this limit.
Extended partitions do not store data directly but allow logical partitions to hold data or
an OS.
These cannot be used to boot an operating system but are ideal for organizing data or
storing additional files. i.e the D: or E: drives.
Question 19: What are the steps taken to find a problem when either Motherboard,
Processor or RAM is failing.
Examine for Physical Damage: Check for burnt components, swollen capacitors, or
damaged slots on the motherboard.
Check Physical Connections: Ensure that all components (RAM, CPU, cables) are
securely connected to the motherboard. Reseat the RAM modules and CPU if necessary.
Check Power Supply: Ensure that the system is receiving power. Check the power
connections to the motherboard, and listen for signs like fans spinning or beeps.
Swap Components: Swap the RAM or CPU with functional components to rule out
specific failures to help test the system with known working parts.
Run POST (Power-On Self-Test): Restart the computer and listen for beep codes during
POST. Specific beep patterns can indicate issues with RAM, CPU, or motherboard.
Check BIOS Settings: Access the BIOS and ensure that the CPU, RAM, and other
hardware are correctly recognized. Reset the BIOS to default settings if needed.
Test RAM: Run memory diagnostic tools like Memtest86 to check for RAM issues. test
them individually to isolate faulty modules.
9
Test with Minimum Components: Remove all non-essential hardware (e.g hard drives,
extra PCIe cards) and test the system with only the motherboard, CPU, and one RAM
stick installed.
Hypothesis Formation: After identifying the problem, form a hypothesis about the
possible cause. Analyze the symptoms and prioritize likely causes, such as hardware,
software, or configuration issues, based on the gathered information.
Implementation of the Solution: Once you’ve identified the root cause, implement the
solution. This could involve replacing faulty hardware, updating drivers, fixing software
bugs, or changing settings. Make the necessary changes carefully and monitor the
system’s performance.
Evaluation and Documentation: After applying the solution, evaluate whether the issue
has been fully resolved by testing the system. Ensure that the fix works under normal
operating conditions. Finally, document the troubleshooting process and solution for
future reference, which aids in solving similar problems more quickly next time.
END