3.3 Fundamentals Of Data Representation Flashcards

1
Q

How is binary used by computers ?

A
  • binary is used by computer to represent all data and instructions, as 0’s and 1’s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the different magnitude of bits ?

A

Bit - 0 or 1
byte - 8 bits
kilobyte - 1000 bytes - kB
megabyte - 1000 kilobytes - MB
gigabyte - 1000 megabytes - GB
terabyte - 1000 gigabytes - TB

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

What are the uses of hexadecimal ?

A

Hexadecimal numbers are shorter and easier to read and remember, and quicker to type:
- MAC addresses
- memory addresses locations in assembly language
- colour values in HTML

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

What is the effect of a binary shift ?

A
  • shift to the left multiplies the number by 2
  • shift to the right divides the number by 2
  • problems can occur when an odd number is divided, a standard byte cannot represent fractional number, this can cause one or more 1’s being lost at the right side, causing a loss of accuracy called an underflow error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a character set ?

A

A character set consists of all the letters, numbers and special characters that can be recognised by a computer system

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

What is ASCII and Unicode ?

A

ASCII - uses 7 Bits per character meaning there can be a total of 128 characters, all of which is taken up by the English language
Unicode - uses 16 bits per character meaning it can represent over 65,000 characters, which can represent characters of all international languages and emojis

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

What is a pixel?

A

A pixel is the smallest identifiable and addressable part of an image, each one representing a single colour

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

What is the colour depth of an image ?

A
  • number of bits used to represent each pixel
  • 2 to the power of colour depth can tell you how many colours can be represented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the effect of colour depth on the file size

A
  • the greater the colour depth, the greater the quality of the image as more colours can be represented
  • the greater the colour depth, the more bits needed to be stored to represent each pixel, increasing the file size
  • file size = width x height x colour depth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is sound stored on a computer ?

A

sound is analogue - its sound waves are continuously changing, however anything stored on a computer must be stored digitally as a series of binary numbers, therefore sound needs to be converted into digital form before it can be stored, this is done by sampling the amplitude of the sound wave and storing these samples as binary values

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

What is the sampling rate ?

A
  • the frequency at which you record the amplitude of the sound ie the number of samples per second
  • measured in hz
  • the higher the sample rate, the better quality the playback sound will be
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the sample resolution ?

A
  • the number of bits used to store a sample
  • the greater the sample resolution, the amplitudes of the sound are more accurately represented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to calculate the size of an audio file ?

A

File size = sample rate x sample resolution x duration (s)

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

What is data compression ?

A

Compression software uses algorithms to remove repeated or unnecessary data, to reduce the amount of bits/bytes needed to store the file

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

Why is data compressed ?

A
  • reduce the amount of storage needed to save files
  • allows large files to be transmitted easier as email attachments to meet attachment limits
  • files can be transmitted quicker, streamed video content can be downloaded and uploaded faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is lossy compression ?

A

Lossy compression - data compression method where files are compressed by removing some detail
+:
- greatest reduction in file size
- least transmission times
-:
- detail is lost permanently

17
Q

What is lossless compression ?

A

Lossless compression - data compression method where no data is lost
+:
- original quality is preserved
-:
- file size reduction is less

18
Q

What is huffman encoding ?

A
  • compression tequnique to reduce the number of bits used to represent each character in a body of text
  • a tree is formed using the most frequent letters at the top, so less binary digits are required, reducing file size