Mindmap
Chapter 11

Inhalt der Mindmap
Chapter 11
Negative integers in binary
- Most significant bit (MSB)
- The bit in a multiple-bit binary number with the largest value
- Sign and magnitude
- Uses a sign bit
- The left hand bit will be used to determine if the value is positive or negative
- 1 = -
- 0 = +
- The left hand bit will be used to determine if the value is positive or negative
- Uses a sign bit
- Two's complememt
- The MSB is a negative number
- Most significant bit (MSB)
Data types
- Main types:
- Character
- String
- Boolean
- Integer
- Real
- Main types:
Representing text
- All data stored or used by a computer is in binary and the character and string data types identified above are also represented in binary
Positive integers in binary
- Base 2
- Hexadecimal (Base 16)
ASCII
- 8 bit
- Limited to 256
- Unicode
- Limited to 65,000
Images
- All data stored and used by the computer is represented in binary. And all images, sound and instructions are represented by binary patterns
- A simple image could be represented using 1 bit
- 1 = black
- 0 = white
- If more bits are used then more colours can be used
- two bits = four colours
- three bits = eight colours
- eight bits = 256 colours
- sixteen bits = 65,536 colours
- Metadata
- Information about the image that allows the computer to interpret the stored binary accurately to reproduce the image
- Width and height in pixels and the colour depth in bpp (bits per pixel)
- Information about the image that allows the computer to interpret the stored binary accurately to reproduce the image
- Colour depth
- Number of bits used for each dot or pixel. More bits = more colours
- Resolution
- The number of pixels or dots per unit, dpi (Dots per inch)
- A simple image could be represented using 1 bit
- All data stored and used by the computer is represented in binary. And all images, sound and instructions are represented by binary patterns
Sound
- Sample rate
- Number of times the sound is sampled per second, measured in Hz (100 Hz is 100 samples per second)
- Determines the quality of the sound recorded
- Bit rate
- Number of bits per given time period available for each sample measured in kilobits/s (128 kbits/s uses 128 kilobits for each second of sampled sound)
- Accuracy of the values sampled
- The size of a sound file depends on the sample rate (number of samples per second) and the bit rate (the number of bits used to store the sampled data)
- Sample rate
Instructions
- Program instructions and data are both stored in binary
- The instruction is fetched and decoded into two parts
- Operator
- Binary pattern that represents a machine-level instruction
- e.g. add a value to the accumulator
- Binary pattern that represents a machine-level instruction
- Operand
- Data part
- contains a value to be dealt with or information needed to locate the data to be dealt with
- Data part
- Operator
- The instruction is fetched and decoded into two parts
- Program instructions and data are both stored in binary
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- AS - Level Computing Science Mindmap am Chapter 11, erstellt von Karl Taylor am 13/03/2017.
- Erstellt von
- Karl Taylor
- Aufrufe
- 2
- Bewertung
Mehr zu Binary, Decimal and Hexadecimal

