- Type
- Assignment
- Course
- CS101 Introduction to Computing
- Size
- PDF 238 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 3 of 4. Download the file for all 4 pages.
CS101 Assignment Solution # 1 Fall 2021
Q1. PART A:
Encode the following decimal fractional value to binary floating point notation using the 8-bit floating-point format.
Solution:
o -3.5 As number is negative so sign bit notation is 1. o First convert 3.5 into binary Binary of 3.5 is 011.1
Mantissa field: 0111 radix in .0111 must be moved 3 bit to the right to obtain
- 1
So exponent is positive 3…
Final 8 bit floating point notation is
PART B:
Decode the following 8-bit floating point binary value to decimal fractional value. Convert into binary 46(3/8)=101110.0110 92(7/8)=1011100.1110
Now, Addition
1+0=1 1+1=0 (1 carry) 1+1+1=1(1 carry) 0+1=1
1 0 1 1 1 0 0 . 1 1 1 0 1 0 1 1 1 0 . 0 1 1
1 0 0 0 1 0 1 1 . 0 1 0 So, 10001011.010 Answer.
Related CS101 files
All CS101 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.