Computer Science Foundations: Architecture, Data Representation, and Algorithms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/60

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering computer systems, hardware generations, binary arithmetic, data representation, logic gates, von Neumann architecture, Pep/9 assembly, problem-solving algorithms, and abstract data types.

61 Terms

1
New cards

Hardware

The physical elements of a computing system, such as circuit boards, wires, keyboard, and printer.

2
New cards

Software

The programs that provide instructions for a computer to execute.

3
New cards

Abstraction

A mental model that removes complex details to manage complexity.

4
New cards

Layers of a Computing System

The concentric hierarchy of computing disciplines, composed from inside out of Information, Hardware, Programming, Operating Systems, Applications, and Communications.

<p>The concentric hierarchy of computing disciplines, composed from inside out of Information, Hardware, Programming, Operating Systems, Applications, and Communications.</p>
5
New cards

Systems Programmer

A programmer who builds foundational software tools, compilers, and operating systems for applications programmers and general users.

6
New cards

Natural Numbers

The set of numbers consisting of zero and any number obtained by repeatedly adding one to it (0,1,2,3,…0, 1, 2, 3, \dots).

7
New cards

Positional Notation

A system of expressing numbers in which digits represent values according to their position and the radix (RR), expressed by the formula āˆ‘diƗRi\sum d_i \times R^i.

8
New cards

Word Length

The number of bits in a computer word, typically a multiple of 88 bits (such as 3232-bit or 6464-bit), which governs processor architecture and data access.

9
New cards

Data Compression

The reduction in the amount of space needed to store a piece of data or the bandwidth needed to transmit it.

10
New cards

Compression Ratio

The size of the compressed data divided by the size of the original uncompressed data.

11
New cards

Lossless Compression

A compression technique in which original data can be completely retrieved without any loss of information.

12
New cards

Lossy Compression

A compression technique in which some original information is permanently discarded to achieve greater size reduction.

13
New cards

Analog Data

A continuous representation of information that fluctuates in direct proportion to the actual information it represents.

14
New cards

Digital Data

A discrete representation of information, breaking data down into separate, individual binary elements.

15
New cards

Two's Complement Representation

A binary system for representing positive and negative integers using base complement arithmetic (Negative(I)=2kāˆ’I\text{Negative}(I) = 2^k - I), eliminating the problem of dual zeros.

16
New cards

Radix Point

The general term used in any base system for the point that separates the whole number portion from the fractional portion.

17
New cards

Run-Length Encoding

A lossless compression technique that replaces consecutive repeated sequences of a value with a flag character, the repeated value, and the repetition count.

18
New cards

Huffman Encoding

A lossless compression algorithm based on prefix coding, assigning shorter bit strings to more frequent characters and longer bit strings to less frequent characters.

19
New cards

Vector Graphics

A format that describes an image using geometric shapes and mathematical formulas rather than individual pixel grids.

20
New cards

Temporal Compression

A video compression technique that saves bandwidth by storing only the differences between consecutive frames rather than redundant duplicate images.

21
New cards

Gate

A hardware device that performs a basic Boolean operation on electrical signals.

22
New cards

XOR Gate

An exclusive OR gate whose output is 11 if exactly one input is 11, and 00 if both inputs are identical.

23
New cards

Transistor

A semiconductor device acting as an electrical switch without moving parts, consisting of source/collector, base, and emitter terminals.

24
New cards

Combinational Circuit

A circuit whose output values are determined entirely and directly by its current input values without memory of past states.

25
New cards

Sequential Circuit

A circuit whose output is a function of both the current input values and the existing internal state or memory of the circuit.

26
New cards

Half Adder

A combinational circuit that computes the sum of two bits, producing a sum bit (Sum=AāŠ•B\text{Sum} = A \oplus B) and a carry bit (Carry=AB\text{Carry} = AB).

<p>A combinational circuit that computes the sum of two bits, producing a sum bit ($$\text{Sum} = A \oplus B$$) and a carry bit ($$\text{Carry} = AB$$).</p>
27
New cards

Multiplexer (MUX)

A circuit that uses control signals (select lines) to direct one of several data input signals to a single output line.

28
New cards

S-R Latch

A fundamental sequential circuit design that uses feedback gates to store a single binary digit (00 or 11).

29
New cards

von Neumann Architecture

A computer design based on the stored-program concept where instructions and data are stored together in memory and processed by a CPU containing an ALU and Control Unit.

<p>A computer design based on the stored-program concept where instructions and data are stored together in memory and processed by a CPU containing an ALU and Control Unit.</p>
30
New cards

Arithmetic/Logic Unit (ALU)

The central processing unit component that executes basic arithmetic operations and logical operations such as AND, OR, and NOT.

31
New cards

Control Unit

The organizing element of the CPU that directs the processing operations and coordinates the fetch-execute cycle.

32
New cards

Bus

A communication subsystem consisting of shared media and protocols that transfers data between CPU, memory, and peripheral devices.

33
New cards

Fetch-Execute Cycle

The continuous four-step CPU cycle: (1) Fetch instruction, (2) Decode instruction, (3) Get data if needed, and (4) Execute instruction.

34
New cards

Seek Time

The time required for a magnetic disk drive read/write head to move mechanically to the designated track.

35
New cards

Embedded System

A dedicated computer built to perform a narrow, specialized set of functions within a larger mechanical or electrical appliance.

36
New cards

Machine Language

The low-level instruction set encoded directly in binary (11s and 00s) built into the hardware of a specific computer processor.

37
New cards

Pep/9

A virtual computer designed by Stanley Warford featuring 4040 machine-language instructions, a 64 KB64\,\text{KB} memory, and an Accumulator (AA) register.

38
New cards

Program Counter (PC)

A dedicated CPU register containing the memory address of the next instruction scheduled to be executed.

39
New cards

Instruction Register (IR)

A CPU register that stores a duplicate copy of the instruction currently being decoded and executed.

40
New cards

Immediate Addressing Mode

An instruction mode where the operand specifier itself contains the actual data value to be manipulated.

41
New cards

Direct Addressing Mode

An instruction mode where the operand specifier contains the memory address of the target data.

42
New cards

Assembly Language

A low-level language that uses human-readable mnemonic codes to correspond to machine-language instructions.

43
New cards

Pseudo-op

A directive in assembly code (such as .WORD, .BLOCK, or .END) that gives instructions to the assembler rather than translating directly into machine code.

44
New cards

Pseudocode

An informal design language combining English phrases and structured indentation used to express algorithms unambiguously without strict syntax rules.

45
New cards

Algorithm

A finite sequence of unambiguous instructions for solving a computational problem using a finite amount of data.

46
New cards

Abstract Step

An algorithmic step in top-down decomposition specifying an operation while leaving specific implementation details unspecified.

47
New cards

Concrete Step

An algorithmic step in which every execution detail is completely specified and unambiguous.

48
New cards

Record

A composite data type consisting of a named heterogeneous collection of fields where elements are accessed individually by name.

49
New cards

Array

A composite data structure consisting of a named homogeneous collection of elements where items are accessed by position or index.

50
New cards

Binary Search

A divide-and-conquer search algorithm on a sorted list that evaluates the middle item, discarding half of the remaining elements at each step.

51
New cards

Selection Sort

A sorting algorithm that orders an array by iteratively finding the smallest remaining unsorted item and swapping it into its correct position.

52
New cards

Quicksort

A sorting algorithm that partitions a list around a splitting value (splitVal) into sub-lists of smaller and larger values, sorting each sub-list recursively.

53
New cards

Recursion

The algorithmic technique where a subprogram invokes itself, requiring a base case to provide an immediate non-recursive result and a general case.

54
New cards

Abstract Data Type (ADT)

A data type whose data and allowed operations are defined completely independently of any specific programmatic implementation.

55
New cards

Stack

A linear abstract data type operating on a Last In, First Out (LIFO) protocol, where insertions (Push) and removals (Pop) occur at the top.

56
New cards

Queue

A linear abstract data type operating on a First In, First Out (FIFO) protocol, where elements are inserted at the rear and removed from the front.

57
New cards

Binary Search Tree (BST)

A binary tree in which the value stored in any node is strictly greater than all values in its left subtree and strictly less than all values in its right subtree.

<p>A binary tree in which the value stored in any node is strictly greater than all values in its left subtree and strictly less than all values in its right subtree.</p>
58
New cards

Graph

A non-linear data structure consisting of a set of nodes (vertices) connected by relational links (edges).

59
New cards

Depth-First Search (DFS)

A graph traversal strategy that begins at a vertex, pursues a branch to its deepest point before taking alternative branches, and utilizes a stack.

60
New cards

Breadth-First Search (BFS)

A graph traversal strategy that visits all neighboring vertices adjacent to a starting point before advancing deeper, utilizing a queue to identify fewest-stop routes.

61
New cards

Reference Parameter

A subprogram parameter that receives the memory address of the calling argument, allowing the subprogram to directly modify the caller's variable.