Computer Science 9608 · 1

1.1 Data representation

44 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2018 May-June · Paper 13 · Q3(c)(ii)

Data representation · 1 mark · official answer ready

3 A computer is designed using the Von Neumann model. (c) H is a register. The current contents of H are: 1 1 0 0 0 0 0 1 The current contents of register H represent an unsigned …

2018 May-June · Paper 13 · Q3(c)(iii)

Data representation · 1 mark · official answer ready

3 A computer is designed using the Von Neumann model. (c) H is a register. The current contents of H are: 1 1 0 0 0 0 0 1 The current contents of register H represent an unsigned …

2018 May-June · Paper 13 · Q3(c)(iv)

Data representation · 1 mark · official answer ready

3 A computer is designed using the Von Neumann model. (c) H is a register. The current contents of H are: 1 1 0 0 0 0 0 1 The current contents of register H represent an unsigned …

2017 October-November · Paper 13 · Q1(b)(i)

Data representation · 1 mark · official answer ready

(i) Convert the following denary integer into Binary Coded Decimal (BCD). 653 .....................................................................................................…

2017 October-November · Paper 13 · Q1(b)(ii)

Data representation · 1 mark · official answer ready

(ii) A 3-digit BCD representation has been incorrectly copied. It is shown as: State how you can recognise that this is not a valid BCD representation. ...........................…

2017 October-November · Paper 13 · Q4(d)(ii)

Data representation · 3 marks · official answer ready

(ii) Use the following instruction set to write the numbers for A and B. A (binary) ...............................................................................................…

2017 October-November · Paper 21 · Q1(a)(iii)

Data representation · 2 marks · official answer ready

(iii) Describe how characters are represented using the ASCII character set. ......................................................................................................…

2017 October-November · Paper 23 · Q1(a)(iii)

Data representation · 2 marks · official answer ready

(iii) Describe how characters are represented using the ASCII character set. ......................................................................................................…

2017 May-June · Paper 41 · Q1(b)

Data representation · 7 marks · official answer ready

(b) The programmer now starts to write a program that: • tests whether an 8-bit two’s complement integer stored at address NUMBER is positive or negative • outputs 'P' for a posit…

2017 May-June · Paper 42 · Q1(b)

Data representation · 6 marks · official answer ready

(b) The programmer now starts to write a program that: • converts a positive integer, stored at address NUMBER1, into its negative equivalent in two’s complement form • stores the…

2017 May-June · Paper 43 · Q1(b)

Data representation · 7 marks · official answer ready

(b) The programmer now starts to write a program that: • tests whether an 8-bit two’s complement integer stored at address NUMBER is positive or negative • outputs 'P' for a posit…

2016 October-November · Paper 11 · Q3(b)(i)

Data representation · 2 marks · official answer ready

(i) Describe how denary integers larger than 9 can be converted into BCD. Give an example in your answer. .........................................................................…

2016 October-November · Paper 11 · Q3(b)(ii)

Data representation · 2 marks · official answer ready

(ii) Describe how an 8-bit BCD representation can be converted into a denary integer. Give an example in your answer. .............................................................…

2016 October-November · Paper 12 · Q4

Data representation · 4 marks · official answer ready

4 Hexadecimal, Binary Coded Decimal (BCD) and binary values are shown below. Draw a line to link each value to its correct denary value. Hexadecimal, BCD, binary Denary 93 Hexadec…

2016 October-November · Paper 13 · Q3(b)(i)

Data representation · 2 marks · official answer ready

(i) Describe how denary integers larger than 9 can be converted into BCD. Give an example in your answer. .........................................................................…

2016 October-November · Paper 13 · Q3(b)(ii)

Data representation · 2 marks · official answer ready

(ii) Describe how an 8-bit BCD representation can be converted into a denary integer. Give an example in your answer. .............................................................…

2016 October-November · Paper 42 · Q3(a)(i)

Data representation · 2 marks · official answer ready

(i) A program needs a mask to ensure that a letter is in upper case. Write the binary pattern of the mask in the space provided in the table below. Bit number 7 6 5 4 3 2 1 0 ASCI…

2016 May-June · Paper 11 · Q2(b)

Data representation · 1 mark · official answer ready

(b) Convert the following Binary Coded Decimal (BCD) number into denary. ..........................................................................................................…

2016 May-June · Paper 12 · Q2(b)

Data representation · 1 mark · official answer ready

(b) Convert the following Binary Coded Decimal (BCD) number into denary. ..........................................................................................................…

2016 May-June · Paper 13 · Q2(b)

Data representation · 1 mark · official answer ready

(b) Convert the following denary number into Binary Coded Decimal (BCD). 82 .......................................................................................................…