Introduction To Programming Mid-Term Flash

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/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:42 PM on 9/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

42 Terms

1
New cards

Problem Statement

A written description of the problem the program is intended to solve.

2
New cards

Problem Decomposition

The process of breaking a large problem into smaller, easier-to-solve parts.

3
New cards

Logical Group of Work

A related set of steps that work together to complete one part of a larger solution.

4
New cards

Algorithm

A step-by-step process used to solve a problem or complete a task.

5
New cards

Pseudocode

A plain-language plan for code. It describes what the program should do without requiring exact programming syntax.

6
New cards

Program Flow

The order in which instructions are executed in a program.

7
New cards

Sequence

A control structure where instructions run in order from top to bottom.

8
New cards

Selection

A control structure where the program chooses between paths using a condition.

9
New cards

Condition

A true-or-false expression used to control decisions or loops.

10
New cards

Conditional Statement

A programming structure that runs different code depending on whether a condition is true or false.

11
New cards

Repetition

What is it called when a control structure repeats a block of code.

12
New cards

Loop

A structure that repeats code while a condition remains true or for each item in a collection.

13
New cards

Sentinel Value

A special value that signals a loop should stop.

14
New cards

Variable

A named storage location for data used by the program.

15
New cards

Assignment

The process of storing a value in a variable using an ‘=’

16
New cards

Data Type

The kind of value stored in a variable, such as string, integer, float, or Boolean.

17
New cards

String

Text data stored inside quotation marks.

18
New cards

Integer

A whole number without a decimal.

19
New cards

Boolean

A true-or-false value.

20
New cards

Collection

A structure that stores multiple values together.

21
New cards

List

A Python collection that stores multiple values in order.

22
New cards

Append

A list operation that adds a value to the end of a list.

23
New cards

Index

The position of an item in a list. Begins at zero.

24
New cards

Iteration

One pass through a loop.

25
New cards

Function

A named group of code that performs a task.

26
New cards

Function Definition

The code that creates a function.

27
New cards

Function Call

The instruction that runs a function.

28
New cards

Function Body

The indented code inside a function.

29
New cards

Parameter

A variable listed in a function definition that receives incoming data.

30
New cards

Argument

The actual value supplied when a function is called.

31
New cards

Parameter

A local variable listed in a function definition. It names information the function needs.

32
New cards

Argument

A value passed into a function call.

33
New cards

Return

A keyword that sends a value out of a function.

34
New cards

Return Value

The value a function gives back after it finishes. Data sent back from a function to the place where it was called.

35
New cards

Local Variable

A variable created inside a function or available only within a limited area of the program.

36
New cards

Global Variable

A variable created outside functions that can be accessed more broadly in the file.

37
New cards

Scope

The part of the program where a variable can be accessed.

38
New cards

Function Responsibility

The specific job a function is designed to perform.

39
New cards

Single Responsibility

The design idea that a function should usually focus on one main job.

40
New cards

Reusability

The ability to use the same code multiple times without rewriting it.

41
New cards

Maintainability

How easy code is to read, update, debug, and improve.

42
New cards

Modularity

The practice of building a program from smaller, organized pieces.