Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
12 views
2 pages
Quiz 1 Solution
Brac University CSE330 Quiz 1 Questions
Uploaded by
Debjoty Mitra
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save quiz 1 solution For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
12 views
2 pages
Quiz 1 Solution
Brac University CSE330 Quiz 1 Questions
Uploaded by
Debjoty Mitra
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save quiz 1 solution For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save quiz 1 solution For Later
You are on page 1
/ 2
Search
Fullscreen
CSE330 Fall 2022 Total time: 30 min Quiz 1 Set-A ‘Name: 10: For part (a), (b), (c) and (d), assume that the system has the following parameters: B = 2, m=3, @q,=—1and nm = 2. (a) (4 marks) Consider x€6/B, and low convert these numbers into floating point fi(x) and fl(y). {b) (6 marks) Compute x*y, then evaluate fil) *fily) and state whether any rounding error occurs or not. (©). (2 mark) How many non-negative numbers are perfectly representable by this system in Lecture Notes Convention 1? (¢) (2 marks) Find the minimum positive number represented by the system in Convention 1. For part (e), assume that the system follows the denormalized convention and has the following parameters: 8 = 2, 1 bit for sign, 3 bit for exponent, and 6 bit for the mantissa. (€) (2 +4 marks) Find the value for enis 2d €nye Then assume Enis reserved for zero and mais reserved for infinity, now calculate the highest possible and lowest possible non-negative number that can be represented by the system. & 241) = Corned, x2° = qed Ay) G (ou), x2 =F © MPN xf1y) - 443 4E - 2B O'l0l Z 0'10\0) 2 O'llO Lssince m=S 5 Hue ON digit sis oO. ee Oe | Jap) —>y | = dp @ © $= Cordds +) 16" 4 m 1,2, e en (o- pau xe otal = 16 ® +#(o100,.x29 © 8 bit fon e.So, 2 sonn a } @-> w > woral for <0 igo possibe non-negative. = + (Or4 111 IM)2%7 boroeat possible nen-nsgabive 24 (0-1 sovoes) xO? 4 coomal De . ~ rounding enon octuns . Scanned with CamScannerCSE330 Fall 2022 Total time: 30 m Quiz Set-B For part (a), (b), (c) and (d), assume that the system has the following parameters: B = 2, m=3, @no=~1 and Cran = 2. {a) (4 marks) Consider x = 4/8, and y = 5/8. Now convert ‘these numbers into floating points fl(x) and fily). (b) (6 marks) Compute x*y, then evaluate fl(x)*flly) and state whether any rounding error occurs or not. {c)_ (2 mark) How many non-negative numbers are perfectly representable by this system in the Denormalized form? (d) (2 marks) Find the minimum positive number represented by the system in the Denormalized form. For part (e), assume that the system follows the denormalized convention and has the following parameters: B = 2, 1 bit for sign, 4 bit for exponent, and 5 bit for the mantissa. {e) (2+4 marks) Find the value for en, and €nay- Then assume Cn is reserved for zero aNd Cay IS reserved for infinity, now calculate the highest possible and lowest possible non-negative number that can be represented by the system. @ a SH) - (orto). x2 ; ye BSN) ~ (oro n2® Toa) = $l) rf) Ae fe > e+ tr G4 =(o 20101),%2 Orldt COr1O1D ZorlpID = (1010... xe Ae). Gates Jol oA Dred ae a a 1 rowing eteom OCS. 4 © #e*C1dden Dinpe ae 2 (onnary) xp“) (2) +(01000), xe! ©) 4 bib ston empormk, So, g! > DOAN “mint 0 } thags Ibe highs possibe non nepative = tort yuiyoxe bowel poscibl nee = + (o1 22004), xe = > 0 pend don geno, Jota = B2- > ars IS ruspred -~ Scanned with CamScanner
You might also like
Floating Point Arithmetic
PDF
100% (1)
Floating Point Arithmetic
30 pages
Real Numbers Problems PDF
PDF
100% (1)
Real Numbers Problems PDF
9 pages
Drdo Cse 2022
PDF
No ratings yet
Drdo Cse 2022
7 pages
Assingnment# 1
PDF
No ratings yet
Assingnment# 1
8 pages
CS 231 - Fall 2011 Midterm Exam 1 October 3, 2011
PDF
No ratings yet
CS 231 - Fall 2011 Midterm Exam 1 October 3, 2011
12 pages
The World Is Not Just Integers: Programming Languages Support Numbers With Fraction
PDF
No ratings yet
The World Is Not Just Integers: Programming Languages Support Numbers With Fraction
51 pages
Test 1 (QP)
PDF
No ratings yet
Test 1 (QP)
4 pages
Lect4 Floats
PDF
No ratings yet
Lect4 Floats
64 pages
95% Completely Clueless: " of The Folks Out There Are About Floating-Point."
PDF
No ratings yet
95% Completely Clueless: " of The Folks Out There Are About Floating-Point."
33 pages
03 - Binary Systems - 2
PDF
No ratings yet
03 - Binary Systems - 2
65 pages
Real Numbers Problems
PDF
No ratings yet
Real Numbers Problems
9 pages
Computer Science Final Exam (2008)
PDF
No ratings yet
Computer Science Final Exam (2008)
16 pages
CH03 Data II
PDF
No ratings yet
CH03 Data II
31 pages
CEG 2136 - Fall 2008 - Midterm
PDF
No ratings yet
CEG 2136 - Fall 2008 - Midterm
20 pages
Assignment 3 Answer (1) FINAL............. Coal
PDF
No ratings yet
Assignment 3 Answer (1) FINAL............. Coal
14 pages
EE303 2017 Final
PDF
No ratings yet
EE303 2017 Final
15 pages
Tutorial 1 Co Solutions Tit 402
PDF
No ratings yet
Tutorial 1 Co Solutions Tit 402
14 pages
UNIT 1 (Number Systems) : TUTORIAL SHEET: 151 174 10110111 AB3 1023 15C 101111 C35 261 11011001 1375
PDF
No ratings yet
UNIT 1 (Number Systems) : TUTORIAL SHEET: 151 174 10110111 AB3 1023 15C 101111 C35 261 11011001 1375
10 pages
80 MCQ For Lec 2
PDF
No ratings yet
80 MCQ For Lec 2
22 pages
Part A: Common Part: 1 1 1 2 K I 1 I I I I 3
PDF
No ratings yet
Part A: Common Part: 1 1 1 2 K I 1 I I I I 3
15 pages
ECSE343MidtermW2023 Final
PDF
No ratings yet
ECSE343MidtermW2023 Final
8 pages
GATE1996
PDF
No ratings yet
GATE1996
10 pages
02 - Data Representation - Exercise Sheet 2 (Solutions) - 1271758327
PDF
No ratings yet
02 - Data Representation - Exercise Sheet 2 (Solutions) - 1271758327
5 pages
Numerical Computing Extra Exercises ch.1
PDF
No ratings yet
Numerical Computing Extra Exercises ch.1
7 pages
CSE End 2nd Sem PYQ'24
PDF
No ratings yet
CSE End 2nd Sem PYQ'24
13 pages
Untitled 1
PDF
No ratings yet
Untitled 1
6 pages
HW 4 Sol
PDF
No ratings yet
HW 4 Sol
10 pages
Final Practice
PDF
No ratings yet
Final Practice
12 pages
Diagnostic Exam1
PDF
No ratings yet
Diagnostic Exam1
9 pages
EE221 - Fall 2024 - Midterm Exam Solution
PDF
No ratings yet
EE221 - Fall 2024 - Midterm Exam Solution
7 pages
Previous Years Sem1
PDF
No ratings yet
Previous Years Sem1
11 pages
Assignment1 Sol
PDF
No ratings yet
Assignment1 Sol
7 pages
Zhang Bo 24113508d
PDF
No ratings yet
Zhang Bo 24113508d
4 pages
Selfstudys Com File
PDF
No ratings yet
Selfstudys Com File
5 pages
Example Floating Point Problems: Problem 1
PDF
No ratings yet
Example Floating Point Problems: Problem 1
4 pages
COL100 Minor1 2020-21 Sem2 230910 225218
PDF
No ratings yet
COL100 Minor1 2020-21 Sem2 230910 225218
6 pages
MCFC 2109 Test 1 (QP) PDF
PDF
No ratings yet
MCFC 2109 Test 1 (QP) PDF
4 pages
Midterm 2016 Corr
PDF
No ratings yet
Midterm 2016 Corr
4 pages
DS226 Assgn 01 Ver1
PDF
No ratings yet
DS226 Assgn 01 Ver1
5 pages
CH 03
PDF
No ratings yet
CH 03
6 pages
Math Test Paper
PDF
No ratings yet
Math Test Paper
5 pages
Question Tutorial 3 2025
PDF
No ratings yet
Question Tutorial 3 2025
3 pages
Some Good Number Systems Problems
PDF
No ratings yet
Some Good Number Systems Problems
4 pages
MidtermExamSolutions ECE-171 PSU
PDF
No ratings yet
MidtermExamSolutions ECE-171 PSU
4 pages
College of Engineering and Computing: Assignment 1
PDF
No ratings yet
College of Engineering and Computing: Assignment 1
3 pages
Tutorial Sheet1
PDF
No ratings yet
Tutorial Sheet1
2 pages
CSE330 Spring 2024 Quiz 1 Set B
PDF
No ratings yet
CSE330 Spring 2024 Quiz 1 Set B
2 pages
240 Problem Samples
PDF
No ratings yet
240 Problem Samples
2 pages
Sample Test 1 (QP) - AA
PDF
No ratings yet
Sample Test 1 (QP) - AA
3 pages
X X X X X X
PDF
No ratings yet
X X X X X X
2 pages
CSC336 Midterm 1 Fall 2011
PDF
No ratings yet
CSC336 Midterm 1 Fall 2011
3 pages
Computer Organization Number System
PDF
No ratings yet
Computer Organization Number System
5 pages
Assignment1 Cse330 Sp2022
PDF
No ratings yet
Assignment1 Cse330 Sp2022
1 page
Assignment1-Cse330 Spring2024
PDF
No ratings yet
Assignment1-Cse330 Spring2024
1 page
Assignment1-Cse330 - Fall 2024
PDF
No ratings yet
Assignment1-Cse330 - Fall 2024
1 page
All Zeros Here: MAE384 Fall 2012 Homework #1 1 Point 1% of Your Total Score For The Semester
PDF
No ratings yet
All Zeros Here: MAE384 Fall 2012 Homework #1 1 Point 1% of Your Total Score For The Semester
1 page
Assignment1 Cse330 Fall2022
PDF
No ratings yet
Assignment1 Cse330 Fall2022
1 page