Algorithms and Data Representation - Vocabulary Flashcards

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

1/52

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary from the lecture notes on Algorithms and Data Representation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

53 Terms

1
New cards

Algorithm

A precise method for solving a problem.

2
New cards

High-level programming language

A programming language that is similar to natural human language.

3
New cards

Pseudocode

A structured, code-like language used to describe an algorithm.

4
New cards

Developer

A person whose job it is to create new software.

5
New cards

Identifier

A unique name given to a variable or a constant.

6
New cards

Arithmetic operator

An operator that performs a calculation.

7
New cards

Constant

A 'container' that holds a value that never changes.

8
New cards

Quotient

A result found by dividing one quantity by another.

9
New cards

Modulus

The remainder after the division of one number by another.

10
New cards

Ascending order

Arranging items from smallest to largest.

11
New cards

Descending order

Arranging items from largest to smallest.

12
New cards

Traversal

Travel across or through something.

13
New cards

Recursion

A process that is repeated.

14
New cards

Sequential

Following in order, one after the other.

15
New cards

Median

The middle number when the numbers are put in ascending or descending order.

16
New cards

Abstraction

The process of removing or hiding unnecessary detail.

17
New cards

Abstract

To remove something from somewhere.

18
New cards

Model

To make a simple version of something to show how it works.

19
New cards

Subprogram

A self-contained module of code that performs a specific task and can be called by the main program when needed.

20
New cards

Quotient

A result found by dividing one quantity by another.

21
New cards

Modulus

The remainder after the division of one number by another.

22
New cards

Power

The small number written to the right and above another number to show how many times it should be multiplied by itself.

23
New cards

Definite iteration

Used when you know in advance how often the instructions in the body of the loop are to be repeated.

24
New cards

Indefinite iteration

Used when the number of times a loop will need to be repeated is not known in advance, repeated until a specified condition is reached.

25
New cards

Comments

A technique for program clarity achieved by explaining what each part of the program does.

26
New cards

Descriptive Names

A technique for program clarity achieved by using descriptive identifiers for variables, constants, and subprograms.

27
New cards

Indentation

A technique for program clarity achieved by making it easier to see where each block of code starts and finishes.

28
New cards

Whitespace

A technique for program clarity achieved by adding blank lines between different blocks of code.

29
New cards

String

A data type used to represent a sequence of characters, such as numbers, text, spaces, and punctuation.

30
New cards

Concatenation

Joining two or more items of information together, producing a new string object.

31
New cards

Data structure

An organized collection of related elements.

32
New cards

Array

An organized collection of related values with a single shared identifier.

33
New cards

Multidimensional Array

An ‘array of arrays’; each item at an index is another array.

34
New cards

Record

A data structure that stores a set of related values of different types.

35
New cards

Validation

Validation that checks that the data entered by a user or from a file meets certain criteria.

36
New cards

Range Check

A validation check that ensures that the data entered is within a specified range.

37
New cards

Presence Check

A validation check that simply ensures that a value has been entered.

38
New cards

Look-up Check

A validation check that is used to test that a value is one of a predefined set of acceptable values.

39
New cards

Length Check

A validation check that checks that the length of a value entered falls within acceptable limits.

40
New cards

Erroneous Data

Data that should not be accepted by the program.

41
New cards

Text File

A sequence of lines, each of which consists of a sequence of characters.

42
New cards

File Handle

A label that is assigned to a resource needed by the program.

43
New cards

Bug

An error or flaw in a computer program.

44
New cards

Overflow Error

A condition that occurs when a calculation produces a result that is greater than the computer can deal with or store.

45
New cards

Infinite Loop

A loop that never ends because the condition required to terminate the loop is never reached.

46
New cards

Trace Table

A technique used to identify any logic errors in algorithms.

47
New cards

Debugger

A computer program that assists in the detection and correction of errors in other computer programs.

48
New cards

Truth Table

A table showing all possible combinations of the inputs and outputs of an operator.

49
New cards

Logic Circuit

An electronic circuit that has inputs and outputs that follow one of the boolean operators.

50
New cards

Heuristic

An algorithm that quickly finds a solution through trial and error.

51
New cards

Monte Carlo Method

Statistical analysis using random samples for approximate solutions.

52
New cards

Driver

Software that communicates with I/O devices, transferring data between the hardware and the operating system in an agreed format via the API.

53
New cards

Ethernet

A family of protocols used in wired LANs.