CS101 Introduction to Computing Assignment No.01 Fall 2021 Solution / Discussion
Tags:
Share the Assignment Questions & Discuss Here....
Stay touched with this discussion & Participate in this discussion to solve the assignment, Solution idea will be uploaded as soon as possible in replies here before the due date.
CS101 Assignment no1 Question no 3 ka solution
question no 1???
Zindgii Cell no, mail address sharing is not allowed at the site .thanks for understanding :)
Maheera khalid question no 01 answer will uploaded soon .thanks
Asalam o alikum sir, can you plz tell me that how to make OR, XOR gate on MS WORD?
CS101 Question no 1 and 2 solution...Assignment No 01 Fall 2021
CS101 Assignment 1 Solution Fall 2021  CS101 Assignment Solution 2022
CS101 Assignment 1 solution Fall 2021
Question no 1:
PART A:
Encode the following decimal fractional value to binary floatingpoint notation using the 8bit floatingpoint 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
011.1
So exponent is positive 3…
Final 8 bit floating point notation is
1 
1 
1 
1 
0 
1 
1 
1 
PART B:
Decode the following 8bit floating point binary value to decimal fractional value.
o 00101100
0 
0 
1 
0 
1 
1 
0 
0 
Mantissa is:
.1100
Exponent:
010
It is in 3bit excess notation4:
2
Exponent is negative so shift radix (.1100) left
.001100
Convert it into decimal fractional value
.001100 is equal to .0011
. 
21 
22 
23 
24 
. 
1/2 
¼ 
1/8 
1/16 
. 
0 
0 
1 
1 
0+0+1/8+1/16=0.1875 Answer
QUESTION NO 2:
Perform the binary addition on the following decimal numbers.
46( 3/8) and 92(7/8)
SOLUTION:
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.
QUESTION NO 3:
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 column 2 and column 3.
SOLUTION:
Circuits 
What would be the output when the upper input is 1 and the lower input is 0? 
What would be the output when upper input is 0 and the lower input is 1? 
INPUTS OUTPUT 
0 
0 
INPUTS OUTPUT 
0 
1 
Download attachment for CS101 assignment 1 soluton file.
© 2022 Created by + M.Tariq Malik. Powered by
Promote Us  Report an Issue  Privacy Policy  Terms of Service
We are usergenerated contents & noncommercial site since 2009. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & noncommercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List  Moderators Group
All Members  Featured Members  Top Reputation Members  Angels Members  Intellectual Members  Criteria for Selection
Become a Team Member  Safety Guidelines for New  Site FAQ & Rules  Safety Matters  Online Safety  Rules For Blog Post