Eduqas A-Level Computer Science A500QS
Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs
Variables, Scope, Parameters and Identifiers
Recursion and Modular Programming
Sorting Algorithms
Searching and Shortest-Path Algorithms
Big O Notation and Algorithm Efficiency
Validation, Verification and Testing
Data Compression
Programming Paradigms and Computer Languages
Systems Analysis, Maintenance and Documentation
System Design and Human-Computer Interaction
Software Engineering Tools and Translators
Computing, Society and the Law
Computer Architecture, the Processor and Assembly Language
Input, Output and Secondary Storage
Networks, Protocols and the Internet
Data Transmission and Network Performance
Number Systems and Binary Arithmetic
Data Types, Characters and Floating Point
Files, Records and File Organisation
Databases, Normalisation and Entity Modelling
SQL, Big Data and Distributed Systems
The Operating System and Its Modes
Interrupts, Memory Management and Scheduling
Types of Software System
Data Security, Cryptography and Attack
Data Types, Characters and Floating Point
Integer and floating point compared
- 3 things to know
- Component 2
Overview
Exactness and simple arithmetic on one side; fractions and enormous magnitudes on the other, bought at the price of approximation.
What you need to know
Answer each one before you reveal it.
Give the main disadvantage of integer representation.
Give the main advantage of floating point representation.
Questions from this subtopic
Each one with the model answer underneath.
- 1
Give the main advantage of integer representation.
Model answer
An integer is stored exactly, with no rounding error at all. Integer arithmetic is also faster and uses simpler hardware.
- 2
Give the main disadvantage of integer representation.
Model answer
An integer cannot hold a fractional part, so 7 divided by 2 loses the half. The range is also limited by the word length.
- 3
Give the main advantage of floating point representation.
Model answer
A floating point format covers a very wide range of magnitudes in a fixed word length. Fractional values can be held to a useful number of significant figures.
- 4
Give the main disadvantage of floating point representation.
Model answer
Most floating point values are approximations, so small errors accumulate over many operations. Arithmetic is also slower and needs more complex circuitry.
- 5
Which representation suits a bank balance held in pence, and why?
Model answer
An integer count of pence is the right choice, because every value must be exact. Floating point rounding could lose fractions of a penny over many transactions.
- 6
Which representation suits a scientific measurement such as 6.02 × 10²³?
Model answer
Floating point is needed, because the magnitude is far beyond any practical integer range. The mantissa keeps the significant figures while the exponent carries the size.
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 Data Types, Characters 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.