A digital depth sensor records two elevations relative to sea level as -13 m and -7 m. These elevations are represented in a computer system as 8-bit signed integers using two's complement.
Complete the table to show the binary addition of these two negative numbers.
| Place Value | -128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| -13 | ||||||||
| -7 | ||||||||
| Result |
Practise Edexcel GCSE Computer Science Binary with exam-style questions for GCSE Computer Science. 100 questions covering Binary representation and number of states, Unsigned and two's complement integers, Converting denary and 8-bit binary, Binary addition and binary shifts, Concept of overflow, and Hexadecimal notation and conversion, matched to the Edexcel GCSE Computer Science (1CP2) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.