Computational Thinking, Algorithms and Programming (OCR)

studied byStudied by 3 people
0.0(0)
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 21 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 38 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 448 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 2 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard78 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard45 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard54 terms
studied byStudied by 41 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard28 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard65 terms
studied byStudied by 24 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard31 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard29 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard31 terms
studied byStudied by 1 person
Updated ... ago
4.0 Stars(1)