Computational Thinking and Algorithms

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

1/33

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core computational thinking principles, algorithm design, control structures, data types, arrays, Boolean logic gates, and digital data concepts from the lecture notes.

34 Terms

1
New cards

Computational thinking

A problem-solving approach that involves breaking down a problem, identifying patterns, focusing on important information, and creating a step-by-step solution.

2
New cards

Decomposition

Breaking a large or complex problem into smaller or easier parts.

3
New cards

Pattern Recognition

Identifying similarities or repeated patterns within problems.

4
New cards

Abstraction

Focusing only on important information and ignoring unnecessary details.

5
New cards

Algorithmic thinking

Developing a clear sequence of instructions to solve a problem.

6
New cards

Algorithm

A set of clear, ordered instructions used to solve a problem in order to complete a task.

7
New cards

Sequence

When instructions are performed one after another in the correct order.

8
New cards

Pseudocode

An informal way of writing an algorithm using structured instructions that look similar to programming code, without being an actual programming language or requiring a compiler/interpreter.

9
New cards

Flowcharts

Diagrams that represent the steps of an algorithm using symbols and arrows.

10
New cards

Input

Information put into a system.

11
New cards

Process

The actions performed on data.

12
New cards

Output

Information produced by the system.

13
New cards

Iteration

Repeating a section of an algorithm or program.

14
New cards

Loop

A structure used to repeat instructions when an instruction needs to happen more than once.

15
New cards

For loop

A loop that runs a block of code a set, known number of times.

16
New cards

While loop

A loop that repeats a block of code as long as a specified condition remains true, testing the condition before running the code inside the loop.

17
New cards

Do while loop

A loop similar to a while loop, but it evaluates the condition at the end of the block.

18
New cards

For each loop

A loop that iterates directly through items in a collection or array without needing an explicit counter variable.

19
New cards

Count-controlled loop

A loop that repeats instructions a specific number of times using a counter variable.

20
New cards

Data type

Tells a computer what kind of data is being stored.

21
New cards

Integer

A whole number that does not contain decimal parts.

22
New cards

Real

A number that contains decimal parts, useful for measurements or calculations.

23
New cards

String

A data type that stores one or more characters together as text, such as names, sentences, addresses, passwords, or messages.

24
New cards

Character

A data type that stores a single letter, number, or symbol, using a fixed amount of memory.

25
New cards

Boolean

A data type that has only two possible values: TRUE or FALSE.

26
New cards

Array

A data structure used to store multiple items of data under one identifier, allowing many related values to be stored together.

27
New cards

Index

A numerical identifier for the position of an item in an array, starting at 0 in many programming languages.

28
New cards

Logic gates

Components used by computers to process binary values by receiving one or more inputs and producing an output.

29
New cards

AND Gate

A logic gate with two inputs and one output, where the output is 1 only when BOTH inputs are 1.

30
New cards

OR Gate

A logic gate with two inputs and one output, where the output is 1 when at least one input is 1.

31
New cards

NOT Gate

A logic gate with one input and one output that reverses the input (NOT 0=1\text{NOT } 0 = 1, NOT 1=0\text{NOT } 1 = 0).

32
New cards

Boolean expression

An expression that describes a logical operation whose evaluation determines the output.

33
New cards

Digitizing

Converting analogue data into a series of numerical values that can be represented digitally.

34
New cards

Analogue sound

A continuous sound wave that shows changes in the sound over time.