A digital signal processor stores a signed audio signal level in a 16-bit register.
To scale the amplitude of the signal, a programmer performs a right shift of 3 places on the register contents.
Describe how the vacant bit positions on the left are filled differently depending on whether a logical right shift or an arithmetic right shift is performed.
117 exam-style questions on Edexcel GCSE Computer Science Binary, 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. Each one has a worked solution and a mark scheme showing where the marks go.