Assignment 1 Front Sheet: Date Received 1st Submission Re-Submission Date Date Received 2nd Submission
Assignment 1 Front Sheet: Date Received 1st Submission Re-Submission Date Date Received 2nd Submission
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
❒ Summative Feedback: ❒ Resubmission Feedback:
II. Content
1. Block diagram of a computer
+ Input: Input is where signals or data are entered into the system
Function: is the capture and collection of elements to put into the system for processing, in
other words, the action of a computer, a component of a computer, or a related device to
accept something from the user, from a device, or from a piece of software either
automatically or manually is called input.
Ex: keyboard, mouse,...
+ Output: Output is where the system outputs results or data sent from it.
Function: Receive data from the processor and return it to the user
Used to display data
Ex: Monitor, printer, speakers...
+ Control Unit (CU):
And the control unit of a CPU controls the entire operation of a computer. It also controls all
devices such as memory, input/output devices connected to the CPU.CU fetches instructions
from memory, decodes the instruction, interprets the instruction to know what the task is to
be performed, and sends suitable control signals to the other components to perform the
necessary steps to execute the instruction.
+ Memory Unit:
The memory unit is an essential component of a digital computer. It is where all data
intermediate and final results are stored. The data read from the main storage or an input
unit are transferred to the computer's memory where they are available for processing.
This memory unit is used to hold the instructions to be executed and data to be processed.
+ Arithmetic Logic Unit (ALU):
Here arithmetic logic unit performs all arithmetic operations such as addition, subtraction,
multiplication, and division. It also uses logic operations for comparison.
+ Memory Unit:
The memory unit is an essential component of a digital computer. It is where all data
intermediate and final results are stored.
The data read from the main storage or an input unit are transferred to the computer's
memory where they are available for processing.
This memory unit is used to hold the instructions to be executed and data to be processed.
2.
-What is the cache? + The CPU's cache memory is called Cache, it acts as a temporary store of
instructions that the CPU needs to process (This instruction includes all the operations that
you often use on the computer, from the simple text editor to the heavy game). These orders
will be queued together waiting to be processed. Therefore, the larger the cache memory, the
more instructions it can hold, thereby shortening the waiting time and increasing the CPU's
performance.
-Why is it necessary? + Caching is necessary because it saves time, speeds up device
performance, and reduces the amount of data that needs to be processed during use.
- Compare Cache and RAM?
+Speed: RAM is faster than secondary storage, but it's not as fast as cache.
+Price: Although RAM pays money, it has no value like cache memory.
+Power:: The capacity of the cache is smaller than RAM, which has a higher capacity.
+Funtion: Cache memory contains data frequently used by the CPU. RAM contains the
programs and data being executed by the CPU.
Ram Cache