An Introduction to Problem Solving

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

1/32

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms from the lecture notes on problem solving and algorithm design.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

33 Terms

1
New cards

Problem

The difference between the current level of performance and an attainable goal; the gap you want to close through improvement.

2
New cards

Problem Statement

A precise description of what the problem is, written to guide solution (example: Accept two numbers; compute and display their sum).

3
New cards

Problem Definition

The step of looking carefully to identify exactly what the problem is and writing it down.

4
New cards

Problem Analysis

The step that breaks a complex problem into smaller, manageable components; considered the most important step.

5
New cards

Inputs

The data to be used or required by the problem or algorithm.

6
New cards

Processing

The operations or computations performed on inputs to produce outputs.

7
New cards

Outputs

The results produced by the algorithm or program.

8
New cards

Storage

Values to be stored or remembered during processing.

9
New cards

IPO Chart

A chart that lists Input, Processing, and Output to analyze a problem; example uses A, B and sum.

10
New cards

Input

The data supplied to the algorithm (e.g., A and B).

11
New cards

Processing (Step)

The operations performed on inputs (e.g., sum a + b).

12
New cards

Output (Step)

The result produced (e.g., sum).

13
New cards

Propose and Evaluate Possible Solutions

The step of examining all possible solutions and selecting the best one given constraints like time and resources.

14
New cards

Algorithm

A finite number of accurate, unambiguous steps that solve a problem.

15
New cards

Narrative Algorithm

An algorithm described in everyday language; each instruction is written in plain words.

16
New cards

Flowchart

A diagram that uses standard symbols to represent the steps, flow, and data in an algorithm.

17
New cards

Terminator

The flowchart symbol that marks the start or end of the process.

18
New cards

Process (Flowchart)

The flowchart symbol representing a processing step.

19
New cards

Input/Output

The flowchart symbol representing input or output operations.

20
New cards

Decision (Flowchart)

The flowchart symbol used to choose between two options (yes or no).

21
New cards

Flow Control

The flow of data and execution shown in a flowchart.

22
New cards

Connector

The flowchart symbol used to connect parts of a flowchart that can't fit on one page.

23
New cards

Pseudocode

A representation of an algorithm using words and symbols that resemble programming language instructions.

24
New cards

Assignment

An operation in an algorithm where a value is placed into a variable.

25
New cards

Decision (Processing Step)

A branching operation in algorithms that chooses between alternatives.

26
New cards

Iteration (Loop)

A repeating construct in algorithms that loops a set of steps.

27
New cards

Arrays

A data structure used to store multiple values in one variable.

28
New cards

Good Algorithm

An algorithm with finite steps, is precise and unambiguous, has flow control, terminates, and yields output.

29
New cards

Trace Table

A table used to test an algorithm by calculating and recording variable values step-by-step to locate logical errors.

30
New cards

Test and Debug the Program

The process of running tests to find and fix errors in the code.

31
New cards

Implement the Algorithm

Writing the actual program code based on the algorithm.

32
New cards

Test and Validate the Algorithm

Checking that the algorithm works correctly under expected conditions.

33
New cards

Document and Maintain the Program

Keeping records and ensuring the program remains functional and up-to-date.