Algorithmic Thinking and Design

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

1/31

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary and concepts from the lecture on Algorithmic Thinking and Design, including programming basics, pseudocode elements, and control structures.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

Algorithmic Thinking

The ability to analyze and solve computational problems at a level of abstraction, without requiring implementation details.

2
New cards

Programming

The process of telling a computer what you want it to do.

3
New cards

Ada Lovelace

Considered the first computer programmer, associated with the Analytical Engine.

4
New cards

Natural Language

A language easy for humans but error-prone for computers when used for instructions.

5
New cards

Machine Language

A language easy for computers but error-prone for humans trying to write instructions.

6
New cards

High-level Language

A language that presents an acceptable tradeoff, with some difficulty for both humans and computers, but more efficient than natural or machine language for programming.

7
New cards

Algorithm

A step-by-step process of solving a problem.

8
New cards

Algorithm Development

A three-step process involving Analyze, Solve, and Evaluate, with feedback loops to refine the solution.

9
New cards

Computational Thinking (CT)

A set of problem-solving methods that involves expressing problems and their solutions in a way that can be translated to an algorithm and solved using a computer.

10
New cards

Stages of CT

Abstraction (problem formulation), Automation (expressing a machine-executable solution), and Analyses (solution execution and evaluation).

11
New cards

Pseudo Language (Pseudocode)

An informal high-level description of a computer program, intended for human reading rather than machine execution, which uses structural conventions similar to a programming language.

12
New cards

Software Design Cycle

A process where a pseudo language helps express the algorithm, aiding in avoiding expensive errors prior to coding.

13
New cards

Variable

An entity in programming that may change its value.

14
New cards

Constant

A value in programming that does not change.

15
New cards

Expression

Variables, constants, and operators grouped together to show the value of something.

16
New cards

Boolean Expression

An expression that evaluates to either TRUE or FALSE.

17
New cards

Statement

A combination of expressions that performs an action.

18
New cards

READ (Pseudocode)

An I/O operation in pseudocode that reads a value into a variable, typically from memory or an input device.

19
New cards

DISPLAY (Pseudocode)

An I/O operation in pseudocode that outputs a variable or constant to an output device.

20
New cards

SET (Pseudocode)

An initialization statement in pseudocode used to assign a value to a variable.

21
New cards

COMPUTE (Pseudocode)

A statement in pseudocode used to compute an expression and assign its result to a variable.

22
New cards

IF-THEN (Pseudocode)

A flow control statement for one-way branching, executing statements only if a Boolean expression is TRUE.

23
New cards

IF-THEN-ELSE (Pseudocode)

A flow control statement for two-way branching, executing one set of statements if a Boolean condition is TRUE and another if it is FALSE.

24
New cards

NESTED IF-THEN-ELSE (Pseudocode)

A flow control structure for multi-way branching, involving an IF-THEN-ELSE statement contained within another ELSE clause.

25
New cards

WHILE loop (Pseudocode)

An iteration control structure that repeatedly executes a sequence of statements as long as a Boolean expression remains TRUE.

26
New cards

REPEAT-UNTIL loop (Pseudocode)

An iteration control structure that executes a sequence of statements at least once and then repeats them until a Boolean expression becomes TRUE.

27
New cards

ADD (Pseudocode)

A statement in pseudocode used to increment a variable by a specified value.

28
New cards

SUBTRACT (Pseudocode)

A statement in pseudocode used to decrement a variable by a specified value.

29
New cards

NESTED-FOR (Pseudocode)

A control structure where one FOR loop is repeated entirely within another FOR loop.

30
New cards

NESTED-FOR-IF (Pseudocode)

A control structure where an IF condition check is performed within a FOR loop.

31
New cards

Comparison Operators

Operators (e.g., is, !=,

32
New cards

Modulus Operator (%)

An arithmetic operator that returns the remainder of a division operation.