Algorithms and Programming

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/46

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

47 Terms

1
New cards

A graphical method of representing an algorithm or process

FLOW CHART

2
New cards

A notation resembling a simplified programming language, used to describe algorithms

PSEUDOCODE

3
New cards

A series of steps designed to solve a problem

ALGORITHM

4
New cards

A type of programming construct in which a group of statements is executed repeatedly

ITERATION

5
New cards

A type of programming construct in which an option of statements is provided

SELECTION

6
New cards

A type of programming construct where a set of instructions is executed in order

SEQUENCE

7
New cards

Graphical device used to manually work out what variable values should be throughout the code

TRACE TABLE

8
New cards

Testing/checking an algorithm or code without using a computer

DRY RUN

9
New cards

A name given to a variable, function or class to aid human understanding of a program

IDENTIFIER

10
New cards

A type of error that occurs due to incorrect algorithm design

LOGICAL

11
New cards

A value stored in memory that cannot change while a program runs

CONSTANT

12
New cards

A variable stored in a known format in a known location

STATIC

13
New cards

A variable which is either declared within the function or is an argument passed to a function

LOCAL

14
New cards

Binary instructions used by the CPU

MACHINE CODE

15
New cards

Data type used for positive and negative whole numbers

INTEGER

16
New cards

Data type used for storing a single alphabetic or numeric character

CHARACTER

17
New cards

Error that can occur when a compiled program is linked to library routines

LINKING

18
New cards

Error that occurs due to exact numbers being approximated to a lower number of significant figures

ROUNDING

19
New cards

Error that occurs when a number becomes too large to fit into the number of bits allocated

OVERFLOW

20
New cards

Name for any utility which converts one programming language into another

TRANSLATOR

21
New cards

Programming construct used to repeat a statement(s) a specified number of times

FOR LOOP

22
New cards

Programming construct which checks to see if a statement is true or false before acting accordingly

IF STATEMENT

23
New cards

The main markup language used for displaying web pages in a browser

HTML

24
New cards

The term used to describe the range in which a function or variable can act

SCOPE

25
New cards

Utility which coverts high level code into low level code, whole blocks of code at a time

COMPILER

26
New cards

Visual programming environment; commonly used by new programmers to produce animations and games

SCRATCH

27
New cards

A series of instructions used to perform specific tasks and return a value to the program

FUNCTION

28
New cards

A signal that tells the debugger to temporarily stop execution of a program at a certain point

BREAKPOINT

29
New cards

A type of error that occurs due to incorrect spelling or grammar in a program

SYNTAX

30
New cards

A type of error that occurs during the execution of a program

RUN-TIME

31
New cards

A value stored in memory that can change while a program runs

VARIABLE

32
New cards

A variable which is accessible in multiple scopes

GLOBAL

33
New cards

A variable which stores data in an efficient way by using a pointer to locate data stored in a different location

DYNAMIC

34
New cards

Client-side scripting language commonly used to enhance website user interfaces

JAVASCRIPT

35
New cards

Data structure used to store multiple values in a single variable

ARRAY

36
New cards

Data type that can be used to store any combination of alphanumeric data

STRING

37
New cards

Data type that only stores one of two values

BOOLEAN

38
New cards

Error that results from executing a finite number of steps to approximate an infinite process

TRUNCATION

39
New cards

Pattern to store data in a computer program so that it can be used efficiently

DATA STRUCTURE

40
New cards

Problem-based programming languages which are similar to natural languages

HIGH LEVEL

41
New cards

Programming construct used to repeat a statement(s) until a specific event occurs

WHILE LOOP

42
New cards

Server-side scripting language used to create database driven websites

PHP

43
New cards

Utility which converts low level code into machine code

ASSEMBLER

44
New cards

Utility which coverts high level code into low level code, one line at a time

INTERPRETER

45
New cards

Examples of a syntax error

Incorrect indentation in Python
Missing punctuation
Key words spelt incorrectly

46
New cards

Examples of a run time error

Division by zero
Reading past the end of file
Stack overflow / request more memory than available
Overflow of data type (for example, integer too big)
Trying to access out of range array

47
New cards

Examples of a logical error

Branch to the wrong statement
Call the wrong sub-routine/function
A = B + C instead of A = B - C,
GrossPrice = NetPrice - VAT
Looping too many times