Paper 2 Flashcards

1
Q

Abstraction

A

The goal of “abstracting” data is to reduce complexity by removing unnecessary information. At some level, we all think of computers in abstract terms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Decomposition

A

Decompotion involves the breaking down of a problem into smaller, simpler, simple steps or stages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Linear search

A

When data is unsorted, the only sensible option when searching for a particular item is to start at the beginning and look at every item until you find the one you want.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Binary search

A

It works by repeatedly dividing in half the portion of the data list that could contain the required data item. This is continued until there is only one item in the list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Bubble sort

A

A bubble sort works by repeatedly going through the list to be sorted, comparing each pair of adjacent elements. Moving the largest item to the end.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Insertion sort

A

The algorthium takes one data item form the list and places it in the correct location in the list. The process is repeated until there are no more unsorted data items in the list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Merge sort

A

This is a two stage sort. In the first stage, the list is successively divoded in half, forming two sublists, until each sublist is of length one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Flow diagrams

A

Flow diagram is a collective term for a diagram representing a flow or set of dynamic relationships in a system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Start/End (flow chart)

A

Oval

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Process box

A

Rectangle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Input/Output (flow chart)

A

Rhombus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Decision box (flow charts)

A

Diamond

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Sequence

A

Sequence is just a matter of writing the steps down in the order they need to happen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Iteration

A

There are three basic iteration (loop) constructs that you will learn when you program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Logic errors

A

When the program is running it doesn’t do quite what was expected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Syntax error

A

Since computer programs must follow strict syntax to compile correctly, any aspects of the code that do not conform to the syntax of the programming language will produce a syntax error.

17
Q

Interpreter

A

An interpreter is used to translate high-level language code into machine code. It translates each line of sorce code and then executes it.

18
Q

Compiler

A

Translates a program written in a high level programming language into machine code. It translates the whole code in one go, execpt if there is an error.

19
Q

Assembler

A

Converts assembly language into machine code. This is a simple conversion as, in general, every assembly language instruction is translated into a single machine code instruction.

20
Q

Sample

A

Is a measure of amplitude at a point in time.

21
Q

Sample resolution

A

Is the number of bits used to store each sample.

22
Q

Sample rate

A

Is the frequency with which you record the amplitude of the sound, the number of samples per second.

23
Q

Sample size

A

The number of seconds over which the sample was taken

24
Q

Bitmap image

A

If the size of a picture is increased, then more pixels will need to be stored. This increase the size of the image file.

25
Q

Colour depth

A

Alternatively referred to as bit depth, pixel depth, color depth refers to the number of bits per pixel on a computer monitor to represent a specific color. The more bits per pixel, the higher color variety and quality of the monitor.