Fundamentals of Data representation Flashcards

1
Q

Natural numbers (N)

A

The set of positive integers and 0. They can be used as cardinal(counting) or ordinal(ordering) numbers. N = {0, 1, 2, 3, …}.

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

Integers (Z)

A

The set of numbers with no fractional part. The natural numbers are a subset of the integers. {…, -3, -2, -1, 0, 1, 2, 3, …}.

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

Rational numbers (Q)

A

The set of numbers that can be expressed as the ratio of two integers. The integers are a subset of the rational numbers since all integers can be expressed as a ratio with 1. Q = {0, 1/2, 0.75, 0.11111…, 300.5, -42, …}.

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

Irrational numbers

A

Numbers which cannot be expressed as a ratio of two integers, and hence do not lie within the set of rational numbers. {π , √2, e, …}.

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

Real numbers (R)

A

The set of numbers that can represent real world quantities and have an imaginary part of 0. Rational and irrational numbers are all members of the real numbers. R = {π , 1.5, -7, 3/4, 2, 10000000, -11.3432, …}.

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

Ordinal numbers

A

Natural numbers used to describe numerical position or order of objects.

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

Binary

A

A number system that only uses ones and zeros to represent numbers (a base 2 system).

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

Decimal

A

A number system that only uses 10 characters (0 to 9) to represent numbers 9a base 10 system).

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

Hexadecimal

A

A number system that only uses 16 characters (0 to 9 and A to F) to represent numbers (a base 16 system).

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

Number base

A

The number of unique digits used by a particular number system to represent numbers.

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

Bit

A

A binary digit used by computers as the fundamental unit of information.

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

Byte

A

A group of 8 bites.

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

Binary prefix

A

A prefix to a unit representing a power of 2. (Kibi=2^10, mebi=2^20, gibi=2^30, tebi=2^40).

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

Decimal prefix

A

A prefix to a unite representing a power of 10. (Kilo=10^3, mega=10^6, giga=10^9, tera=10^12).

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

Signed binary

A

A binary number system that can represent both positive and negative numbers.

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

Unsigned binary

A

A binary number system that can only represent positive numbers.

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

Two’s complement

A

A coding scheme used in signed binary to represent negative as well as positive numbers. A negative number is represented by flipping all its digits and adding 1 to the most significant bit.

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

Exponent

A

A component of floating point form that stores the number of positions to move the decimal point.

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

Fixed point form

A

A form used to represent numbers with a fractional part in any number system. Digits after the fixed point are multiplied by the base raised to a negative power.

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

Mantissa

A

A component of floating point form that stores the non-zero significant digits of a number.

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

Rounding errors

A

Errors inherently introduced to any calculations with fixed or floating point numbers since they cannot store numbers with infinite precisions.

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

Absolute error

A

The difference between the exact correct value and rounded value.

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

Relative error

A

The percentage difference between the exact correct value and rounded value.

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

Normalisation

A

The process of ensuring a float point number is represented as efficiently as possible by adjusting the position of the radix point and exponent.

25
Q

Underflow

A

The misrepresentation of a numeric value because it is too small to be represented with the allocated number of digits in the mantissa and exponent.

26
Q

Overflow

A

The misrepresentation of a numeric value because it is too large to be represented with the allocated number of digits in the mantissa and exponent.

27
Q

Character code

A

A unique binary representation of a character. Not to be confused with the binary representation of a decimal digit, which is it’s numerical value in the binary system.

28
Q

ASCII

A

A character set used to represent alphanumeric characters or symbols as a set of 8 bits.

29
Q

Unicode

A

A character set that is a superset of ASCII. It is used to represent alphanumeric characters or symbols as an integer code point which is equal to the character’s ASCII code.

30
Q

Check digits

A

A method of checking codes for errors during data transmission by adding an extra digit to the end (usually calculated/processed from digits in the code itself) that checks whether the data is accurate.

31
Q

Check sums

A

A method of checking codes for errors during data transmission by calculating the sum of transmitted digits.

32
Q

Majority voting

A

A method of checking binary codes for errors during data transmission by sending each bit multiple times, in a set. The receiver takes the value with the most occurrences in a set as the value for that bit.

33
Q

Parity bits

A

A method of checking binary codes for errors during data transmission by counting the number of ones and zeros present.

34
Q

Analogue data

A

Data whose values can vary continuously and take on any value between two extremes.

35
Q

Analogue signals

A

A transmission of a set of analogue data structures, that varies with time, between computational processes.

36
Q

Digital data

A

Data whose values can vary discretely and can only take on one of a finite number of values between two extremes.

37
Q

Digital signals

A

A transmission of a set of digital data structures, that varies with time, between computational processes.

38
Q

Analogue to digital converter (ADC)

A

An integrated circuit capable of converting continuous analogue data to discrete digital data for a computer.

39
Q

Digital to analogue converter (DAC)

A

An integrated circuit capable of converting discrete digital data from a computer to continuous analogue data.

40
Q

Bitmapped graphics

A

An image composed of an array of pixels each with an allocated number of bits, arranged to form an image. Also known as raster graphics.

41
Q

Bitmap storage requirements

A

The amount of storage required for a bitmapped image is at least its
(image size) x (colour depth).

42
Q

Colour depth

A

A measure of the amount of colour used in an image, expressed in terms of the number of bits per pixel.

43
Q

Image size

A

The total number of pixels in an image expressed in terms of its dimensions:
(width in pixels) x (height in pixels).

44
Q

Metadata

A

Data related to the image file data itself. this includes image properties such as width, height and colour depth.

45
Q

Resolution

A

A measure of the total number of pixels in an image, typically expressed in terms of the number of dots/pixels per inch.

46
Q

Vector graphics

A

An image composed from mathematical coordinates and functions (lines and curves).

47
Q

Nyquist theorem

A

A sufficiently accurate digital waveform of an analogue signal would require a sampling rate of at least twice the highest frequency that appears in the original analogue signal.

48
Q

Sample resolution

A

The number of bits used to represent a single sample.

49
Q

Sampling rate

A

The number of samples taken per second.

50
Q

Sound sampling

A

The process of converting analogue sound waves to a digital waveform, by storing a finite number of readings in binary.

51
Q

Event messages

A

Binary data transmitted between the MIDI device and computer processor that carries properties controlling when and how sounds are produced.

52
Q

MIDI

A

Musical instrument digital interface is a protocol for ADC audio transmission to a digital interface used for the majority of electronic musical instruments and computers.

53
Q

Dictionary-based coding

A

A type of lossless compression where text is searched for entries that match the entries in a dictionary. Entries are substituted by a unique code which can then be translated.

54
Q

Lossless compression

A

A compression algorithm that retains all the data in the file by only storing the instructions needed to reconstruct the original file. No data is lost.

55
Q

Lossy compression

A

A compression algorithm that removes non-essential data from a file leading to a noticeable decrease in accuracy of the data. Data lost is non-recoverable.

56
Q

Run-Length encoding

A

A type of lossless compression where repeated occurrences of the same data (like several pixels of the same colour in an image) are stored as single data values with their counts.

57
Q

Encryption

A

The process of converting the original data (plaintext) into a form which cannot be understood by unauthorised users (cipher text) using an encryption algorithm (cipher).

58
Q

Caesar Cipher

A

A substitution cipher where each letter of plaintext is substituted for another that is a fixed number of letters ahead in the alphabet, which becomes the cipher text.

59
Q

Vernam cipher

A

A cipher that uses a one-time pad (a secret random key) to convert each character to cipher text by modularly adding it with the corresponding character of the key. This is impossible to decrypt without a key.