






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







What is data abstraction? -Answer--A methodology that hides how a compound data object is constructed, isolating how it is used from its implementation.
What is problem abstraction/reduction? -Answer--Removing details from a problem until it is represented in a way that can be solved.
What is decomposition? -Answer--Breaking a problem into sub-problems so that each accomplishes an identifiable task.
What is composition (abstraction)? -Answer--Building compound procedures by combining existing procedures or building compound data objects by combining existing data objects.
What is automation? -Answer--Putting abstract models into action to solve problems by creating algorithms and executing code.
What is a Finite State Machine (FSM) without output? -Answer--A model of computation represented by a state transition diagram or table, showing how the machine moves between states based on input.
What is the set of natural numbers N? -Answer--N = {0, 1, 2, 3, ...} — used for counting.
What is the set of integers Z? -Answer--Z = {..., -3, -2, -1, 0, 1, 2, 3, ...} — all whole numbers, positive, negative, and zero.
What is a rational number? -Answer--A number that can be written as a fraction (ratio of two integers).
What is an irrational number? -Answer--A number that cannot be written as a fraction, e.g. sqrt(2) or pi.
What is the set of real numbers R? -Answer--The set of all possible real-world quantities — includes natural, rational, and irrational numbers.
What are ordinal numbers? -Answer--Numbers that describe the position of objects in an ordered sequence (1st, 2nd, 3rd, etc.).
What are natural numbers used for, and what are real numbers used for? -Answer--Natural numbers are used for counting; real numbers are used for measurement.
What are the three number bases you must know? -Answer--Decimal (base 10), Binary (base 2), Hexadecimal (base 16).
Why is hexadecimal used as shorthand for binary? -Answer--Each hex digit represents exactly 4 bits, making binary values compact and human-readable.
How is a number's base expressed in notation? -Answer--Using a subscript — e.g. 67(base 10), 10011011(base 2), AE(base 16).
What is a bit? -Answer--The fundamental unit of information — it is either 0 or 1.
What is a byte? -Answer--A group of 8 bits.
How many different values can n bits represent? -Answer--2^n different values.
What is 1 KiB (kibibyte)? -Answer--2^10 bytes = 1,024 bytes.
What is 1 MiB (mebibyte)? -Answer--2^20 bytes.
What is 1 GiB (gibibyte)? -Answer--2^30 bytes.
What is 1 TiB (tebibyte)? -Answer--2^40 bytes.
What is 1 kB (kilobyte)? -Answer--10^3 = 1,000 bytes.
What is 1 MB (megabyte)? -Answer--10^6 bytes.
What is 1 GB (gigabyte)? -Answer--10^9 bytes.
What is 1 TB (terabyte)? -Answer--10^12 bytes.
What is unsigned binary? -Answer--A binary representation of non-negative integers only.
What is signed binary (two's complement)? -Answer--A binary representation of both negative and positive integers.
What is the difference between analogue and digital data? -Answer--Analogue data is continuous; digital data is discrete and represented in binary.
What does an ADC do? -Answer--An Analogue-to-Digital Converter samples an analogue signal and converts it to binary digital values.
What does a DAC do? -Answer--A Digital-to-Analogue Converter converts binary values back into a continuous analogue signal.
What is sampling rate in digital audio? -Answer--The number of samples taken per second from an analogue audio signal, measured in Hz.
What is sample resolution? -Answer--The number of bits used to record each audio sample — higher resolution means more accurate amplitude values.
What is the Nyquist theorem? -Answer--To accurately reproduce a sound, the sampling rate must be at least twice the highest frequency in the signal.
What is MIDI? -Answer--Musical Instrument Digital Interface — represents music as event messages rather than recorded sound.
What are the advantages of MIDI files? -Answer--Very small file size; easily editable (pitch, tempo, instrument); not a recording of actual sound.
What is lossless compression? -Answer--Compression that reduces file size with no data loss — the original can be perfectly reconstructed.
What is lossy compression? -Answer--Compression that permanently removes some data for smaller file sizes — the original cannot be fully reconstructed.
What is Run Length Encoding (RLE)? -Answer--A lossless method that replaces consecutive repeated values with a count and the value (e.g. AAAAA -> 5A).
What is dictionary-based compression? -Answer--A lossless method that replaces frequently occurring patterns with shorter codes stored in a dictionary.
What is encryption? -Answer--The process of transforming plaintext into ciphertext using a cipher, so it cannot be read without the key.
What is a Caesar cipher? -Answer--A substitution cipher that shifts each letter by a fixed number of places in the alphabet.
Why is the Caesar cipher easily cracked? -Answer--It has only 25 possible keys, and letter frequency analysis makes it trivially breakable.
What is the Vernam cipher (one-time pad)? -Answer--A cipher where plaintext is XOR'd with a truly random key of the same length, used only once.
Why is the Vernam cipher perfectly secure? -Answer--The key is truly random and used only once, so the ciphertext reveals no statistical information about the plaintext.
What is computational security? -Answer--Security that relies on a cipher being computationally infeasible to break (not mathematically impossible).
What is hardware? -Answer--The physical components of a computer system.
What is software? -Answer--Programs and data that run on hardware — instructions that tell the hardware what to do.
What is system software? -Answer--Software that manages hardware and provides a platform for applications (e.g. OS, utilities, libraries, translators).
What is application software? -Answer--Software designed to perform specific tasks for the user (e.g. word processor, web browser, game).
What are the four types of system software? -Answer--Operating systems, utility programs, libraries, and translators (compilers, assemblers, interpreters).
What is the role of an operating system? -Answer--To hide hardware complexity and manage resources (processor, memory, I/O devices) among competing processes.
What are low-level programming languages? -Answer--Machine code and assembly language — languages close to what hardware directly executes.
What is machine code? -Answer--Binary instructions directly executed by the CPU — processor-specific and very difficult for humans to read or write.
What is assembly language? -Answer--A low-level language using mnemonics (e.g. ADD, MOV) to represent machine code instructions.
What is an imperative high-level language? -Answer--A language that uses statements to describe how a task is performed step by step (e.g. Python, Java).
What does an assembler do? -Answer--Translates assembly language into machine code.
What is main memory? -Answer--RAM — stores the instructions and data currently being used by the CPU.
What is the address bus? -Answer--A one-way bus that carries the memory address the CPU wants to read from or write to.
What is the data bus? -Answer--A two-way bus that carries data between the CPU, memory, and I/O devices.
What is the control bus? -Answer--A bus that carries control signals (e.g. read/write, clock, interrupt) to coordinate components.
What is von Neumann architecture? -Answer--An architecture where program instructions and data share the same memory and bus.
What is Harvard architecture? -Answer--An architecture with separate memory and buses for instructions and data.
What is the stored program concept? -Answer--Machine code instructions are stored in main memory and fetched and executed sequentially by the processor.
What is the ALU? -Answer--The Arithmetic Logic Unit — performs arithmetic (add, subtract) and logical (AND, OR, NOT) operations.
What is the control unit? -Answer--The component that directs processor operation — fetches, decodes and coordinates execution of instructions.
What is the program counter (PC)? -Answer--A register holding the memory address of the next instruction to be fetched.
What is the current instruction register (CIR)? -Answer--A register holding the instruction currently being decoded and executed.
What is the memory address register (MAR)? -Answer--A register holding the address in memory the CPU wants to read from or write to.
What is the memory buffer register (MBR)? -Answer--A register that holds data that is being transferred to or from memory.
What is the status register? -Answer--A register containing flag bits that record the outcome of operations (e.g. carry, zero, overflow).
What are the three stages of the Fetch-Execute cycle? -Answer--Fetch (get instruction from memory into CIR), Decode (interpret the instruction), Execute (carry out the instruction).
What is an instruction set? -Answer--The complete set of machine code instructions a specific processor can execute — it is processor-specific.
What does an instruction consist of? -Answer--An opcode (specifying the operation and addressing mode) and one or more operands (a value, memory address, or register).
What is immediate addressing? -Answer--An addressing mode where the operand is the actual data value to be used.
What is direct addressing? -Answer--An addressing mode where the operand contains the memory address (or register) where the data is stored.
What effect does more CPU cores have on performance? -Answer--Allows multiple instructions/processes to be executed simultaneously, increasing throughput.
What effect does cache memory have on performance? -Answer--Stores frequently used data/instructions closer to the CPU, reducing time fetching from slower main memory.
What effect does clock speed have on performance? -Answer--Higher clock speed equals more instruction cycles per second, resulting in faster processing.
What effect does word length have on performance? -Answer--Wider word length means more data can be processed in a single operation.
What effect does address bus width have on performance? -Answer--A wider address bus allows the CPU to address more memory locations.
What effect does data bus width have on performance? -Answer--A wider data bus allows more data to be transferred between components in a single transfer.
How does a barcode reader work? -Answer--A laser or LED scans the barcode; dark bars absorb light and white spaces reflect it; a photodetector converts the pattern into binary data.
How does a digital camera work? -Answer--A lens focuses light onto a CCD/CMOS sensor; each pixel records light intensity; values are converted to digital data and stored.
What is asynchronous data transmission? -Answer--No shared clock — data is sent in frames with start and stop bits to signal the beginning and end of each character.
What are start and stop bits? -Answer--Bits added to each character in asynchronous transmission: a start bit (0) signals the beginning; a stop bit (1) signals the end.
What is baud rate? -Answer--The number of signal changes (symbols) per second transmitted over a channel.
What is bit rate? -Answer--The number of bits transmitted per second. Can be higher than baud rate if multiple bits are encoded per signal change.
What is bandwidth? -Answer--The range of frequencies available for transmission — directly proportional to the maximum bit rate of a channel.
What is latency? -Answer--The time delay between data being sent and being received.
What is a protocol? -Answer--A set of agreed rules that govern how data is transmitted between devices.
What is a physical star topology? -Answer--A network where all devices connect to a central switch/hub — each device has a dedicated connection.
What is a logical bus topology? -Answer--A network where all devices share the same communication channel — data sent by one device is received by all.
Can a physically star network behave as a logical bus? -Answer--Yes — using a bus protocol with appropriate switching, a star-wired network can behave logically as a bus.
What is peer-to-peer networking? -Answer--A network where all computers have equal status and share resources directly — no dedicated server.
What is client-server networking? -Answer--A network where client computers request services (files, email, web pages) from one or more dedicated servers.
What is WiFi? -Answer--A wireless local area network standard based on IEEE 802.11, allowing devices to connect wirelessly.
What components are needed for wireless networking? -Answer--A wireless network adapter (in each device) and a wireless access point.
What is an SSID? -Answer--Service Set Identifier — the name of a wireless network, broadcast by the access point so devices can identify it.
How can wireless networks be secured? -Answer--WPA/WPA2 encryption, disabling SSID broadcast, and using a MAC address allow list.
What is CSMA/CA? -Answer--Carrier Sense Multiple Access with Collision Avoidance — devices listen before transmitting and wait if the channel is busy to avoid collisions.
What is RTS/CTS in wireless networking? -Answer--Request to Send / Clear to Send — an optional handshake where a device requests permission before transmitting, reducing collisions from hidden nodes.