Chapter 1 Flashcards

Data Representation (23 cards)

1
Q

benifits of bcd

A

-more straightforward to convert between bcd and denary
-less complex to encode and decode for programmwrs
-easier for digital equipement to use bcd to display information
-can display monetary values exactly

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

Applications of BCD

A

-Electronics displays (calcs, digital clocks) only need to showindividual digits, conversion between denary and bcdeasier.
-storage of date and time in BIOS in PC, conversion with denary easier

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

Applications of hexademical

A

-MAC Address
-HTML color codes
-can be used to refer to memory address in assembly language and in machine code

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

ASCII representation

A

-each character has a unique code
-character is replaced by its corresponding code
-codes stored in same order as in the word

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

Character Set (Asci, Unicode, Extended Ascii)

A

-all characters that a computer can represent/use
-each character has a unique corresponding binary number

SIMILARITIES
-All can use 8 bits
-Ascii is a subset of unicode
-each represent a character using a unique code

Differences
-Unicodee can represent multiple languages with a wider range than Ascii
-Ascii- 7 bit, extended Ascii-8 bit Unicode- 16 bit

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

Bitmap Graphics

A

-made up of pixels each of a single color (each color with unique binary
-stored as a sequence of binary numbers(store binary value of each pixel)
-prone to pixelation when enlarged
-larger file size=larger data stored on each pixel
-can be compressed significantly
-more difficult to edit, each pixel needs to be edited seperately

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

Pixel

A

-The smallest addressable element in an image

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

File Header

A

-stores metadata about bitmap image (color depth, image resolution)
-can store file type, compression type dimensions(width x height), file size

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

Image Resolution

A

-total number of pixels in an image(no. pixels in width x no. pixels in height)
-Increasing resolution, more pixels stored ,sharper image

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

Bit-depth/color depth

A

-the numbr of bits used to represent each color//bits per pixel
-determines numbers of colors that can be represented in an image
-increase in bit depth, has greater range colors, closer to original, larger file size
-

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

Vector Graphics

A

-Encoded as a series of geometric shapes
-stored coordinates of drawing objects in image
-cotains drawing list (commands for creating each individual objects and their attributes)

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

Sound Representation

A

-Amplitude is recorded a set number of times in a second
-each amplitude is given a unique corresponding binary value
-binary value save din a sequence

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

Sampling

A

-taking measurements at regular intervals and storing them

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

Sampling Rate

A

-number of samples taken pen unit time

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

Effect of increasing sampling rate

A

-sound recorded more often//small gaps between sound waves and samples
-reduces quantisation errors
-improves accuracy, digital waveform represents analogue waveform more closely
-Increased file size, more total sample taken, so more bits take up storage

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

Sampling Resolution

A

-Number of bits used to store each sample

Effect of increasing sampling resolution
-more bits per sample
-more amplitudes can be represented
-file size increases
-digital waveform is closer to original (accuracy)
-smaller quantisation errors

16
Q

Analogue data

A

A variable, data value that is constantly changing

16
Q

Compression Reasons

A

-reduces file size and takes up less space in memory (more space for other files)
-faster upload downdload rate, reduced transmission time for from/to web
-less badwidth used to transmit
-orginal may be too large to send via email attachment

17
Q

Lossy Compression

A

-orginal data lost and cannot be reconstructed (cannot be done in text file)
-if used in text file it would corrupt (all data required otherwise no sense would be made)
-videos have lower resolution will buffer less if being streamed real time, lowers bandwidth required to transmit
-used when all data is not required, quality can be reduced without user noticing, or if a significant reduction in file size is needed

17
Q

Lossless compression

A

-Original data is preserved
-Used when all data is needed, file needs to be fully restored, a high quality video/image needed, or it is already a relatively small size

18
Q

Compressing sound files

A

-reduces amplitude range to only range thta is used (reduces bits needed to store each ample)
-RLE, consecutive sounds group (binary value of sound recorded with amount of time it has been repeated)
-record only change sin sound, not actual sound

19
Q

Compressing Image files

A

Lossy
–reducing bit depth, reduces number of bits used to store each color (each pixel has fewer bit)
-reduce number of colors (reduces number of bits needed to store each color)
-reduce resolution-fewer pixel all togather(less binary to store)

Lossless
-RLE replaces sequences of same color pixels, with color code and number of identical pixels

20
Q

RLE

A

-identifies sequences of repeated characters and replaces them with a copy of character and number of times it occured

RLE limitations
-works by storing a color and number of time sit occures consecutivelu, there may not be many sequences of the same color
-it would store each color and then count, which only adds to file size
-eg RBG would be R2 G1 B1