Fundamentals of Data Representation

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

What are Natural numbers?

1 / 66

flashcard set

Earn XP

67 Terms

1

What are Natural numbers?

All positive whole integers including 0.

<p>All positive whole integers including 0.</p>
New cards
2

What are Integer numbers?

All whole numbers. Positive, 0, Negative

<p>All whole numbers. Positive, 0, Negative</p>
New cards
3

What are Rational numbers?

Or “Quotients“

  • Can but don’t need to be a fraction.

  • if the number can be written in a fraction format.

Its rational.

<p>Or “Quotients“</p><ul><li><p>Can but don’t need to be a fraction.</p></li><li><p>if the number can be written in a fraction format.</p></li></ul><p>Its rational.</p>
New cards
4

What are Irrational numbers?

Irrational numbers can’t be written in the fraction format.

New cards
5

What are Real numbers?

All possible numbers of this dimension.

<p>All possible numbers of this dimension.</p>
New cards
6

What are Ordinal numbers?

Integers used in order to define a numerical position.

1st, 2nd, 3rd

New cards
7

What are the 3 Number bases in Computer Science?

  • Denary or Decimal being 0 - 10

  • Binary being 2

  • Hexadecimal being 16

New cards
8

What are the rounded quantities for data? ASC

  1. Petabyte — 1000

  2. Terabyte — 1000

  3. Megabyte — 1000

  4. Kilobyte — 1000

  5. Byte — 8

  6. Nibble — 4

  7. Bit — 1

New cards
9

What are the accurate quantities for data? ASC

  1. PeBiByte — 1024

  2. TeBiByte — 1024

  3. MeBiByte — 1024

  4. KiBiByte — 1024

  5. Byte — 8

  6. Nibble — 4

  7. Bit — 1

New cards
10

What is the difference between Analogue & Digital Data?

Analogue is continuous with no limits while digital is only able to take particular captures and do particular things.

New cards
11

What does ADC stand for?

Analogue to Digital Converter.

New cards
12

What does DAC stand for?

Digital to Analogue Converter.

New cards
13

How do you calculate the storage required for a bitmap image?

Resolution (x * y) * Bit Depth

New cards
14

What typical data is stored in Metadata for a bitmap image?

  • Width

  • Height

  • Date Created

  • Colour Depth

New cards
15

How do vector images work?

They make use of geometrics and shapes as well as special commands in order to specially generate images.

New cards
16

The name for the number of samples taken per second is?

The Sampling Rate and its expressed in Hertz.

New cards
17

Who found that digital audio files must be at least double the frequency of sound being recorded?

Nyquist — with this discovery being named after them:

The Nyquist Theorem.

New cards
18

What does MIDI stand for?

Musical Instrument Digital Interface.

New cards
19

What are the two types of data compression?

  • Lossy

  • Lossless

New cards
20

What is the difference between Lossy and Lossless compression?

One loses data after compressing (Lossy) while the other one doesn’t.

New cards
21

What is some information that might be stored within a MIDI event message?

  • Duration

  • Type of Instrument

  • Volume

  • Sustained or not.

New cards
22

What does RLE stand for?

Run Length Encoding (RLE)

New cards
23

How does RLE compress a bitmap images file size?

RLE (Run-Length Encoding) compresses bitmap images by encoding consecutive pixels of the same color into a single value and count pair, reducing redundancy and file size.

New cards
24

How does using a Dictionary-Based method compress a bitmap image file size?

By instead of using a full 8 bits per every single letter through this method it will look for commonly used words and letters assigning them their own value.

New cards
25

Considering encryption what is the text called once its been processed?

Ciphertext

New cards
26

What are the Hexadecimal values?

0 1 2 3 4 5 6 7 8 9 | A B C D E F

  • A = 10

  • B = 11

  • C = 12

  • D = 13

  • E = 14

  • F = 15

New cards
27

What are the Binary values?

0|1

New cards
28

What are the Denary values?

1 2 3 4 5 6 7 8 9 0

New cards
29

What is the difference between ASCII and Unicode?

The overall amount of characters that can be represented with:

  • ASCII making use of 7bits to represent their characters.

  • Unicode on the other hand looks at using 8 to 48 Bits allowing for a MUCH wider and larger varietal range of characters.

New cards
30

What does ASCII stand for?

American Standard Code Information Interchange

New cards
31

What is a parity bit?

A singular bit sent along with a transmission in order to check whether its all there or not.

New cards
32

What are the two different types of parity?

  • Even

  • Odd

New cards
33

How do you distinguish between Even and Odd parity?

It refers to the total count of 1’s within a binary string. if the total count of 1’s is even. Its even and if its odd. its odd.

New cards
34

How does majority voting work?

Majority Voting like in Among Us will take the thing with the majority of votes and respond accordingly being exactly like how it works here.

  1. Firstly it will separate every bit and then multiply it 5 times with more simply meaning more secure.

  2. Next it will send these seperated large packages

  3. Then it will recieve them and these brand new packages being larger and if they do happen to be possibly manipulated they won’t be able to be changed that much meaning that most of the original will still be there and to triple check this the majority part finally plays its part.

  4. It will look at the MAJORITY seeing if there are more 1’s or 0’s and which ever has more it will take in as the final answer.

Simpler explanation featured in the image.

<p>Majority Voting like in Among Us will take the thing with the majority of votes and respond accordingly being exactly like how it works here.</p><ol><li><p>Firstly it will separate every bit and then multiply it 5 times with more simply meaning more secure.</p></li><li><p>Next it will send these seperated large packages</p></li><li><p>Then it will recieve them and these brand new packages being larger and if they do happen to be possibly manipulated they won’t be able to be changed that much meaning that most of the original will still be there and to triple check this the majority part finally plays its part.</p></li><li><p>It will look at the MAJORITY seeing if there are more 1’s or 0’s and which ever has more it will take in as the final answer.</p></li></ol><p>Simpler explanation featured in the image.</p>
New cards
35

What is another added benefit of Majority Voting?

Because of how it functions even if the data is manipulated instead of having to resend it you can simply keep it as the actual data is still there.

New cards
36

How does a checksum work?

Similar to parity bits it actually adds to the value but with Checksums it takes it to another level with firstly it making use of numbers featured within the data itself in order to make it more secure.

(The calculation used in order to generate the checksum is not agreed upon a single algorithm instead being bespoke to each use.)

New cards
37

How does a check digit work?

Similar to that of a checksum as it only considers a single digit.

This makes it harder to crack and variety of possible errors.

New cards
38

What are 4 ways of safely transmitting data.

  • Parity Bit

  • Majority Vote

  • Checksum

  • Check Digit

New cards
39

What does DAC stand for?

Digital to Analogue Converter

New cards
40

What does ADC stand for?

Analogue to Digital Converter

New cards
41

What are the 2 different ways a Computer can view an image?

  • Bitmap

  • Vector

New cards
42

How does a bitmap image work?

A bitmap image is simply made up of pixels with a greater resolution of pixels meaning a higher quality image.

New cards
43

What is a resolution?

Resolution refers to the X and Y of a screen or image which in the end states the total size or rather the amount of pixels within.

New cards
44

What is a caeser cipher?

A Caesar Cipher is a type of encryption.

  • They are the worst level of cipher

New cards
45

How does Caesar Ciphers work?

There are 2 main ways being:

  • Shift

  • Substitution

overall they work by replacing one letter with another being mainly how they work however the process of how its done is what changes.

A shift considers two sets of data with one being where one of the sets are SHIFTED so its not a one to one relation with these brand new values (even though it still is if even one is found) while a substitution will completely remove the order of a shift and entirely assign each to their own from this second set.

<p>There are <strong>2 </strong>main ways being:</p><ul><li><p>Shift</p></li><li><p>Substitution</p></li></ul><p>overall they work by replacing one letter with another being mainly how they work however the process of how its done is what changes.</p><p>A shift considers two sets of data with one being where one of the sets are SHIFTED so its not a one to one relation with these brand new values (even though it still is if even one is found) while a substitution will completely remove the order of a shift and entirely assign each to their own from this second set.</p>
New cards
46

What is a Vernam cipher?

A one-time pad cipher. Also being theoretically uncrackable.

New cards
47

What is a one-time pad cipher?

It means that for the cipher to properly work each key used along with the cipher should only ever be used once.

New cards
48

How does a Vernam cipher work?

  1. Aligning plaintext and corresponding key

  2. conversion of each part of plaintext to binary with use of ASCII or Unicode.

  3. Application of XOR to both sets

  4. then turning the represented binary back into the human legible ASCII, Unicode equivalent

<ol><li><p>Aligning plaintext and corresponding key</p></li><li><p>conversion of each part of plaintext to binary with use of ASCII or Unicode.</p></li><li><p>Application of XOR to both sets</p></li><li><p>then turning the represented binary back into the human legible ASCII, Unicode equivalent</p></li></ol>
New cards
49

What is meant by Computational Security?

It means that although a cipher might take a long time to crack it doesn’t say that it is not crackable unlike the vernam cipher. Meaning that the only requirement would be greater computing meaning that’s the only issue in the way of cracking such a cipher therefore.

Computationally Secure.

New cards
50

What is the difference between Signed and Unsigned binary?

Unsigned means that it cannot try to display a negative number.

Signed means that it HAS to display the type of number (positive or negative) at all times

Examples:

Unsigned — 5 + 4

Signed — +5 + + 4

New cards
51

How do you find maximum permutations with duplicates?

a^b

a — Total number of elements
b — Number of slots of which need to be filled

0 - 9 = 10 = a
4 digit lock = 4 = b

New cards
52

What is an absolute error?

The actual amount a value is inaccurate by which can be used to find the actual value.

New cards
53

What is a relative error?

A percentage proportionally describing the difference compared to the absolute error simply just providing the numbers.

<p>A percentage proportionally describing the difference compared to the absolute error simply just providing the numbers.</p>
New cards
54

How to calculate relative erorr?

Relative Error = (Measured Value - True Value) / (True Value) × 100

Multiplying by 100 isn’t a requirement but overall its more useful this way.

New cards
55

How to calculate absolute error?

Absolute Error = (Measured Value) - (True Value)

New cards
56

What is the difference between Fixed and Floating point?

Use of floating point binary allows for a greater and large range of bits compared to fixed point.

New cards
57

Considering floating point what are the 2 possible configurations?

  • Large Exponent, Small Mantissa — Large range but less precision.

  • Small Exponent, Large Mantissa — lighter range but more precision.

New cards
58

What is underflow?

Refers to that if the number trying to be represented in binary is just too small to be shown then this results in an underflow.

New cards
59

What is overflow?

Overflow triggers whenever the binary version of a number trying to be represented is too large. Overflow especially plays its part when it comes to signed binary.

New cards
60

What is the minimum number possible considering unsigned binary?

0

New cards
61

What is the maximum number possible considering unsigned binary?

2^n-1 (255 if dedicating 8 bits)

New cards
62

What makes 2’s Complement different?

The First number is always signed and is considered to be negative.

New cards
63

How do you subtract in 2’s complement?

  1. Convert the number being subtracted to negative

  2. then simply add both numbers together

New cards
64

What is the mantissa?

The actual binary number

New cards
65

What is the exponent?

Simply just the location of the decimal in the binary number

New cards
66

What if the exponent is positive?

It means that the decimal point should move right

New cards
67

What if the exponent is negative?

it means that the decimal point should move left

New cards

Explore top notes

note Note
studied byStudied by 37 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 50 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 59666 people
Updated ... ago
4.9 Stars(331)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 79 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 26 people
Updated ... ago
5.0 Stars(2)

Explore top flashcards

flashcards Flashcard282 terms
studied byStudied by 42 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard100 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard44 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard243 terms
studied byStudied by 88 people
Updated ... ago
5.0 Stars(3)
flashcards Flashcard23 terms
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard66 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard79 terms
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)