CS1 Unit 1: Intro to Computers and Programming (Vocabulary)

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/41

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms from Unit 1: Intro to Computers and Programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

Computer

A programmable machine designed to follow instructions; without programs, it cannot do anything.

2
New cards

Programmer

A person who writes instructions (programs) to make the computer perform tasks.

3
New cards

Program

Instructions stored in memory that tell the computer what to do.

4
New cards

CPU (Central Processing Unit)

The brain of the computer that retrieves/decodes instructions and coordinates all parts; contains the CU and ALU.

5
New cards

Control Unit (CU)

Part of the CPU that retrieves and decodes instructions and coordinates CPU activities.

6
New cards

Arithmetic and Logic Unit (ALU)

Part of the CPU designed for arithmetic calculations and logical decisions.

7
New cards

Main Memory (RAM)

Volatile memory that stores data and programs while a computer is running; erased when power is off.

8
New cards

Volatile

Memory that loses its contents when power is removed.

9
New cards

Address

A unique number identifying a byte in memory.

10
New cards

Byte

8 consecutive bits.

11
New cards

Bit

The smallest unit of data; 0 or 1.

12
New cards

Secondary Storage

Non-volatile storage that retains data when power is off; examples include USB drives, CD/DVD, SSDs, HDDs.

13
New cards

Input Devices

Devices that send information to the computer (e.g., keyboard, mouse, scanner, microphone).

14
New cards

Output Devices

Devices that display information from the computer (e.g., monitor, printer, speakers).

15
New cards

Software

Programs that run on computers; categorized as application software and system software.

16
New cards

Application Software

Programs that provide services to users (e.g., word processors, games).

17
New cards

System Software

Programs that manage the computer hardware and the programs that run on it (e.g., operating systems, utilities).

18
New cards

High-Level Language

Languages that are closer to human language and easier to understand; portable across machines.

19
New cards

Low-Level Language

Languages that communicate directly with hardware, often in binary machine code.

20
New cards

Machine Language

Binary instructions that a CPU executes directly.

21
New cards

Preprocessor

Tool that processes source code directives before compilation.

22
New cards

Compiler

Program that translates high-level source code into machine code.

23
New cards

Linker

Tool that combines object code with libraries to form an executable.

24
New cards

Executable

A file containing machine code that can be run by the computer.

25
New cards

Integrated Development Environment (IDE)

An application that provides editing, compiling, and debugging tools in one environment.

26
New cards

Keywords

Reserved words with special meaning in a programming language; cannot be used as identifiers (e.g., in C++: using, namespace, int, double, return).

27
New cards

Programmer-Defined Identifiers

Names defined by the programmer to label variables, functions, etc.; not part of the language syntax.

28
New cards

Variable

A named storage location in memory for holding data.

29
New cards

Declaration/Definition

The statement that creates a variable by specifying its type and name.

30
New cards

Operator

Symbol that performs an operation on data (e.g., , -, *, /, =).

31
New cards

Punctuation

Characters that mark the end of statements or separate items (e.g., comma, semicolon).

32
New cards

Syntax

The rules (grammar) for writing valid programs, governing keywords, operators, identifiers, and punctuation.

33
New cards

Algorithm

A well-defined sequence of steps to solve a problem.

34
New cards

Input-Processing-Output (IPO) Model

Model describing how data enters, is processed, and results are produced by a program.

35
New cards

Procedural Programming

Programming paradigm focused on procedures or functions that process data.

36
New cards

Object-Oriented Programming

Programming paradigm focused on objects that contain data and methods; operations are performed via messages to objects.

37
New cards

Data Type

A classification of data that tells the compiler how the programmer intends to use the data (e.g., integer, floating-point, character).

38
New cards

Integer

A data type used to store whole numbers (e.g., -5, 0, 100).

39
New cards

Floating-Point

A data type used to store numbers with decimal places (e.g., 3.14, -0.001, 2.5).

40
New cards

Syntax Error

An error that occurs when the program violates the grammar rules of the programming language; detected by the compiler.

41
New cards

Runtime Error

An error that occurs while the program is running, often due to an invalid operation (e.g., division by zero, accessing invalid memory).

42
New cards

Logic Error

An error that causes the program to produce incorrect output or behave unexpectedly, even if it runs without crashing; typically difficult to detect.