Computer Science 9618/31 — May/June 2023
Cambridge A-Level · Advanced Theory · worked solutions for every part, with the mark scheme
Topics Data Representation · Hardware and Virtual Machines · Computational Thinking and Problem-solving · Artificial Intelligence (AI) · Communication and Internet Technologies · System Software · +2 more
Numbers are stored in two different computer systems by using floating-point representation.
System 1 uses:
- 10 bits for the mantissa
- 6 bits for the exponent
- two’s complement form for both the mantissa and the exponent.
System 2 uses:
- 8 bits for the mantissa
- 8 bits for the exponent
- two’s complement form for both the mantissa and the exponent.
Calculate the normalised floating-point representation of 113.75 and show how it would be represented in each of these two systems.
Show your working.
System 1
| Mantissa | Exponent | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
System 2
| Mantissa | Exponent | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Working .....................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Explain the problem that occurred in part (a) when representing the number in system 2.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
The rest of this paper
11 more questions- Q2Artificial Intelligence (AI)6M
- Q3Data Representation6M
- Q4Data Representation4M
- Q5Communication and Internet Technologies6M
- Q6System Software8M
- Q7Hardware and Virtual Machines7M
- Q8Hardware and Virtual Machines3M
- Q9Security6M
- Q10Further Programming5M
- Q11Computational Thinking and Problem-solving11M
- Q12Computational Thinking and Problem-solving7M