Chapter 1 Data Representation Flashcards

1
Q

What does hexadecimal do

A

Represents large amounts of binary data in a more manageable and readable format.

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

Why is using Hexadecimal beneficial (3 points)

A

1) Takes fewer digits to represent binary.
2) easier to read.
3)numbers with more bits are more prone to errors.

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

What are Logic Gates

A

electronic devices that perform logical operations on binary data

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

What is the use of logic gates

A

used to process binary data by applying Boolean Logic

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

What are binary shifts

A

used to multiply or divide binary

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

Why is binary useful

A

converts any form of data into binary in order for it to be processed by a computer

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

What is text

A

collection of characters

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

What is a character set

A

collection of characters that correspond to binary codes that represents them

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

How does ASCII work

A

assigns a unique 7-bit binary code to each character.

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

How does UNICODE work

A

uses variable length encoding assigning unique codes to each character.

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

what is a disadvantage of ASCII

A

does not support other languages other than english

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

What is a disadvantage of UNICODE

A

Requires more bits per character -> causing larger file sizes and slower processing times

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

What is sampling

A

How sound is converted into digital form

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

What are 2 ways to increase the quality of a sound

A

1) increasing the sample rate
2) increasing the sample resolution

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

What is Sample rate

A

Number of samples per second

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

What happens when increasing sample rate

A

the quality of the sound increases, but the file size increases

17
Q

What is sample resolution

A

number of bits per sample

18
Q

What happens when increasing the sample resolution

A

The quality of the sound increases, this allows for a more accurate data representation of sound, but increases the file size.

19
Q

What are 2 types of sound files

A

1) MIDI
2) MP3

20
Q

What are the features of MIDI file

A

1) stores a set of instructions
2) does not store actual sounds
2)data in the file has been recorded using digital instruments.

21
Q

What are the features of MP3

A

1) format for digital audio
2) actual recording of the sound
3) recorded using a microphone

22
Q

formula to find resolution

A

width x height

23
Q

how to find colour depth

A

2^of how many colours there are

24
Q

how to find total number of bits

A

number of pixels x colour depth

25
how to find number of bits per second
sample rate x sample resolution = num of bits per second
26
What is colour depth?
Number of bits representing a colour
27
What is resolution
Number of pixels in an image
28
What happens when increasing colour depth
more realistic image but needs more storage space
29
What happens when increasing the resolution
increasing resolution allows for a clearer image but a needs more storage
30
Why does the file size increase when the image resolution and colour depth increase?
More pixels and colours require more binary data to represent them.
31
What is an overflow error
when the binary addition exceeds the maximum value that can be represented.
32
What happens if a binary number shifts to the left
multiplication to a power of 2
33
What happens if binary shifts to the rights
division to a power of 2
34
what is the use of hexadecimal
- error codes - mac address - nic (network interface card) - colour codes - blockchain hash - ipv6