Synoptic / cap wrong doings Flashcards

1
Q

Encryption

A

Encoding data so that is can only be viewed by the intended viewer

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

Why normalise floating point numbers

A

To maximise accuracy

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

Nyquist’s theorem

A

Sample at a frequency of twice the rate of the highest frequency

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

What is exception handling used for

A

Handling runtime errors To stop a program from crashing

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

Subroutine

A

A self contained set of commands that can be called from different parts of a program

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

Difference between local and global variables

A

Global variables can be used within the whole program whilst local variables can only be used within the subroutine.

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

Why is it good practise to use local variables

A

-Take up less memory
-Memory allocated to local variables can be reused
-Using local variables makes subroutine self contained

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

Pixel

A

Smallest unit which can be drawn on a screen

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

Sampling rate

A

Number of samples taken per second

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

Process of ADC (Analogue to digital converter)

A

ADC takes samples of the analogue signals at regular intervals. Samples are quantised. Each sample is assigned a binary value.

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

One difference between Unicode and ASCII

A

Unicode can store more characters

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

Array

A

Fixed sized sequential collection of elements of the same data type

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

Records

A

Composed of related data

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

Pointer

A

Declare a variable to point a physical address in the memory

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

Selection

A

Do a set of statements based on conditions
“Branching”

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

String concatenation

A

Join together seperate strings into a single string

17
Q

Algorithm

A

a sequence of steps (to complete a task)

18
Q

Sample resolution

A

The sample resolution is the number of bits used to represent/store each sample;

19
Q

Describe what libraries are and why programmers use them.

A

Provides routines that can be included/used in a program;

Improves the speed of development // reduces workload

20
Q

A vector can be represented:

A

As a list
As a 1-D array
As a dictionary (which can be considered to be representing it as a function)
Graphically (as an arrow, demonstrated above)
Using set notation

21
Q

Recursive Subroutine

A

Subroutine that calls itself

22
Q

Time complexity for merge sort

A

n log(n)