Professional Documents
Culture Documents
Csa & Doa
Csa & Doa
Batch 2020-22
Semester I
PART A
Answer ALL Questions
5 * 8 = 40 Marks
1. Represent the floating point number (-138.121)10 in IEEE 754 single and
double precision format.
2. By using the laws of Boolean Algebra, simplify (A+C) (AD+AD) +AC+C.
3. Find the Maximum and Minimum values in the given array using Min-Max
approach.
9 -7 25 36 -1 56 3 72 80 -2
4. Find the minimal spanning tree for the following graph using
a. Prim’s Algorithm and
b. Kruskal’s Algorithm
Page 1
IIRM
5. Multiplexers, or data selectors, may be used to select arbitrary truth table
function. Take for example the truth table shown beside a symbol for 16
channel multiplexer
Show the wire connection necessary to make the multiplexer output the
specified logic states in response to the data select (A, B, C and D) inputs.
A B C D Out
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 1
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 1
1 1 1 0 0
1 1 1 1 1
PART B
4 * 15 = 60 Marks
6. Sort the following array elements using Bubble sort, specify the number of
passes required and its time complexity.
55 56 23 18 45 33 15 62 3 25
Page 2
IIRM
8. a) Use a Karnaugh map to generate a simple Boolean Expression for the
given Truth table, and draw a gate circuit equivalent to that expression:
A B C D Output
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 0
1 1 0 1 0
1 1 1 0 1
1 1 1 1 1
1 12 9 5 6 10 15 2
End of paper
Page 3