Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
165 views7 pages

Digital Logic Design Assignment

The document contains the answers to 5 questions regarding digital logic design. 1) The waveform with the largest duty cycle and pulse width is waveform C. All three waveforms have the same time period as the distance from the edge of one pulse to the next is equal. 2) Converting the roll number 142 to binary, octal, and hexadecimal. 3) Calculating the 2's complement of the sum of the binary representation of the roll number and the binary representation of the number -451. 4) Explaining floating point representation and converting the number 142*10^12 to floating point. 5) Stating that the largest and smallest possible 8-bit binary numbers are 1

Uploaded by

Sahil Jagdesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views7 pages

Digital Logic Design Assignment

The document contains the answers to 5 questions regarding digital logic design. 1) The waveform with the largest duty cycle and pulse width is waveform C. All three waveforms have the same time period as the distance from the edge of one pulse to the next is equal. 2) Converting the roll number 142 to binary, octal, and hexadecimal. 3) Calculating the 2's complement of the sum of the binary representation of the roll number and the binary representation of the number -451. 4) Explaining floating point representation and converting the number 142*10^12 to floating point. 5) Stating that the largest and smallest possible 8-bit binary numbers are 1

Uploaded by

Sahil Jagdesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SIR SYED UNIVERSITY OF

ENGINEERING AND
TECHNOLOGY
DIGITAL LOGIC DESIGN
(CS-128)
ASSIGNMENT NO: 01
NAME: SAUD SYED
ROLL NO: 2020-BSCS-142
SECTION: A
DEGREE PROGRAM: BS IN
COMPUTER SCIENCE
ANSWER 01:
(i)
The (C) Diagram seems to have the largest duty
cycle because it has the largest Pulse width as duty
cycle is directly proportional to pulse width.

(ii)
The (C) Diagram seems to have the largest pulse
width because its pulse remains high for ¾th of the
period and remains low for ¼th of the period.

(iii)
The three of the waves have the same time.
The time period is measured from the edge of one
pulse to the corresponding edge of next pulse. Time
period can be written as T=ON time + OFF time. So.
the form the above waveform we can see that the
distance from the age of 1 pulse to the
corresponding age of next pulse is equal fully stop
so we can say that the time period of with A , B & C
is equal.

(iv)
All the 3 waveforms have the similar frequency as
they are having the same time periods.

ANSWER 02:
Roll No: 142
Into Binary:
2 / 142
2 / 71 --- 0
2 / 35 --- 1
2 / 17 --- 1
2 / 8 --- 1
2 / 4 --- 0
2 / 2 --- 0
2 / 1 --- 0
(142)10 = (10001110)2
Into Octal:
8 / 142
8 / 17 --- 6
8 / 2 --- 1
(142)10= (216)8
Into HexaDecimal:
16 / 142
16 / 8 --- E
(142)10= (8E)16
ANSWER 03:
My Roll NO is 142,
In binary: 10001110
(-451)10 = (111000011)2
1’s Complement:
000111100
2’s Complement:
000111100
+1
=000111101
Adding with My Binary Roll NO:
10001110
+000111101
=011001011
1’s Complement:
100110100
2’s Complement:
100110100
+1
= -100110101 (ANS)

ANSWER 04:
FLOATING POINT:
The term Floating Point refers to the fact that a
number’s radix point (decimal point, or more
commonly in computers, binary point) can “float”,
that is, it can be placed anywhere relative to the
significant digits of the number.
CONVERSION: (142*10^12 into Floating Point)
142 * 10^12 = 142000000000000

ANSWER 05:
(i)
Largest Binary Number in 8 bits is 11111111.
= 1 * 2^7 + 1 * 2^6 + 1 * 2^5 + 1 * 2^4 + 1 * 2^3 +
1 * 2^2 + 1 * 2^1 + 1 * 2^0
= 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
= 255
The largest possible base 10 answer is 255.

(ii)
Smallest Binary Number in 8 bits is 00000000.
= 0 * 2^7 + 0 * 2^6 + 0 * 2^5 + 0 * 2^4 + 0 * 2^3 +
0 * 2^2 + 0 * 2^1 + 0 * 2^0
=0+0+0+0+0+0+0+0
=0
The smallest possible base 10 answer is 0.

You might also like