Computing 9691 · 13

Data representation

55 questions. Open a question to solve it and check the official answer.

2012 May-June · Paper 33 · Q3(c)(ii)

Floating-point representation and manipulation · 1 mark

3 747-400 2007 1090 London New York 1165 New York Boston (c) Real numbers are to be stored in floating point representation with: For Examiner's Use • 8 bits for the mantissa, fol…

2012 May-June · Paper 33 · Q3(f)(ii)

Floating-point representation and manipulation · 11 marks

(ii) What is the hexadecimal for this binary pattern? [1] (b) (i) A computer system needs to be able to store positive and negative integers. Two possible representations are: • s…

2012 May-June · Paper 33 · Q3(f)(iii)

Floating-point representation and manipulation · 4 marks

(iii) Show the binary pattern for the smallest negative number (negative sign and large magnitude) which can be stored using a normalised 12-bit floating point representation. Man…

2012 May-June · Paper 33 · Q4(a)

Floating-point representation and manipulation · 11 marks · official answer ready

4 bits for the exponent • two’s complement used for both the mantissa and the exponent (i) Consider the binary pattern: 1 0 1 0 1 0 0 0 0 1 1 1 What number is this in denary? Show…

2012 May-June · Paper 33 · Q4(b)

Floating-point representation and manipulation · 10 marks · official answer ready

4 bits for the exponent • two’s complement used for both the mantissa and the exponent (i) Consider the binary pattern: 1 0 1 0 1 0 0 0 0 1 1 1 What number is this in denary? Show…

2012 May-June · Paper 33 · Q4(c)

Floating-point representation and manipulation · 11 marks · official answer ready

4 bits for the exponent • two’s complement used for both the mantissa and the exponent (i) Consider the binary pattern: 1 0 1 0 1 0 0 0 0 1 1 1 What number is this in denary? Show…

2012 May-June · Paper 33 · Q4(d)

Floating-point representation and manipulation · 7 marks · official answer ready

4 bits for the exponent • two’s complement used for both the mantissa and the exponent (i) Consider the binary pattern: 1 0 1 0 1 0 0 0 0 1 1 1 What number is this in denary? Show…

2010 October-November · Paper 31 · Q7(a)(i)

Floating-point representation and manipulation · 4 marks · official answer ready

(i) Explain this representation of 9 21 . [4]

2010 October-November · Paper 31 · Q7(a)(ii)

Floating-point representation and manipulation · 2 marks · official answer ready

(ii) Give the floating point value of 22 41 using this representation. [2]

2010 October-November · Paper 31 · Q7(b)

Floating-point representation and manipulation · 4 marks · official answer ready

(b) It is decided to change the representation by using 10 bits for the mantissa and 6 bits for the exponent. Explain the effect of this decision on the range and accuracy of the …

2010 October-November · Paper 32 · Q7(a)(i)

Floating-point representation and manipulation · 4 marks · official answer ready

(i) Explain this representation of 9 21 . [4]

2010 October-November · Paper 32 · Q7(a)(ii)

Floating-point representation and manipulation · 2 marks · official answer ready

(ii) Give the floating point value of 22 41 using this representation. [2]

2010 October-November · Paper 32 · Q7(b)

Floating-point representation and manipulation · 4 marks · official answer ready

(b) It is decided to change the representation by using 10 bits for the mantissa and 6 bits for the exponent. Explain the effect of this decision on the range and accuracy of the …

2010 October-November · Paper 33 · Q7(a)

Floating-point representation and manipulation · 4 marks · official answer ready

(a) One way to represent 6.5 as a floating-point number in this representation is 001101000100 Explain why this representation is equivalent to 6.5 [4]

2010 October-November · Paper 33 · Q7(b)(i)

Floating-point representation and manipulation · 2 marks · official answer ready

(i) Using the representation above to help you, write the number 6.5 as a floating-point number in normalised form. [2]

2010 October-November · Paper 33 · Q7(b)(ii)

Floating-point representation and manipulation · 2 marks · official answer ready

(ii) Explain the effects of changing the representation so that 8 bits are used for the mantissa and 4 bits for the exponent. [2]

2010 October-November · Paper 33 · Q7(c)

Floating-point representation and manipulation · 2 marks · official answer ready

(c) The numbers 011011001101 and 101100001110 are stored with 6 bits for the mantissa and 6 for the exponent. Add the exponents of the two floating-point numbers together. [2] 4

2009 May-June · Paper 3 · Q6(b)(i)

Floating-point representation and manipulation · 2 marks · official answer ready

(i) Explain what is meant by the mantissa of a floating point number. [2]

2009 May-June · Paper 3 · Q6(b)(ii)

Floating-point representation and manipulation · 2 marks · official answer ready

(ii) Explain what is meant by the exponent of a floating point number. [2]

2009 May-June · Paper 3 · Q6(b)(iii)

Floating-point representation and manipulation · 3 marks · official answer ready

(iii) Show why 001010110101 is a floating point representation of 10¾. [3]