LC 1 logic - نسخة
LC 1 logic - نسخة
Topics:
Number systems and codes
Logic gate and Boolean algebra combination logic circuits
Digital arithmetic : operation and circuits
Decoder, Encoder and Multiplexer
Flip-Flop
Counters and registers
Number system:
Many number systems are used in digital technology the most common use are the
decimal , binary , octal and hexadecimal system
ex: (327)10
↑ This mean base is 10 which is mean decimal number system
This system is a positional – valued system ; which means when we write numbers,
the position or place of each digit is important
2 LOGIC
ex:
11o11o → this number has 6 bits
3 LOGIC
This conversion is performed by converting each octal digits to it’s 3 bit binary
equivalent
8 LOGIC
Note: starting at the binary point group the bits in threes then convert each
group of threes to it’s octal equivalent.
H.W:
1- convert the octal numbers to binary
a- 0.3 b- 7 c- 0 d- 7642
2- convert the binary numbers to octal
a- 101 b- 110 c- 010 d- 111000101 e- 1011000111
3-convert the decimal numbers to octal
a-359 b- 98 c- 163
9 LOGIC
Note: any reminder that > 9 are represented by the character (A-F)
Hexa to binary conversion:
Note: to count decimal number with N decimal numbers we can count from
0 to 10N-1
N=2 → count is from 0 – 99
For binary the count is from 0 up to 2N-1
N= 2 → count is from 0 – (2N-1) → 0-3
decimal binary
0 0
1 1
2 10
3 11