Problem-Solving Steps and Algorithm Design

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

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering the stages of problem-solving, algorithm characteristics, analysis methods, and code testing techniques based on the lecture transcript.

Last updated 5:01 PM on 8/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

Problem

A situation where there is a difference between the current state and the desired goal, and a solution is needed to bridge that gap.

2
New cards

Algorithm

A finite set of instructions that, if followed, accomplishes a particular task.

3
New cards

Unambiguous

A characteristic of an algorithm where every step is clear, easy to understand, and leads to only one meaning.

4
New cards

Finiteness

An algorithm characteristic requiring the process to eventually stop after a finite number of steps.

5
New cards

Feasibility

An algorithm characteristic where each step must be practical and possible with the available resources.

6
New cards

Independent

An algorithm characteristic stating that step-by-step directions should be independent of any programming code.

7
New cards

Natural Language

A language spoken, written, or signed by humans for general purpose communication; sometimes used to express algorithms but can be open to interpretations.

8
New cards

Pseudocode

A description of an algorithm where regular programming language is augmented with natural language or compact mathematical notation to make it easier for humans to read.

9
New cards

Flowcharts

A schematic representation of an algorithm or a process.

10
New cards

A Priori Analysis

Theoretical analysis done before implementing an algorithm to predict performance by assuming all other factors are constant; often measured using Big O Notation.

11
New cards

A Posteriori Analysis

Empirical analysis performed after the algorithm is implemented and executed to collect actual statistics like running speed and storage required.

12
New cards

Space Complexity

The amount of memory space required by an algorithm during its life cycle.

13
New cards

Fixed Part (Space Complexity)

The portion of space required to store certain data or variables that is independent of the size of the problem.

14
New cards

Variable Part (Space Complexity)

The space needed by variables whose size is dependent on the size of the input problem.

15
New cards

Time Complexity

The amount of time required by the algorithm to run to completion, often measured by its worst case.

16
New cards

Worst Case

The maximum amount of time an algorithm may require for a given input size.

17
New cards

Asymptotic Notation

Language that allows analysis of an algorithm's running time by identifying its behavior (growth rate) as the input size increases.

18
New cards

Statement Coverage

A type of dynamic testing used to verify that no line of code remains untested.

19
New cards

Branch Coverage

A type of dynamic testing to ensure all decision outcomes in the code are executed properly.

20
New cards

Cyclomatic Complexity

A technique used during dynamic testing to check for the complexity of the code.

21
New cards

Static Testing

A testing method involving code inspection, walkthroughs, reviews, and audits without executing the program.

22
New cards

Code Walkthrough

A static testing process that requires the programmer to explain the code step-by-step.

23
New cards

Code Audit

An independent evaluation of source code to check for compliance with organizational standards.