The course has a theory part during the first three teaching weeks and a programming part delivered in guided sessions using Python in Dodona.
The evaluation consists of two non-period programming tests worth 2/20, a period theory exam worth 12.6/20, and a period practical test worth 5.4/20.
Follow the path from input, through instructions, to output.
β Must-know
π A computer can solve only problem types for which an executable algorithm can be found; without an algorithm, the computer cannot solve the problem.
Further detail
The black box exposes external behavior while hiding internal structure.
Binary uses base 2, whereas the decimal numeral system uses base 10.
ASCII represents the exclamation mark with the bit pattern 00100001.
β Must-know
π A memory cellβs address identifies where data is stored, whereas the cellβs contents are the bit pattern stored there.
π CPU registers and cache are very small and fast memory on or in the CPU, RAM temporarily stores programs and data in current use, and SSDs or hard disks permanently store files and programs.
Further detail
π Endianness describes the order in which the bits or bytes of a multi-part value are arranged; big-endian and little-endian are alternative arrangements.
A 16-bit pattern can be stored in two consecutive memory cells of eight bits each.
A nibble is 4 bits, a byte is 8 bits, and a byte can be written as two hexadecimal digits.
Decimal storage units use 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes, and 1 TB = 1,000,000,000,000 bytes.
Binary units use powers of 2: 1 KiB is 1,024 bytes, 1 MiB is 1,048,576 bytes, and 1 GiB is 1,073,741,824 bytes.
β Must-know
π Working memory is typically volatile, whereas mass storage is non-volatile, usually has greater total capacity and lower cost per stored bit, and is often removable or exchangeable.
Further detail
Magnetic disk tracks are concentric, and formatting lays down tracks and sectors.
A CD stores about 700 MB, a DVD stores several gigabytes, and a Blu-ray disk can store about five times as much as a DVD.
A common color-image representation uses three bytes per pixel for red, green, and blue intensity.
Digital audio can be sampled 44,100 times per second, and each sample can be stored with 16 bits.
One minute of uncompressed 44,100-sample-per-second, 16-bit stereo audio requires 60 Γ 44,100 Γ 16 Γ 2 = 84,672,000 bits, or about 10 MB.
β Must-know
Further detail
With 32-bit twoβs-complement notation, the representable range is β2,147,483,648 to 2,147,483,647.
π Negate a value by:
In the courseβs eight-bit floating-point example, 2.75 is represented as 01101011.
The courseβs single-precision format uses 32 bits: 1 sign bit, 8 exponent bits, and 23 mantissa bits.
ZIP files, FLAC, and PNG are examples of lossless compression, whereas MP3 and MP4 are examples of lossy compression.
Dictionary encoding stores a catalog of frequent longer patterns and then refers to those patterns rather than repeating them.
Lossy compression can exploit perceptual properties, such as reducing blue-image detail, compressing high sound frequencies more, or avoiding duplicate video regions that remain nearly unchanged.
Lossless compression preserves information; lossy compression sacrifices some information.
π Reading copies data from working memory to the CPU using a memory-cell address and a read signal, whereas writing transfers data from the CPU to working memory using an address and a write signal.
β Must-know
π RISC defines a small set of simple, fast, and efficient instructions, whereas CISC defines a larger set of more complex and powerful instructions.
Further detail
Machine instructions include:
In the illustrative machine language, instructions are 2 bytes long and contain a 4-bit opcode followed by a 12-bit operand field.
π A LOAD instruction can copy the contents of a memory cell into a register, whereas another LOAD form can place a literal bit pattern directly into a register.
β Must-know
Further detail
In the illustrative machine, each instruction is 16 bits and occupies two consecutive 8-bit memory cells, so the program counter increases by 2 for each sequential instruction.
Clock speed is measured in hertz, with one hertz corresponding to one machine cycle per second; computer clock speeds are commonly in the range of one to several gigahertz.
The CPU repeatedly fetches, decodes, and executes an instruction.
β Must-know
π I/O addressing uses special addresses or machine instructions for peripherals, whereas memory-mapped I/O assigns controller registers addresses in the same address space as memory so the CPU can use ordinary LOAD and STORE instructions.
Further detail
Memory and Storage Roles
| Type | Role | Persistence |
|---|---|---|
| Registers and cache | Fast, small CPU storage | Temporary |
| RAM | Current programs and data | Temporary |
| SSD or hard disk | Files and programs | Permanent |
Take a 28-question practice quiz on Data Storage and Processing, with every answer explained.
1. Which description best defines an information system?
2. How is the course divided between its theory and programming components?
Memorize the key concepts of Data Storage and Processing with 90 flashcards.
What is an information system?
A sociotechnical system that collects, processes, and stores data and provides users with information.
What does an algorithm provide for a type of problem?
A general solution.
How must an algorithmβs instructions be expressed?
As an unambiguous sequence of executable instructions.
Upload your class notes and Revizly writes a study guide, a quiz and flashcards in about a minute.
Study guide maker