Sie sind auf Seite 1von 4

Institute of Engineering & Computing

Sciences (IECS)
University of Science & Technology Bannu, KPK,
Pakistan
Near Sports Complex, Kohat Road Bannu. Ph: 0928-621440

Paper: Discrete Structures Time: 02:00 hrs. Exam:


Final
Semester: 3rd Department: Software Engineering
Date:
Marks: 100 Instructor: Engr. Shah Poor Khan

Note: Attempt all questions including MCQs. Cutting or checking multiples


answers will not be given any credit. Time for MCQs is 30 minutes

Q7: MCQs, each MCQ carries equal mark. (15 marks)

1) How many data select lines are required for selecting eight inputs?

a) 1 (b) 2 (c) 3 (d) 4

2) The 4-variable Karnaugh Map (K-Map) has ______rows and ____colums

a) 2,2 (b) 4,4 (c) 4,2 (d) 2,3

3) The three fundamental gates are

a) AND, NAND, XOR


b) OR, AND, NAND
c) NOT, NOR, XOR
d) (d) NOT, OR, AND
4)
The below circuit represents

(a) NOT logic (b)AND logic (c) OR logic (d) None of these
5) 3 variables k-map has
a) 4 minterms (b) 4 maxterms (c) 8 minterms (d) 8 maxterms
(e)Both c&d

1
6) Expression for the below circuit is

B C
A

(a) F(A,B,C,D)=A+BC+D (b) F(A,B,C,D)=AB+CD


(c) F(A,B,C,D)=ABC+AD (d) F(A,B,C,D)=ABC+D

7) The below graph is

b
a

(a) Undirected (b) Directed (c)Multi (d)none


8) If Q=0 then the output of the below circuit will be

(a) 1 (b) 0 (c) both a&b (d) None

9) The Below Logic diagram shows that


X

Y F
Z

(a) F=XY+Z (b) F=X+YZ (c) F= X+YZ (d) F=X+Y+Z

10) The below K-Map can be represented as

1
1 1
1 1
1 1
(a) m(2,5,7,9,10,12,13) (b) m(3,5,7,9,10,12,15) (c)
m(3,5,6,9,10,12,15)
(d) m(2,5,7,8,10,13,15)

11) The Deg-(Yvonne) and Deg+(Fred) are

2
(a) 1,2(b)2,2 (c)2,1 (d)3,1

12) The below graph is

(a) Directed (b)Multi directed (c) pseudo (d) Mixed

13) The deg-(a), deg-(f), deg+(e) and Tdeg(d)[Tdeg=total degree] are

(a) 3,1,4,5 (b) 2,0,3,6 (c) 3,0,3,5 (d) 2,1,4,6

14) The function F=AX+B+CY has ------ variables

(a) 4 (b) 5 (c) 6 (d) none

15) The below graphs have total -------- vertices and ------- edges

(a) 10 &15 (b) 8&17 (c) 12&15 (d) 14&17

Q8: Attempt all the below (3+7


marks)
I. Construct two inputs OR gate only from single input NAND gates.
(1+2)

3
II. Construct two inputs AND gate only from two inputs NOR gates.
(1+2)
III. Construct XOR gate from only NAND gates for two inputs.
(1+3)

Q9: Convert the following (06


marks)
a) Expressions to logical gates
I. H(I,J,K)= (IJ +IK)+JK
(2)
II. G(A,B,C,D)=AB+ABC+BD
(2)
III. F(X,Y,Z)=(X+YZ).(XY+XY)
(2)

b) Logical gates to expressions and also draw truth table


(04 marks)
I. (2)

II.
(2)
X
Y
X
Y

Q10: Find the following in the below graphs (15


marks)
Fig(g) Fig(h)

i. Find the in-degree and out-degree of a,b,e,f vertices in fig(g) (1+4)


ii. Find the neighbours of each vertex in fig(h) (4)
iii. Find the degree of each vertex in fig(h) (4)
iv. Find the number of edges in fig(g) and fig(h) (2)

Das könnte Ihnen auch gefallen