Computer Assgnment For Grade 6a
Computer Assgnment For Grade 6a
Computer Assgnment For Grade 6a
Operating System.
The system's booting process begins that load the operating system (Windows, Linux, Mac, etc.)
with all associated files. The bootstrap loader starts the booting of the system. So, in this way,
Windows and its other essential services get loaded to the system.
As the operating system has been loaded to the Computer, the installed Hardware of the
systems becomes active and able to communicate with the CPU. The communication of the
hardware devices is performed via an interrupt request (IRQ). When the current task is already
in execution, the interrupt controller sends the request to CPU to stop processing a new
hardware request until the execution of the current task gets completed. The CPU keeps the
new request on hold, and that process is stored as a memory address in the memory stack.
When the current task execution is finished, the task on hold is resumed and processed.
However, if the Computer fails in the POST test, an irregular POST is encountered. We can
understand the irregular POST when we hear a beep coming from the system that notifies us
that some problem has occurred.
When we switch on the computer system by pressing the power button, a signal reaches the
power supply that converts the alternate current into the direct current, also known as DC. After
that, a proper ample power is supplied to each component of the Computer.
With no issues, all components come in their active state, the power supply sends a signal to the
motherboard and CPU via transistors. During the time, the processor removes the leftover data
in the memory, and the CPU becomes ready to take over the instruction (input) and process it.
A POST (power-on self-test) is performed on the Computer in a sequence to ensure that the
major computer components exist and work properly. When the Computer passes the test,
firstly, the 64-bytes memory wakes because it carries the system time and date information and
all other hardware-related information installed on the system. This information starts loading
and POST checks and compares this information with the system settings. If compared
successfully, it loads the basic drivers (that allows communication of hardware devices with CPU
and Computer to continue to boot) and interrupts handlers for the installed Hardware such as a
keyboard, hard drive, mouse, and many more.
After that, POST checks the display adapter, and with no issues found, it loads the display that
we see on the computer monitor. Next, it is checked that whether Cold boot or reboot (warm
boot) is performed by looking at the memory address 0000:0472. If it is 1234h, it means it is a
reboot, and the rest of the POST steps are skipped. But, if it not so, it means it is a cold boot, and
the remaining POST steps are continued.
Now, the RAM installed on the computer system is checked.
Cache
The CPU never directly accesses RAM. Modern CPUs have one or more layers of cache.
The CPU's ability to perform calculations is much faster than the RAM's ability to feed
data to the CPU. The reasons for this are beyond the scope of this article, but I will
explore it further in the next article.
Cache memory is faster than the system RAM, and it is closer to the CPU because it is on
the processor chip. The cache provides data storage and instructions to prevent the CPU
from waiting for data to be retrieved from RAM. When the CPU needs data—and
program instructions are also considered to be data—the cache determines whether the
data is already in residence and provides it to the CPU.
If the requested data is not in the cache, it's retrieved from RAM and uses predictive
algorithms to move more data from RAM into the cache. The cache controller analyzes
the requested data and tries to predict what additional data will be needed from RAM. It
loads the anticipated data into the cache. By keeping some data closer to the CPU in a
cache that is faster than RAM, the CPU can remain busy and not waste cycles waiting for
data.
Memory management unit
The memory management unit (MMU) manages the data flow between the main memory
(RAM) and the CPU. It also provides memory protection required in multitasking
environments and conversion between virtual memory addresses and physical addresses.
CPU clock and control unit
All of the CPU components must be synchronized to work together smoothly. The
control unit performs this function at a rate determined by the clock speed and is
responsible for directing the operations of the other units by using timing signals that
extend throughout the CPU.
Random access memory (RAM)
Although the RAM, or main storage, is shown in this diagram and the next, it is not truly
a part of the CPU. Its function is to store programs and data so that they are ready for use
when the CPU needs them.
Addition: The CPU acquires operands, often from a (storage) register. The CPU routes
the operands to the ALU's input registers. Opcode input is created by the CU, and the
opcode input says "perform addition." The operation adds the first operand to the second
operand using sequences of OR, AND, and XOR gates. The integer result is placed in the
appropriate storage register.
Subtraction: The CPU acquires operands from the register and sends them to the ALU
input registers, while the CU tells the opcode input to "perform subtraction." The
operation subtracts the first operand from the second operand, and the result is placed in
the appropriate storage register.
Multiplication: The CPU acquires operands, sends them to the ALU input registers, and
the CU creates an Opcode that says "multiply."
ALUs typically do not perform division operations because the result may not be an
integer, but a floating-point unit, or a fraction. FPUs manage these operations
It is in charge of a CPU’s multiple execution units (such as ALUs, data buffers, and
registers).
It also performs a variety of activities, including fetching, decoding, handling execution,
and storing results.
It coordinates the flow of data out of, into, and between the various subunits of a
processor.
It directs the flow of data sequence between the processor and other devices.
It can interpret the instructions and controls the flow of data in the processor.
It generates the sequence of control signals from the received instructions or commands
from the instruction register.
It has the responsibility to control the execution units such as ALU, data buffers, and
registers in the CPU of a computer.
It has the ability to fetch, decode, handle the execution, and store results.
It cannot process and store the data.
To transfer the data, it communicates with the input and output devices and controls all
the units of the computer.
12, What is the difference between primary memory and secondary memory