Fundamentals Of Data Representation Flashcards

1
Q

How many bits in a byte?

A

8

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

How many bytes in a Kilobyte)?

A

1,000

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

How many Kilobytes in a Megabyte ?

A

1,000

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

How many Megabytes in a Gigabyte?

A

1,000

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

How many Gigabytes in a Terabyte?

A

1,000

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

Add together these Binary Numbers:
1 1 0 1
1 1 0 1

A

11010

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

Add together these binary numbers:
1101
1101
0110

A

100000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
Convert 1011011010110111011011 into Hex.
Use this table to help:
Binary      	Hex
0	                  0
1	                  1
10	                  2
11	                  3
100	                  4
101	                  5
110	                  6
111	                  7
1000	          8
1001  	          9
1010	                  A
1011	                  B
1100           	  C
1101	                  D
1110	                  E
1111	                  F
10000	         10
100000	        20
1000000	40
10000000	80
100000000	100
A

2DADDB

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

What are the reasons you would compress data?

A
  • To reduce the amount of storage needed on a computer to save files.
  • To allow large files to be transmitted as an email attachment as many email services limit the size of a file.
  • Because it reduces the transmission time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the different methods of compressing data?

A

RLE - counting the numbers of letters in a sequence as they are seen.
aaaabbbbcbbbc
4a4b1c3b1c

Huffman Encoding - Reducing each letter that represents 7 bits to take up less space.

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

How is data compressed in RLE?

A

It counts the numbers of letters in a sequence as they are seen and writes them down.
aaaabbbbcbbbc
4a4b1c3b1c

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

How is data compressed using huffman coding?

A

It compresses each 7 bit letter to be smaller and take up less space. The more frequent the letter in the word/phrase the less bits it will take up.

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

Shift 100100 one place to the right

A

010010

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

Why would binary shift be used?

A

To divide and multiply binary. Left shift is multiply, Right shift is divide.
You multiply and divide using the placeholders.

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