Computational Thinking, Algorithms and Programming (OCR)

studied byStudied by 8 people
4.0(1)
Get a hint
Hint

Complex Problem

1 / 14

flashcard set

Earn XP

Description and Tags

15 Terms

1

Complex Problem

A complex problem is one that, at first glance, does not have an obvious, immediate solution.

New cards
2

Decomposition

Decomposition involves breaking down a complex problem or system into smaller parts that are more manageable and easier to understand.

New cards
3

Abstraction

Abstraction is the process of filtering out - essentially ignoring - the characteristics of problems that are not needed in order to concentrate on those that are needed.

New cards
4

Algorithm

An algorithm is a logical, step-by-step process for solving a problem.

New cards
5

Pseudocode

Pseudocode is not an actual programming language. Instead, it is a simple way of describing a set of instructions in a manner that resembles a programming language.

New cards
6

Flow Diagram

A flow diagram is a diagram that shows an overview of a program.

New cards
7

When developing programs what are the two types of errors (bugs) that often occur

Syntax errors and logic errors

New cards
8

Syntax errors

A syntax error occurs when code written does not follow the rules of the programming language

New cards
9

Logic errors

A logic error is an error in the way a program works. The program simply does not do what it is expected to do.

New cards
10

Dry Run

A dry run involves creating what is called a trace table, containing all the variables a program contains.

New cards
11

Why are trace tables useful?

Trace tables are extremely useful because they enable a programmer to compare what the value of each variable should be against what a program actually produces. Where the two differ is the point in the program where a logic error has occurred.

New cards
12

What are the three important elements of computational thinking?

Decomposition, Abstraction, Algorithmic thinking

New cards
13

A decomposed problem should consider…

  • What are the inputs into the problem?

  • What will be the outputs of the problem?

  • In what order do instructions need to be carried out?

  • What decisions need to be made in the problem?

  • Are any areas of the problem repeated?

New cards
14

Computational thinking

Computational thinking enables you to work out exactly what to tell the computer to do.

New cards
15

Algorithms are usually written as…

pseudocode or a flow diagram

New cards

Explore top notes

note Note
studied byStudied by 250 people
... ago
5.0(3)
note Note
studied byStudied by 38 people
... ago
5.0(3)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
4.5(2)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 139 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (34)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (242)
studied byStudied by 22 people
... ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 18 people
... ago
5.0(2)
flashcards Flashcard (110)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 15 people
... ago
5.0(1)
flashcards Flashcard (62)
studied byStudied by 1167 people
... ago
5.0(1)
robot