Systems (Two's Complement and Binary PPQ's) Flashcards

Using SQA marking schemes

You may prefer our related Brainscape-certified flashcards:
1
Q

Convert the number −120 into 8 bit two’s complement.
1 mark

2018 question 1

A

1000 1000

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Convert the following 8-bit two’s complement number into denary.
1001 1010
1 mark

2019 question 1

A

-102

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Two’s complement can be used to represent positive and negative integers.
State the range of denary values that can be represented using 32‐bit two’s
complement.
2 marks

2022 question 1

A
  • -2^31 OR -2 147 483 648
  • 2^31 – 1 OR 2 147 483 647

Help me out guys!

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Write the following binary number using floating‐point representation. −111 0000 1111.0101
There are 16 bits for the mantissa (including the sign bit) and 8 bits for the exponent.

Sign:
Mantissa:
Exponent:

2022 question 2

A
  • sign bit: 1
  • 111 0000 1111 0101
  • exponent: 0000 1011

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Convert the 8-bit two’s complement number 1111 0000 into denary.
1 mark

2023 question 1

A

-16

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Convert the binary number below into floating-point representation. −0.0000 0101 0000 1111
There are 16 bits for the mantissa (including the sign bit) and 8 bits for the exponent.
3 marks

2023 question 3(a)

A
  • Sign: 1
  • Remaining mantissa:
    101 0000 1111 0000
  • Exponent: 1111 1011

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

State the effect of increasing the number of bits allocated to the mantissa.
1 mark

2023 question 3(b)

A

Floating point numbers could be stored more precisely/accurately.

From SQA marking scheme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly