DLD Exam

You might also like

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

Exam Group 3

Q1(a) Convert decimal number 92.125 into binary number. (CLO 1) [1]
Note: Show all step involve in the conversion.
Q1(b) Convert binary number 1001.1001 into decimal number. (CLO 1) [1]
Note: Show all step involve in the conversion.
Q1(c) Convert hexadecimal number 10F into binary number. (CLO 1) [1]
Note: Show all step involve in the conversion.
Q1(d) Convert binary number 110110101 into hexadecimal number. (CLO 1) [1]
Note: Show all step involve in the conversion.
Q1(e) Convert decimal number -30 into 2’s complement sign representation. (CLO 1) [1]
Note: Show all step involve in the conversion.

Q2(a) Design a circuit for truth table given in Fig. 1, where 𝑥 , 𝑥 , 𝑥 𝑎𝑛𝑑 𝑥 are inputs and outputs are𝑓 𝑎𝑛𝑑 𝑓 .
(CLO 2) [4]

𝑥 𝑥 𝑥 𝑥 𝒇𝟐 𝒇𝟏
0 0 0 0 0 0
0 0 0 1 0 0
0 0 1 0 0 1
0 0 1 1 0 0
0 1 0 0 0 0
0 1 0 1 0 1
0 1 1 0 1 1
0 1 1 1 1 1
1 0 0 0 1 1
1 0 0 1 1 1
1 0 1 0 1 0
1 0 1 1 1 0
1 1 0 0 1 1
1 1 0 1 1 0
1 1 1 0 1 0
1 1 1 1 1 1
Fig. 1

Q2(b) Write the VHDL code for circuit design in Q2(a). (CLO 3) [4]

Q3 (a) Sensors are used to monitor the pressure and the temperature of a chemical solution stored in a Lab. The
circuitry for each sensor produces a HIGH voltage when a specified maximum value is exceeded. An alarm
requiring a LOW voltage input must be activated when either the pressure or the temperature is excessive. Design
a circuit for this application. (CLO 2). [1]
Q3 (b) Write the VHDL code for circuit design in Q3(b). (CLO 3) [2]

Q4(a) Draw the circuit of single bit full adder. (CLO 2) [2]
Q4(b) Design a 7 bit adder using single bit full adders. (CLO 2) [3]

You might also like