COM 102: Fundamentals of Programming

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

1/43

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:36 AM on 8/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

44 Terms

1
New cards

Programming

Writing precise instructions that tell a computer or device exactly what to do

2
New cards

Programming language

A formal set of rules (syntax and semantics) used to write instructions for computers

3
New cards

Syntax

The rules for how symbols/words must be arranged to form valid instructions (like grammar)

4
New cards

Semantics

The meaning behind those instructions (what they actually do)

5
New cards

Machine language

The lowest-level language, made entirely of binary (0s and 1s), directly executable by the CPU with no translation

6
New cards

Binary code

Sequences of 0s and 1s that represent data/instructions at the most basic computer level

7
New cards

CPU (Central Processing Unit)

The computer's "brain" that directly executes machine language instructions

8
New cards

Instruction set (e.g., ARM, x86)

The specific collection of commands a particular CPU architecture understands

9
New cards

Assembly language

A more human-readable form of machine code that uses mnemonics instead of raw binary

10
New cards

Mnemonic

A short, symbolic name representing a machine instruction (e.g., ADD, MOV)

11
New cards

Hardware-specific

Tied to a particular computer architecture; won't work the same way across different hardware

12
New cards

High-level language

A language with readable, human-like syntax (e.g., Python, Java, C, C++) that abstracts away hardware details

13
New cards

Abstraction

Hiding complex underlying details so the user/programmer can focus on logic instead of low-level mechanics

14
New cards

Compiled

Translated entirely into machine code before the program runs

15
New cards

Interpreted

Translated and executed line-by-line while the program runs

16
New cards

Low-level language

A language (machine or assembly) offering minimal abstraction and requiring detailed hardware control

17
New cards

Portability

The ability of code to run across different systems/devices without major changes

18
New cards

Programming paradigm

A style or philosophy for structuring and organizing code

19
New cards

Procedural paradigm

A paradigm focused on step-by-step instructions (e.g., C, Pascal)

20
New cards

Object-oriented paradigm

A paradigm that organizes code into reusable "objects" bundling data and behavior (e.g., Java, C++, Python)

21
New cards

Functional paradigm

A paradigm emphasizing pure functions and immutability (e.g., Haskell, Scala)

22
New cards

Pure function

A function that always produces the same output for the same input, with no side effects

23
New cards

Immutability

Data that cannot be changed once created

24
New cards

Scripting paradigm

A paradigm for automating tasks, often interpreted rather than compiled (e.g., Python, JavaScript)

25
New cards

Variable

A symbolic name/identifier that points to a value stored in memory

26
New cards

Identifier

Another term for the name given to a variable

27
New cards

Memory reference

The idea that a variable stores a pointer to where data lives in memory, not the data itself

28
New cards

Dynamic typing

A system (used by Python) where variable types are automatically inferred from the assigned value, not declared upfront

29
New cards

Naming rules

The strict requirements a variable name must follow to be valid in Python

30
New cards

Reserved keywords

Words Python has set aside for its own syntax (e.g., if, for, while, class, def) that can't be used as variable names

31
New cards

Snake case

A naming convention using lowercase words separated by underscores (e.g., total_amount)

32
New cards

Camel case

A naming convention where the first word is lowercase and each subsequent word is capitalized (e.g., studentAge)

33
New cards

Pascal case

A naming convention where every word is capitalized, typically used for class names (e.g., TotalAmount)

34
New cards

Declaration

Formally announcing a variable before use (not required in Python)

35
New cards

Initialization

Assigning a value to a variable for the first time

36
New cards

Assignment

The act of giving a variable a value using =

37
New cards

Data type

The category of data a variable holds (e.g., integer, float, string, boolean)

38
New cards

Integer (int)

A whole number, positive or negative, without a decimal point

39
New cards

Float (float)

A number that includes a decimal point

40
New cards

String (str)

A sequence of characters enclosed in quotes (text)

41
New cards

Boolean (bool)

A value representing only True or False

42
New cards

List

An ordered, changeable collection of items (e.g., ["apple", "banana", "cherry"])

43
New cards

Dictionary

A collection of labeled key-value pairs (e.g., {"name": "Bob", "age": 25})

44
New cards

Tuple

An ordered, fixed (unchangeable) collection of values (e.g., (10, 20))