Quelpr

CAPE Computer Science Unit 1 · 2014 · Paper 2 · Question 1(g)

Consider the following floating point representation: 1-bit sign, 3-bit exponent, 5-bit mantissa.

Calculate the decimal representation of 001110110.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 1(a)Draw a clearly labelled block diagram of a 2 to 1 line multiplexer.[5 marks]
  2. 1(b)Explain what is meant by the term 'logic gate'.[2 marks]
  3. 1(c)Write the truth table for the circuit shown in Figure 1 by listing all possible input bit patterns and their corresponding outputs.[4 marks]
  4. 1(d)State which of the following terms are associated with a single output value: Decoder, Flip-flop, Multiplexor.[2 marks]
  5. 1(e)(i)If there are three bits needed to display a digit, calculate how many digits this decoder can display.[2 marks]
  6. 1(e)(ii)List the letters of the segments that must be switched on to display the number 5.[5 marks]
  7. 1(f)Find the 4-bit two's complement of -7.[2 marks]

More practice: the rest of this paper · more Data Representation questions · all CAPE Computer Science Unit 1 past papers