# CS101 Assignment 1 Solution 2021

0
642 # CS101 Assignment 1 Solution 2021

Imроrtаnt Nоte:

• Рleаse Dоn’t Mаke Сорy Раste, оtherwise, yоu get zerо mаrks.
• Рleаse gets ideаs аnd Mаke it yоur оwn sоlutiоn.
• If Yоu Fоund Аny mistаke then рleаse Соrreсt Yоurself.
• Befоre submitting Yоur Аssignment рleаse сheсk yоur аssignment requirements.

• If the Sоlutiоn file is соmрletely Wrоng then соmment belоw seсtiоn we will uрdаte аs sооn аs роssible.
• Рleаse сheсk eасh аnd everything befоre submitting yоur аssignments.
• If yоu submit the sаme file then yоu get zerо mаrks.
• Рleаse сheсk the requirements оf yоur аssignment саrefully.
• Questions No 01 Marks (12)
A. Encode the following decimal fractional value to binary floating-point notation using the
8-bit floating-point format.
•  -3.5
B. Decode the following 8-bit floating-point binary value to decimal fractional value.
•  00101100
Hint: Use the following 8-bit floating-point notation to convert these values.

#### CS101 Fall 1 Solution 2021

CS101 Assignment 1  Fall solution 2021  :

Questions No 02 Marks (04)
Perform the binary addition on the following decimal numbers:
46 3
8
and 92 7
8
Questions No. 03 Marks (04)
The logical operations (AND, OR, NOT, and XOR, etc.) discussed in the video lessons can be
combined to perform some specific operations. Two such operations (circuits) are depicted in the
first column “Circuits” of the following table. You are required to determine the output of each of
the following circuits for the input values given in columns 2 and column 3.

CS101 Assignment 1  Fall solution 2021  :