Skip to content
VUBuddy

CS101 Assignment 1 Fall 2021

Introduction to Computing PDF 238 KBUpdated 23 Oct 2026
Assignment CS101 Assignment 1 Fall 2021 PDF 238 KB
vubuddy.com
Type
Assignment
Course
CS101 Introduction to Computing
Size
PDF 238 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 238 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

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. 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.

All CS101 files →
CS101 Introduction to Computing All CS101 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.