Professional Documents
Culture Documents
Assignment 1
IIIT RK Valley,RGUKT-AP
CSE Department
B Sunilyadav
R180187
Section A
Problem Solving and Programming through C
26th February 2021
Index
1. Random Access Memory
2. Read only Memory
3. Cache Memory
4. Basics Components of Computer
5. Software and Hardware
1
R180187 B SUNIL YADAV
Computer Memory
Memory is an internal storage area in the computer used to store data
and programs that is temporarily or permanently. Computer memory is
divided into two groups
1.Primary memory
2.Secondary memory
While the primary memory holds instructions and data when the
program is executing. To execute a program all the instructions or data that
has to be used by the CPU has to be loaded into main memory or primary
memory.This Primary Memory is Divided into Two Types
1.Random Access Memory(RAM)
2.Read Only Memory(ROM)
2
R180187 B SUNIL YADAV
● RAM isVolatile Storage Area within the computer that is typically used
to store data temporarily.
● RAM Full form is Random Access Memory,It is also known as Read
Write Memory.
● RAM is considered Random Access because any memory cell can be
directly accessed if its address is known.
● When the RAM gets full ,The computer system operates at a slow
speed when we are doing multitasking means using multiple
applications at a time makes RAM fullfully occupied.
● If we want to perform our PC Smooth and Faster we have to store small
data in our RAM.
3
R180187 B SUNIL YADAV
4
R180187 B SUNIL YADAV
5
R180187 B SUNIL YADAV
Cache Memory
Cache memory is an extremely fastest type memory and it acts as a
intermediate between RAM and CPU.
If you use cache memory to store instructions and data that are
repeatedly required to execute programs thereby improving the overall
system speed and increasing the performance of the computer
6
R180187 B SUNIL YADAV
1. Input Unit
2. Output Unit
3. Memory Unit
4. Control Unit
5. Arithmetical and Logical Unit
7
R180187 B SUNIL YADAV
5 Components of Computer
Input Unit
A computer will only respond when a command is given to the
device. These commands can be given using the input unit or the input
devices.
Output Unit
When we command a computer to perform a task, it reverts back
for the action performed and gives us a result. This result is called
output.
Thus, the output unit gives us the final result once the entire
processing is done within the mechanism of a device.
Memory Unit
When we enter the data into the computer using an input device,
the entered information immediately gets saved in the memory unit of
the Central Processing Unit (CPU). Because of the presence of some
existing programming, the Memory Unit transmits the data further to
the other parts of the CPU.
8
R180187 B SUNIL YADAV
Control Unit
This is the core unit which manages the entire functioning of the
computer device. It is one of the most essential components of the
computer system.
The Control Unit collects the data entered using the input unit,
leads it on for processing and once that is done, receives the output
and presents it to the user. It can be said to the centre of all processing
actions taking place inside a computer device.
9
R180187 B SUNIL YADAV
Hardware
The term hardware refers to mechanical device that makes up
computer.Computer hardware consists of interconnected electronic
devices that we can use to control computer’s operation, input and
output.
Examples of hardware are CPU, keyboard, mouse, hard disk, etc.
Hardware Components
Computer hardware is a collection of several components
working together. Some parts are essential and others are added
advantages. Computer hardware is made up of CPU and peripherals
as shown in image below.
10
R180187 B SUNIL YADAV
Software
A set of instructions that drives computer to do stipulated tasks is
called a program. Software instructions are programmed in a computer
language, translated into machine language, and executed by
computer. Software can be categorized into two types −
● System software
● Application software
11
R180187 B SUNIL YADAV
System Software
System software operates directly on hardware devices of computer. It
provides a platform to run an application. It provides and supports user
functionality.
1. It Controls and Manges the Hardware
2. It is Machine-Dependent
3. The Programmer must understand the architecture of the
machine and hardware details to write a system software
4. It Interacts with the Hardware Directly
5. Writing system software is a complicated Task
Examples of system software include operating systems such as
Windows, Linux, Unix and Compilers,Interpreters etc.
Application Software
An application software is designed for benefit of users to
perform one or more tasks. It uses the services provided by the
system software to interact with hardware components
It is Machine Independent
In Most Cases the programmer ignores the architecture if the machine
and hardware details to write the Application Software
It Interacts with the hardware indirectly through system calls provided
by system software
Writing application programs is relatively very easy
12
R180187 B SUNIL YADAV
13
R180187 B SUNIL YADAV
4 It will vary as per computer It is mostly constructed for all
and its built-in functions types of computer systems.
and programming
language.
6 It is represented in any The hardware works only on
high-level language such binary codes 1’s and 0’s.
as BASIC, COBOL, C, C++,
JAVA, etc.
14
R180187 B SUNIL YADAV
Summary
❏ RAM isVolatile Storage Area within the computer that is typically used
to store data temporarily.
❏ ROM is non -volatile that is the data is retained in it even after the
computer is turned off.
❏ Cache Memory is an extremely fastest type memory and it acts as a
intermediate between Primary Memory and CPU
❏ A Computer Device is made up of various elements of which help
in its effective functioning and processing
❏ There are Five Basic Components:
a. Input Unit
b. Output Unit
c. Memory Unit
d. Control Unit
e. Arithmetical and Logical Unit
❏ A computer system is divided into two categories: Hardware and
Software.
❏ Hardware refers to the physical and visible components of the
system such as a monitor, CPU, keyboard and mouse.
❏ Software, on the other hand, refers to a set of instructions which
enable the hardware to perform a specific set of tasks.
15
R180187 B SUNIL YADAV
16