Professional Documents
Culture Documents
1. Hardware
2. Software
• The operating system (OS) manages all of the software and hardware
on the computer. It performs basic tasks such as file, memory and
process management, handling input and output, and controlling
peripheral devices such as disk drives and printers.
DATA: Data are numbers and encoded characters that are used as
operands by the instructions.
stored in memory.
➢Input Unit
➢Memory Unit
➢Output Unit
➢Control Unit.
PROF. SMITA DASH (ASST. PROFESSOR., DEPT. OF CSE)
19
PROF. SMITA DASH (ASST. PROFESSOR., DEPT. OF CSE)
20
PROF. SMITA DASH (ASST. PROFESSOR., DEPT. OF CSE)
21
Primary memory is also known as main memory or may also refer to “Internal memory.” and
primary storage. All those types of computer memories that are directly accessed by the
processor using data bus are called primary memory. That allows a processor to access stores
running programs and currently processed data that stored in a memory location.
When you turn on the computer, Generally CPU searches for essential codes in RAM to get it.
Otherwise, it goes to ROM. Yes, they both chips collectively called primary memory in a computer
system.
RAM, or random access memory, consists of The operating system and applications are
one or more memory modules that loaded into primary memory, since RAM can be
temporarily store data while a computer is accessed much faster than storage devices. In
running. RAM is volatile memory, meaning it is fact, the data can be transferred between CPU
erased when the power is turned off. and RAM more than a hundred times faster than
Therefore, each time you start up your between the CPU and the hard drive. By loading
computer, the operating system must be data into RAM, programs can run significantly
loaded from secondary memory (such as a faster and are much more responsive than if
hard drive) into the primary memory, or RAM. than constantly accessed data from secondary
Similarly, whenever you launch an application memory.
on your computer, it is loaded into RAM.
𝑁𝑋𝑆
T=
𝑅
T : processing time required to execute a program
N: the actual no. of instruction execution, including some
repetitive instructions
S: average no. of basic steps required to execute one machine
instruction, where each basic step is completed in one cycle.
R: the clock rate