Computer Science Core Fundamentals: Systems, Networks, Databases, and OOP

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

1/64

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering Computer Fundamentals (CPU architecture, memory tiers, buses, OS), Networks (topologies, models, protocols, switching), Relational Databases (schemas, keys, normalization, SQL), and Object-Oriented Programming (principles, memory, UML, multi-class mechanics) along with core linear data structures.

65 Terms

1
New cards

Central Processing Unit (CPU)

A general-purpose processor known as the "brain" of the computer that executes software instructions, runs the operating system, and manages sequential operations using a few powerful cores (typically 4–644\text{--}64 cores).

2
New cards

Control Unit (CU)

An internal CPU component that directs operations and manages the fetch–decode–execute cycle by decoding instructions and sending command signals via the control bus to synchronize memory, the ALU, and I/O devices.

3
New cards

Arithmetic Logic Unit (ALU)

The internal CPU calculation engine that performs arithmetic operations (addition, subtraction, multiplication, division) and logic operations (AND, OR, XOR, NOT).

4
New cards

Graphics Processing Unit (GPU)

A specialized co-processor featuring a highly parallel architecture with thousands of smaller, simpler cores optimized for simultaneous, high-throughput execution on data blocks, such as 3D rendering, video encoding, and AI matrix operations.

5
New cards

Co-processor

Any specialized processor designed to offload specific heavy computational workloads from the main CPU, such as GPUs, audio processors, or digital signal processors (DSPs).

6
New cards

Program Counter (PC)

An ultra-fast internal CPU register that holds the memory address of the next instruction to be fetched from RAM.

7
New cards

Instruction Register (IR)

An internal CPU register that stores the current instruction while it is being decoded and executed.

8
New cards

Memory Address Register (MAR)

An internal CPU register that holds the specific memory location address currently being read from or written to.

9
New cards

Memory Data Register (MDR)

An internal CPU register that acts as a buffer holding the actual data or instruction payload transferred to or from main memory.

10
New cards

Accumulator (AC)

An internal CPU register that temporarily stores intermediate arithmetic and logical results produced by the ALU.

11
New cards

Address Bus

A unidirectional system bus carrying memory addresses from the CPU to main memory; its physical width determines the maximum addressable memory capacity.

12
New cards

Data Bus

A bidirectional system bus that transfers actual data and instruction payloads between the CPU, RAM, and peripherals.

13
New cards

Control Bus

A bidirectional system bus carrying timing, synchronization, and command signals such as memory read, memory write, clock sync, and interrupt requests.

14
New cards

Fetch–Decode–Execute Cycle

The core operational cycle of a CPU consisting of: Fetch (copying PC to MAR, reading memory into MDR and IR, incrementing PC), Decode (CU interpreting instruction code), and Execute (carrying out the command via ALU, registers, or control signals).

15
New cards

Random Access Memory (RAM)

Volatile primary workspace that supports fast, continuous reading and writing by the CPU to hold active programs and working data currently in use, losing its contents when power is switched off.

16
New cards

Read-Only Memory (ROM)

Non-volatile primary memory that permanently retains data without power and stores startup instructions (BIOS/firmware) executed first on boot to initialize hardware and load the operating system.

17
New cards

Cache Memory

A high-speed tiered buffer (L1, L2, L3) positioned between the CPU and RAM that stores frequently accessed instructions and data to minimize access latency.

18
New cards

Hard Disk Drive (HDD)

A mechanical secondary storage device using spinning magnetic platters and moving heads, offering transfer rates typically between 50–150 MB/s50\text{--}150\,\text{MB/s} while consuming higher power and producing motor noise.

19
New cards

Solid State Drive (SSD)

A non-volatile secondary storage medium utilizing NAND flash memory with no moving parts, delivering faster transfer rates (200 to 500+ MB/s200\text{ to }500+\,\text{MB/s}), high physical shock resistance, and silent operation.

20
New cards

Lossless Compression

A data reduction technique that decreases file size while allowing exact original reconstruction without data loss (e.g., Run-Length Encoding / RLE for text or source code).

21
New cards

Lossy Compression

A data reduction method that permanently discards less critical perceptual information to achieve higher compression ratios (e.g., Transform coding for JPEG or MP3 files).

22
New cards

Interrupt Handling

A peripheral coordination mechanism where hardware signals prompt the CPU to temporarily pause its current task and execute an Interrupt Service Routine (ISR).

23
New cards

Polling

A peripheral monitoring technique where the CPU repeatedly interrogates the status of peripheral devices in a fixed sequential loop.

24
New cards

Local Area Network (LAN)

A network interconnecting computers and devices within a small, limited geographical boundary, such as a single home, school, or office building.

25
New cards

Wide Area Network (WAN)

A network spanning vast geographical regions, such as cities, countries, or across the globe, typically utilizing telecommunications infrastructure to interconnect multiple LANs.

26
New cards

Personal Area Network (PAN)

A short-range network centered around an individual person, connecting personal devices (e.g., smartwatch, smartphone, headphones) typically within an operational distance of 10 meters10\,\text{meters}.

27
New cards

Virtual Private Network (VPN)

A technology that creates a secure, encrypted logical connection (tunnel) over an untrusted public network, such as the Internet.

28
New cards

Edge Computing

A computing infrastructure approach that processes data locally near the original source of the data (the edge) to minimize network latency and reduce bandwidth consumption.

29
New cards

Switch

A Layer 2 networking hardware device that directs local data frames between devices on the same LAN segment based on learned physical MAC addresses.

30
New cards

Router

A Layer 3 network device that inspects IP packet headers and forwards traffic between different subnets and networks based on logical IP addresses.

31
New cards

Transmission Control Protocol (TCP)

A connection-oriented transport protocol with a 20-byte20\text{-byte} header that guarantees reliable, ordered byte-stream delivery through acknowledgments, sequence tracking, and retransmissions.

32
New cards

User Datagram Protocol (UDP)

A lightweight, connectionless transport protocol with an 8-byte8\text{-byte} header that transmits independent datagrams without establishing a session or guaranteeing delivery, ordering, or retransmission.

33
New cards

Hypertext Transfer Protocol Secure (HTTPS)

An application layer protocol that encrypts web sessions via TLS/SSL, authenticates web servers using Digital Certificates, and defaults to TCP Port 443443.

34
New cards

Dynamic Host Configuration Protocol (DHCP)

A network protocol that automatically assigns dynamic IP addresses, subnet masks, default gateway addresses, and DNS server details to client devices.

35
New cards

Client-Server Model

A centralized network architecture where client devices make service, application, or resource requests to centrally administered, dedicated servers.

36
New cards

Peer-to-Peer (P2P) Model

A decentralized network architecture where every node acts simultaneously as both client and server, sharing local resources directly without a centralized server.

37
New cards

Subnetting

The logical division of an IP address space into smaller sub-networks at Layer 3 (Network Layer) managed by routers to optimize IP address allocation and routing efficiency.

38
New cards

Virtual Local Area Network (VLAN)

A Layer 2 network segmentation approach configured on switches that groups physical ports logically into isolated broadcast domains to decrease broadcast congestion and enhance security.

39
New cards

Network Address Translation (NAT)

A technique that modifies IP packet headers to translate private local IP addresses into a shared public IP address for internet routing, conserving IPv4 addresses.

40
New cards

Packet Switching

A data transmission method that breaks continuous data streams into smaller packets with routing headers, sends them independently across available routes, and reassembles them at the destination.

41
New cards

Symmetric Encryption

A cryptographic method that uses a single shared secret key for both encryption and decryption, offering fast, computationally lightweight bulk session encryption.

42
New cards

Asymmetric Cryptography

A cryptographic approach utilizing a mathematically linked key pair (a public key to encrypt/verify and a private key to decrypt/sign), primarily used for key exchange and authentication.

43
New cards

Primary Key

A chosen attribute or combination of attributes that uniquely identifies each record in a database table, cannot contain NULL values, and enforces entity integrity.

44
New cards

Foreign Key

An attribute in a database table that references a primary key in another table to establish relationships, allow repeatable values, and enforce referential integrity.

45
New cards

Referential Integrity

A relational database rule ensuring that foreign key values must always correspond to an existing, valid primary key record in the referenced parent table.

46
New cards

Conceptual Schema

A high-level abstract database model modeled via Entity-Relationship Diagrams (ERDs) that defines major business entities and relationships without data types or keys.

47
New cards

Logical Schema

A detailed structural database design specifying tables, attributes, concrete data types (e.g., VARCHAR, INTEGER), keys, and constraints independent of physical storage.

48
New cards

First Normal Form (1NF)

A normalization level requiring that every column value is atomic (indivisible), each row has a primary key, and repeating attribute groups are removed.

49
New cards

Second Normal Form (2NF)

A normalization level that satisfies 1NF and eliminates partial-key dependencies where non-key attributes depend on only part of a composite primary key.

50
New cards

Third Normal Form (3NF)

A normalization stage that satisfies 2NF and removes transitive dependencies, ensuring non-key attributes depend only on the primary key and not on other non-key attributes.

51
New cards

Denormalization

The deliberate introduction of controlled data redundancy into a normalized schema to minimize table JOIN operations and accelerate read-heavy query performance.

52
New cards

Data Definition Language (DDL)

The subset of SQL commands (such as CREATE, ALTER, DROP) used to define, alter, and delete database schemas, tables, indexes, and structure definitions.

53
New cards

Data Manipulation Language (DML)

The subset of SQL commands (SELECT, INSERT, UPDATE, DELETE) used to query, insert, modify, and retrieve data rows without altering table schema structures.

54
New cards

Class

A blueprint, template, or formal specification in OOP defining attributes (state) and methods (behavior) that serves as the factory definition in code files and occupies no object heap memory.

55
New cards

Object (Instance)

A concrete individual entity created in memory from a class template that allocates dynamic heap memory to maintain its own unique attribute values at runtime.

56
New cards

Encapsulation

The OOP design technique of bundling state (attributes) and behavior (methods) together into a single cohesive class unit behind a unified boundary.

57
New cards

Information Hiding

The software design principle of restricting direct external access to internal fields using private visibility and validated accessors/mutators to preserve state integrity.

58
New cards

Class (Static) Members

Attributes and methods that belong to the class as a whole with a single shared copy in memory, allocated when the class loads and invoked directly using the Class Name.

59
New cards

Instance Members

Attributes and methods tied to a specific object instance where each object maintains its own distinct memory copy, invoked using an object reference variable.

60
New cards

Method Overriding

A runtime polymorphism mechanism across at least two related classes where a subclass provides a replacement implementation for an inherited method using the exact same signature.

61
New cards

Method Overloading

A compile-time/call-time polymorphism mechanism within a single class where multiple methods share the same name but have different parameter types or counts.

62
New cards

Inheritance ("Is-A")

A tightly coupled parent-child structural relationship where a subclass derives accessible members from a superclass, represented in UML diagrams by a solid line with a hollow triangle pointing to the superclass.

63
New cards

Association ("Has-A")

A loosely coupled whole-part structural relationship where a class holds a reference attribute to an instance of another class, represented in UML by lines with diamonds.

64
New cards

Stack

A linear data structure operating on the Last-In, First-Out (LIFO) access principle, where elements are both inserted and removed from the exact same end (the top).

65
New cards

Queue

A linear data structure operating on the First-In, First-Out (FIFO) access principle, where elements are inserted at the rear and removed from the front.