Computer Sains
Computer Sains
0 Computer System
2.1 System Concept
2.1 System Concept
What is Computer?
An electronic device that accepts data (input),
process data and produces information (output)
2.1 System Concept
1. Hardware 2. Software
4) Storage
storage
Input – Process –Output – Storage (IPOS)
2.1 System Concept
4 operations involved in Information Processing Cycle
1) Input:
2) Process:
3) Storage:
4) Output:
Information:
• Processed data that conveys meaning and is useful to
people.
E.g. : 3 blue cars.
2.1 System Concept
1 byte = 8 bits
2.1 System Concept
Data representation in computer
Example :
00110100 represents 4
00110110 represents 6
01000101 represents E
2.1 System Concept
Data representation in computer
How A Letter Is Converted To Binary Form And Back
Step 2.
Step 1.
An electronic signal
The user presses
for the capital letter D
the capital letter D
is sent to the system
on the keyboard.
unit.
Step 4. Step 3.
After processing, the binary code for The signal for the capital letter
the capital letter D is converted to D is converted to its binary
an image, and displayed on the code (01000100) and is stored
monitor. in memory for processing.
2.1 System Concept
Data representation in computer
2.1 System Concept
2.1.3 Storage Capacity
Learning Outcomes :
At the end of the lesson, students should be able to:
Definition:
Capacity – The number of bytes(characters) can be hold by
storage medium.
Measured in units such as KB, MB, GB, Terabyte, Petabyte
1 byte = 8 bits
1 KB = 1024 bytes
1 MB = 1024 KB (approx. 1 million bytes)
1 GB = 1024 MB (approx. 1 billion bytes)
1 TB = 1024 GB (approx. 1 trillion bytes)
1 PB = 1024 TB (approx. 1 quadrillion bytes)
2.1 System Concept
Kilobyte:
½ page amount of text.
Megabyte:
•100 Megabytes might hold a couple volumes of
Encyclopaedias.
• 600 Megabytes is about the amount of data that will
fit on a CD-ROM disk.
2.1 System Concept
Storage Capacity
Gigabyte:
•1 Gigabyte of data is almost twice the amount of
data that a CD-ROM can hold
Terabyte:
•Terabyte could hold about 3.6 million 300 Kilobyte
images or maybe about 300 hours of good quality
video
2.1 System Concept
Storage Capacity
Petabyte:
•Petabyte could hold approximately 20 million 4-door filing
cabinets full of text.
•It could hold 500 billion pages of standard printed text.
•It would take about 500 million floppy disks to store the same
amount of data.
2.1 System Concept
Storage Capacity
Example: Convert GB to KB
1 GB = 1 X 1024 X 1024
= 1 048 575 KB
1 GB = 1 X 210 X 210
= 1 048 575 KB
2.1 System Concept
Storage Capacity
Example: Convert MB to GB
1200 MB = 1200/1024
= 1.17 GB
Try This.....
Convert MB to GB
a. 2200 MB
b. 3600 MB
c. 8700 MB
d. 5600 MB
Answers...
a. 2200 MB → 2.15 GB
b. 3600 MB → 3.52 GB
c. 8700 MB → 8.50 GB
d. 5600 MB → 5.47 GB