You are on page 1of 3

Continued From Overleaf

THE UNIVERSITY OF LAHORE


Faculty of Engineering and Technology
Department of Technology
Spring Semester 2024

Instructor’s Name: Tahir Ilyas Subject: Digital Electronics

Subject Code: EE04126 Assignment #: 01

Total Marks: 100 Assigning Date: March 06, 2024

Due Date & Time: March 18, 2024

Instructions for Candidates


i. Read the instructions carefully.
ii. Write Question number and its part number clearly.
iii. Attempt all questions.
iv. Or other instructions

Question-1 (2+3+2+3+2+2+2+4 = 20 Marks)


(a) Can the digital waveform in Figure 1 be called a pulse train?
(b) What is the frequency of the waveform in Figure 1?
(c) Is the pulse waveform in Figure 1 periodic or nonperiodic?
(d) Determine the duty cycle of the waveform in Figure 1.

Figure 1

(e) Form a single logical statement from the following information:


(a) The light is ON if SW1 is closed.
(b) The light is ON if SW2 is closed.
(c) The light is OFF if both SW1 and SW2 are open
(f) A basic 2-input logic circuit has a HIGH on one input and a LOW on the other, and the
output is HIGH. Identify the circuit.

Page 1 of 3
Please turn over
Continued From Overleaf

(g) A basic 3-input logic circuit has a LOW on one input and a HIGH on the other two inputs,
and the output is LOW. What type of logic circuit is it?

(h) A pulse waveform with a frequency of 20 kHz is applied to the input of a counter. During
40 ms, how many pulses are counted?

Question-2 (6+8+26 = 40 Marks)


(a) Give the value of each digit in the following decimal numbers:
(a) 263
(b) 5436
(c) 234543
(b) What is the highest decimal number that can be represented by each of the following
numbers of binary digits (bits)?
(a) four
(b) six
(c) nine
(d) eleven
(c) Convert the following numbers:
(a) (100111)2 = ( )10
(b) (11110010)2 = ( )10
(c) (1011100.10101)2 = ( )10
(d) (198)10 = ( )2 using sum-of-weight method
(e) (0.0975)10 = ( )2 using sum-of-weight method
(f) (192)10 = ( )2 Using repeated multiplication by 2 method
(g) (0.8732)10 = ( )2 Using repeated multiplication by 2 method
(h) (-123)10 = ( )2
(i) (+100)10 = ( )2
(j) (ABCD)16 = ( )2
(k) (ABCD)16 = ( )10
(l) (8925)10 = ( )16
(m) (1011101101001)2 = ( )16
Question-3 (2 x 7 = 14 Marks)
Perform the following arithmetic operations:
(a) 1111 + 111

Page 2 of 3
Please turn over
Continued From Overleaf

(b) 110000 – 1111


(c) 1110 x 1110
(d) 1111 / 101
(e) FC16 + AE16
(f) AC16 - 1016
(g) F116 - A616
Question-4 (6+6+8+6 = 26 Marks)
(a) Convert each of the following decimal numbers to 8421 BCD:
(a) 98
(b) 156
(c) 1051
(b) Convert each of the BCD numbers to decimal:
(a) 1000101
(b) 10011000
(c) 100000000000
(d) 100101111000
(e) 110011001100111
(f) 1001000000011000
(c) Add the following BCD numbers:
(a) 0101 + 0011
(b) 1000 + 0110
(c) 10011000 + 10010111
(d) 010101100001 + 011100001000
(d) Convert each pair of decimal numbers to BCD, and add as indicated:
(a) 65 + 58
(b) 113 + 101
(c) 295 + 157

Page 3 of 3
Please turn over

You might also like