Mindmap
Computer Science
Inhalt der Mindmap
Computer Science
Topic 2: Data
- 2.1 - Binary
- In a computer, all data and programming instructions are represented by patterns of 1s and 0s.
- Place values in the binary system increase by powers of 2.
- Two's compliment representation is used to represent signed numbers in binary.
- An overflow error occurs when the result of an arithmetic operation is too large to fit in the number of bits allocated to store it.
- Binary shifts move all the bits in a binary pattern a given number of positions left or right. An arithmetic shift right preserves the sign of the MSB, which is important when the binary pattern represents a two's compliment number.
- Hexadecimal is used to represent long binary numbers because it's easier for humans to remember and use.
- 2.2 - Data Representation
- In a computer, all data and programming instructions are represented in binary
- ASCII represents textual data as 7-bit binary patterns.
- A pixel is the smallest point of colour in a bitmap image.
- Colour depth is the amount of colour information that is used for each pixel.
- The file size of a bitmap image is calculated by the formula width x height x colour depth.
- Digital representations of analogue sounds are produced by sampling.
- Sample rate and bit depth affect how accurately a digital representation of a sound matches the original.
- 2.3 - Data storage and compression
- File sizes are measured in kibibytes, mebibytes, gibibytes and tebibytes.
- Each unit is 1024 times larger than the previous one.
- Files can be compressed using lossy and lossless compression algorithms.
- When using lossy compression, some of the data is permanently lost.
- When using lossless compression, none of the data is lost.
- 2.1 - Binary
Topic 3: Computers
- 3.1 - Hardware
- Using the stored program concept and the computer architecture proposed by von Neumann enables computers to be general-purpose machines capable of performing many different tasks.
- Program instructions are fetched from memory into the CPU where they are decoded by the control unit and executed one at a time.
- A computer's main memory is volatile. Secondary storage provides long-term storage for programs and data.
- Secondary storage can be magnetic, optical or solid-state.
- An embedded system is a small, inexpensive, low-power computer designed to perform one specific function often within a bigger system.
- 3.2 - Software
- An operating system performs a number of important functions that enable the hardware of computer system to communicate with the software. It also provides a user interface and manages user access.
- Utility software comprises a set of tools that enable a user to repair, backup and compress files, defragment a disk, and protect their devices against malware.
- Tools such as audit trails and code reviews help programmers to produce robust code, free from security vulnerabilities.
- 3.3 - Programming languages
- CPU's can only execute programs written in machine code.
- Low-level languages are closer top machine code than human language.
- Humans generally use a high-level language to write code.
- A translator is a program that coverts source code into machine code.
- Compilers and interpreters translate program code in different ways.
- 3.1 - Hardware
Informationen
- Beschreibung
- Mindmap am Computer Science, erstellt von Benjamin Hawcroft am 12/12/2023.
- Erstellt von
- Benjamin Hawcroft · Dez 2023
- Aktualisiert
- 26 Mär 2024
- Aufrufe
- 2
- Bewertung
Mehr zu Binary, Decimal and Hexadecimal