WJEC A-Level Computer Science 601-5345-3
Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types
Data Structures
Organisation of Data: Files and Records
Database Systems
The Operating System
Algorithms and Programs
Principles of Programming
Systems Analysis
Software Engineering and Program Construction
Types of Software System
Practical Programming
Data Security and Integrity
Computing, Society and the Law
Advanced Data Structures and Logic
Recursion, Sorting and Searching
Programming Paradigms and Translators
System Design and Human-Computer Interaction
Software Engineering Tools and Professional Practice
Advanced Architecture and Assembly Language
Communication Networks and File Organisation
Number Representation and Floating Point
Databases and Distributed Systems
Operating System Management
Software Systems and Applications
Data Security, Cryptography and Attack
Number Representation and Floating Point
Shifts, overflow and underflow
- 3 things to know
- A2 Unit 4
Overview
Logical shift, arithmetic shift and circular shift.
What you need to know
Answer each one before you reveal it.
What is a logical shift?
Apply a logical shift left of two places to 00000110 and give the denary result.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is a logical shift?
Model answer
A shift in which bits are moved and the vacated positions are filled with zeros, the bits shifted out being lost.
- 2
What is the effect of a logical shift left by one place?
Model answer
It multiplies an unsigned value by two.
- 3
What is the effect of a logical shift right by one place?
Model answer
It divides an unsigned value by two, discarding any remainder.
- 4
Apply a logical shift left of two places to 00000110 and give the denary result.
Model answer
00011000, which is 24.
- 5
Apply a logical shift right of one place to 00001010 and give the denary result.
Model answer
00000101, which is 5.
- 6
What is an arithmetic shift?
Model answer
A shift that preserves the sign bit, so that a signed value keeps its sign when shifted right.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Number Representation and Floating Point, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.