Presentation 2
Presentation 2
Presentation 2
Fundamentals of Computers
Objectives
writing papers,
analyze data
make presentations,
Memory
Arithmetic
Input
Instr1 & Logic
Instr2
Instr3
Data1 Fundamentals of Computers
Output Data2 Control
I/O Processor
Stores
information: Control unit coordinates
Output unit sends various actions
•Instructions,
results of processing: •Input,
•To a monitor display, •Data
•Output
•To a printer •Processing 11
The CPU
storage as well.
Secondary Storage Devices
a sales report,
a list of names, or
a graphic image.
Common output devices are
video displays,
printers and
speaker.
application software.
System Software
solution
100010112 = 1000 1011 = 8B16
From binary to decimal
From Octal to Binary
Solution
2138 = 010 001 011 = 100010112
From Hexadecimal to Binary
Solution:
0.625 x 2 =1.250 1 (M S B)
0.250 x 2 = 0.500 0
0.25 x 2 = 1.00 1 (L S B)
3
Repeated Multiplication-by-8 Method:
Binary Addition:
Solution
a) b)
111 1010
101 1001
1100 1101
1 00 0 0 0
Binary Subtraction:
0–0=0
1 – 1 =0
1–0=1
second column.
0x0=0
0x1=0
1x0=0
1x1=1
Multiplication of fractional number is performed in the
same way as with fractional numbers in the decimal
numbers.
11.
Solution:
0.01
11x
01
01 +
0.11
Binary Division