Learning objective
Signed binary using two’s complement: Know that signed binary can be used to represent negative integers and that one possible coding scheme is two’s complement. This is the only representation of negative integers that will be examined. Students are expected to be able to convert between signed binary and decimal and vice versa. Know how to: • represent negative and positive integers in two’s complement • perform subtraction using two’s complement • calculate the range of a given number of bits, n.
Read the explanation, check the common trap, then practise with flashcards and questions.
At a glance
0
Flashcards
0
Questions
Topic
Binary number system
Subtopic
Signed binary using two’s complement
Study support
Understand this objective
Quick explanation
Signed binary using two’s complement: Know that signed binary can be used to represent negative integers and that one possible coding scheme is two’s complement. This is the only representation of negative integers that will be examined. Students are expected to be able to convert between signed binary and decimal and vice versa. Know how to: • represent negative and positive integers in two’s complement • perform subtraction using two’s complement • calculate the range of a given number of bits, n
- This point belongs to Binary number system, especially Signed binary using two’s complement.
- You need to be able to signed binary using two’s complement: Know that signed binary can be used to represent negative integers and that one possible coding scheme is two’s complement. This is the only representation of negative integers that will be examined. Students are expected to be able to convert between signed binary and decimal and vice versa. Know how to: • represent negative and positive integers in two’s complement • perform subtraction using two’s complement • calculate the range of a given number of bits, n.
- Use the linked flashcards and practice questions to check recall, then practise applying the idea in an exam-style answer.
Why it matters
This objective helps connect Signed binary using two’s complement to exam-style questions, flashcards, and revision notes for Binary number system.
Quick student answer
What decimal value does the 8-bit two’s complement value 00010110 represent?
Direct answer
22
Key terms
- Two’s complement: A binary coding scheme for representing signed integers, including negative integers, by inverting the bits of the positive value and adding 1.
- Signed binary: Binary representation in which bit patterns are used to represent both positive and negative integers.
Common trap
Forgetting the final addition of 1: After inverting every bit, always add 1, using the specified fixed number of bits. For example, +5 as 8 bits is 00000101, so -5 is 11111011, not 11111010.
Related questions
Try this as a practice card
Question 1 of 4
Choose an answer, get feedback, then move sideways through the set.
Flashcard prompts
Flip through the key recall cards
Flashcard 1 of 4
Revision tools
Choose how to practise
Flashcards0 linked cards
Practice Questions0 linked questions
Related learning objectives
- Unsigned binary: Know the difference between unsigned binary and signed binary. Students are expected to be able to convert between unsigned binary and decimal and vice versa. Know that in unsigned binary the minimum and maximum values for a given number of bits, n, are 0 and 2n -1 respectively.
Unsigned binary
- Unsigned binary arithmetic: Be able to: • add two unsigned binary integers • multiply two unsigned binary integers. 66
Unsigned binary arithmetic
- Numbers with a fractional part: Know how numbers with a fractional part can be represented in: • fixed point form in binary in a given number of bits • floating point form in binary in a given number of bits. Students are not required to know the Institute of Electrical and Electronic Engineers (IEEE) standard, only to know, understand and be able to use a simplified floating representation consisting of mantissa + exponent. Be able to convert for each representation from: • decimal to binary of a given number of bits • binary to decimal of a given number of bits. Exam questions on floating point numbers will use a format in which both the mantissa and exponent are represented using two's complement.
Numbers with a fractional part
- Rounding errors: Know and be able to explain why both fixed point and floating point representation of decimal numbers may be inaccurate. Use binary fractions. For a real number to be represented exactly by the binary number system, it must be capable of being represented by a binary fraction in the given number of bits. Some values cannot ever be represented exactly, for example 0.110.
Rounding errors
- Absolute and relative errors: Be able to calculate the absolute error of numerical data stored and processed in computer systems. Be able to calculate the relative error of numerical data stored and processed in computer systems. Compare absolute and relative errors for large and small magnitude numbers, and numbers close to one.
Absolute and relative errors
