Synoptic / cap wrong doings Flashcards
Encryption
Encoding data so that is can only be viewed by the intended viewer
Why normalise floating point numbers
To maximise accuracy
Nyquist’s theorem
Sample at a frequency of twice the rate of the highest frequency
What is exception handling used for
Handling runtime errors To stop a program from crashing
Subroutine
A self contained set of commands that can be called from different parts of a program
Difference between local and global variables
Global variables can be used within the whole program whilst local variables can only be used within the subroutine.
Why is it good practise to use local variables
-Take up less memory
-Memory allocated to local variables can be reused
-Using local variables makes subroutine self contained
Pixel
Smallest unit which can be drawn on a screen
Sampling rate
Number of samples taken per second
Process of ADC (Analogue to digital converter)
ADC takes samples of the analogue signals at regular intervals. Samples are quantised. Each sample is assigned a binary value.
One difference between Unicode and ASCII
Unicode can store more characters
Array
Fixed sized sequential collection of elements of the same data type
Records
Composed of related data
Pointer
Declare a variable to point a physical address in the memory
Selection
Do a set of statements based on conditions
“Branching”