OCR GCSE Computer Science J277 - 2.1 Algorithms

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

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

33 Terms

1
New cards

Computational thinking

Using methods such as abstraction, decomposition and algorithmic thinking to solve problems.

2
New cards

Abstraction

Removing unnecessary detail so attention is focused on the important information needed to solve a problem.

3
New cards

Decomposition

Breaking a complex problem or system into smaller, more manageable parts.

4
New cards

Algorithmic thinking

Working out a clear sequence of steps that can solve a problem.

5
New cards

Algorithm

A finite sequence of clear steps for solving a problem.

6
New cards

Input

Data supplied to a system or algorithm.

7
New cards

Process

The operations carried out on input data.

8
New cards

Output

The information or result produced by a system or algorithm.

9
New cards

Purpose of Identifying Inputs, Processes, and Outputs

They help define what the solution receives, what it must do and what it must produce before coding.

10
New cards

Flowchart

A diagram that represents the steps and decisions in an algorithm using standard symbols and arrows.

11
New cards

Flowchart Terminator Symbol

Represents the start or end of an algorithm in a flowchart diagram.

12
New cards

Flowchart Process Symbol

Represents an instruction or operation to be carried out in a flowchart diagram.

13
New cards

Flowchart Decision Symbol

Represents a condition or question that causes the algorithm to follow different paths in a flowchart.

14
New cards

Flowchart Input/Output Symbol

Represents data entering or leaving the algorithm in a flowchart diagram.

15
New cards

Pseudocode

A structured, language-independent way of describing an algorithm using programming-like statements.

16
New cards

OCR Exam Reference Language

OCR's defined pseudocode-style language used to express algorithms consistently in J277 assessments.

17
New cards

Algorithm Language Permissibility in OCR Exams

OCR permits OCR Exam Reference Language or a high-level programming language the student has studied, where the question allows it.

18
New cards

Trace table

A table used to record how variables or other values change while an algorithm is followed step by step.

19
New cards

Usefulness of Trace Tables

They help understand, test and debug algorithms by showing their state as each step executes.

20
New cards

Algorithm Tracing Rule

Follow the instructions exactly in order and update values only when the algorithm changes them.

21
New cards

Searching algorithm

An algorithm used to find a target item in a collection of data.

22
New cards

Linear search

Checks items one at a time in order until the target is found or all items have been checked.

23
New cards

Linear Search Data Requirement

Does not require sorted data.

24
New cards

Binary search

Repeatedly compares the target with the middle item and discards half of the remaining search area.

25
New cards

Binary Search Data Requirement

The data must be sorted.

26
New cards

Efficiency Advantage of Binary Search

Each comparison can eliminate about half of the remaining items on a large sorted list.

27
New cards

Sorting algorithm

An algorithm that arranges data into a specified order.

28
New cards

Bubble sort

Repeatedly compares neighbouring items and swaps them when they are in the wrong order until the list is sorted.

29
New cards

Pass of Bubble Sort

Adjacent pairs are compared and swapped where necessary across the list.

30
New cards

Insertion sort

Builds a sorted section by taking each next item and inserting it into the correct position.

31
New cards

Growth Mechanism of Insertion Sort

One item at a time is placed into its correct position within the already sorted section.

32
New cards

Merge sort

Repeatedly divides data into smaller groups, then merges the groups back together in sorted order.

33
New cards

Central Idea of Merge Sort

Divide the list, then combine the smaller sorted parts to form