Download as pdf or txt
Download as pdf or txt
You are on page 1of 86

DOWNLOAD MIDTERM

PAST PAPERS BY WAQAR SIDDHU

More in PDF From

VU Answer
Get All Solutions.
Binary Number System (0,1)
Decimal Number System ( ten unique digits 0, 1, 2, 3… 9)
Caveman number system (has 5 distinct shapes , , >, and )
pg. 34 Hexadecimal Numbers ( base 16.......0-9 & A-F)
Octal Numbers (base 8............0-7)
The Excess Code (base 16........range +7 to -8)
The BCD Code ( 4-bit binary code......... 0 to 9)

The Gray Code (not a positional code)


ASCII Code ( 7-bit code representing 128 unique codes..........
0 to 9 , a to z, A to Z & 32 Control characters)
Smart Work Zone
pg. 171
pg.194

lec. 20
you can use two 4-input multiplexers as 8-input multiplexers and then combine them to form a 16-input multiplexer.

+--------+
| |
A0 ---->| |------\
A1 ---->| MUX1 |-------> Y
A2 ---->| |------/
A3 ---->| |
+---|----+
|
S0/S1 -----+
|
+---|----+
| |
B0 ---->| |------\
B1 ---->| MUX2 |-------> Y
B2 ---->| |------/
B3 ---->| |
+--------+
lec 22
A Literal is a variable or the complement of a variable
Binary Number System (0,1)
Decimal Number System (s ten unique digits 0, 1, 2, 3… 9)
Caveman number system (has 5 distinct shapes , , >, and )
Hexadecimal Numbers (a base 16.......0-9 & A-F)
Octal Numbers (base 8............0-7)
The Excess Code (base 16........range +7 to -8)
The BCD Code ( 4-bit binary code......... 0 to 9)

The Gray Code (not a positional code)


ASCII Code ( 7-bit code representing 128 unique codes..........
0 to 9 , a to z, A to Z & 32 Control characters)
1001
1's complement 0110
2's complement +1
------------------------------------------
0111
pg. 104
A.B = A+B
To determine whether a group is legal or not, we need to check if it satisfies the following conditions:

The group must be a rectangle or a square.


The group must contain only 1’s.
The group must be as large as possible.
1

1111
----------
1 1011
Smart Work Zone
(part 2)

full adder
pg. 61
a) TTL Logic Levels range of 2 to 5 volts
b) CMOS 5 Volt series range of 3.5 to 5 volts
c) CMOS 3.3 Volt series range of 2 to 3.3 volts
1110+0110+0001
1
0
(0+1+0).(1+0+1)

Correct
1's complement = 011010
+1
---------------------------------------------
011011
A+A=1
subscribe
PG. 155
A.B=A+B

A.(B + C) = A.B + A.C

A+B=B+A

A + (B + C) = (A + B) + C
Smart Work Zone
(part 3)
Logic Operation ABEL Symbol
NOT !
AND &
LEC. 21 OR #
XOR $
LEC. 22
LEC 22
Input Output
A B Carry In(C) Sum Carry Out
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
A Comparator circuit has multiple inputs and
three outputs.
pg. 153
• The output A>B is set to 1 when the input combinations are 01 00, 10 00, 10 01, 11 00, 11
01 and 11 10
• The output A=B is set to 1 when the input combinations are 00 00, 01 01, 10 10 and 11 11
• The output A<B is set to 1 when the input combinations are 00 01, 00 10, 00 11, 01 10, 01
11 and 10 11
lec 22
lec 20
lec 22
pg 138
1100.111
lec 21
sum =A+B
carry out = AB

correct
CORRECT
Distributive Law A.(B + C) = A.B + A.C
range +7 to -8
PG 89
PG 166
DISCONTINUE/ SAMPLES
A+B=B+A
A.B=B.A

CORRECT
exam cs302 time 9:30
subjective ma 3 marks Ka
1) kmap Bana tha POS Ka value Di thi B'C'+CD'
2) xor Ka truth table or function
3) 3to 8 encoder ki circuit diagram

5marks ;
a) binary value (629)10 thi iski sum of weight nikalni thi or
divison method Karna that
2) TTL series chip likhni thi
3) 8 multiplexer Ka function table Bana tha 4 to 1 multiplexer Ka sath
Objective ma Kuch conceptual SA thai or Kuch 50% RM ki file sa tha
CS302
Date: 11/12/2023
Time: 12:30
Regards,
DUFFER
Quizzes:
. ELC stand for......
. Which of the following simplification method is intended to be used for Boolean expressions having more than four variables?
Boolean Algebra and rules
Karnauph Map
Quine-McCluskey
. Dual, 4-input multiplexer can be connected to form a 16-input multiplexer.

. The four outputs of two 4-input multiplexers, connected to form a 16-input multiplexer, are connected together through a 4-input
AND
OR
NAND
. The carry propagation can be expressed as
C=A+B
C=A(xor)B
C=A+B
Short Question
. Drive simplified Boolean equation from the following Karnuagh Map....
. Identified
A). Number of atoms in sample of material.
B). Altitude of an aircraft.
C). Speed of wind.
Long Question
. Using K-map minimize the following POS expression.
(A+B+C)(A+B+C (compliment))(A+B(compliment)+C)(A+B(compliment)+C(compliment)(A(compliment)+B(compliment)+C)
. Draw a circuit using Boolean gate for generating a 1's compliment for a 4-bit bring 1010

You might also like