Data representation
73 questions. Open a question to solve it and check the official answer.
Floating-point representation and manipulation · 4 marks · official answer ready
(a) 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 Expone…
Floating-point representation and manipulation · 2 marks · official answer ready
(b) Explain the problem that occurred in part (a) when representing the number in system 2. .......................................................................................…
User-defined data types · 2 marks · official answer ready
(a) A data type to hold a set of prime numbers below 20. These prime numbers are: .................................................................................................…
User-defined data types · 2 marks · official answer ready
(b) A data type to point to a day in the week, for example Monday. ................................................................................................................…
Floating-point representation and manipulation · 2 marks · official answer ready
(a) Write the normalised floating‑point representation of the following binary number using this system: 0101010.111 Show your working. Working ...................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Describe the reason why the normalised form of the following binary number cannot be represented accurately using this system. ................................................…
Floating-point representation and manipulation · 4 marks · official answer ready
(a) 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 Expone…
Floating-point representation and manipulation · 2 marks · official answer ready
(b) Explain the problem that occurred in part (a) when representing the number in system 2. .......................................................................................…
User-defined data types · 2 marks · official answer ready
(a) A data type to hold a set of prime numbers below 20. These prime numbers are: .................................................................................................…
User-defined data types · 2 marks · official answer ready
(b) A data type to point to a day in the week, for example Monday. ................................................................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Write the normalised floating-point representation of +202 in this system. Show your working. Mantissa Exponent Working .......................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Write the normalised floating-point representation of –202 in this system. Show your working. Mantissa Exponent Working .......................................................…
Floating-point representation and manipulation · 1 mark · official answer ready
(i) State why the number is not normalised. .......................................................................................................................................…
Floating-point representation and manipulation · 2 marks · official answer ready
(ii) Write the normalised floating-point representation of the number. Mantissa Exponent [2]
Floating-point representation and manipulation · 2 marks · official answer ready
(i) Write the normalised floating-point representation of the following unsigned binary number using this system. Working .........................................................…
Floating-point representation and manipulation · 2 marks · official answer ready
(ii) State the consequence of storing the binary number in part (a)(i) as a floating-point number in this system. Justify your answer. Consequence ................................…
User-defined data types · 2 marks · official answer ready
(a) Write pseudocode to create an enumerated type called Parts to include these parts sold in a computer shop: Monitor, CPU, SSD, HDD, LaserPrinter, Keyboard, Mouse ..............…
File organisation and access · 4 marks · official answer ready
5 (a) Compare sequential and serial methods of file organisation. .................................................................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Calculate the normalised floating-point representation of –7.25 in this system. Show your working. Mantissa Exponent Working ..................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Calculate the denary value of the given binary floating-point number. Show your working. Mantissa Exponent Working ............................................................…
