ITC Lect 02 (Computer Components)
ITC Lect 02 (Computer Components)
Components of Computer
and
Data Representation
Shahab Haider
Parts of a Computer
• There are two main parts of computers, hardware and software
– Hardware is all of the parts of the computer you can see ( ? ) and touch.
E.g.,
• Monitor, Keyboard, Processor, Memory, Circuits, Cables
etc
– Software refers to parts of the computer which do not have a material
form. E.g.,
• Data, Programs, Protocols etc
Power Supply
RJ=Registered Jack
DRAM
Power Memory Slot for
Connector Slot Microprocesso
r
Motherboard: Sockets & Slots
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Lecture 02: Components of Computer CS 101: Introduction to Computing
Computer:
Internal Components (-4-)
Microprocessor
Graphics Card
Data Representation
Data Representation
• Modern computers are digital devices
– A digital device works with discrete data, such as the digits
1 and 0
– An analog device works with continuous data
Number System
10101011 is AB in base 16
Conversions
• How ???
6 x 82 = 6 x 64 = 384
+ 4 x 81 = 4 x 8 = 32
+ 2 x 8º = 2 x 1 = 2
= 418 in base 10
Try it!
248 31 3 0
8 1988 8 248 8 31 8 3
16 24 24 0
38 08 7 3
32 8
68 0
64
4
Answer is : 3 7 0 4
Try it!
222 13 0
16 3567 16 222 16 13
32 16 0
36 62 13
32 48
47 14
32
15
DEF
Exercise
Exercise …
Exercise…
• Convert the following from Decimal to Octal
310 , 1221 , 1364