Data representation Flashcards

1
Q

Why do computers use binary ?

A
  • Computers only recognise one and zero
  • It is à base to the number system
  • incredibly efficient and effective way of storing information in a computer system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the bit pattern ‘01000111’ represent

A
  • The binary number of 71
  • ASCII character ‘G’
  • a single pixel of colour in an 8-bit depth colour-depth bitmap
  • part of a digital sound file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the decimal base system range from ?

A

0-9

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

what does the binary base system range from ?

A

1,0

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

What does hexadecimal range from ?

A

0-9 , and A-F

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

When we use binary left shift what does the bit multiply by ?

A

By a factor of 2

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

In binary right shift what does the number divide by ?

A

2

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

How many bits do characters(letters) take up?

A

128/7Bits

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

What is a character set?

A

A defined list of characters defined by the hardware and software

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

What does ASCII stand for ?

A

American Standard Code For Information Interchange

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

How many bits did ASCII have for character sets?

A

7Bits / 128

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

How many bits does extended ASCII have ?

A

8bits/256

Due to foreign languages and useful efficient graphic symbols

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

In ASCII what are characters 0-31 reserved for ?

A

Special characters and instructions for the computers

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

What is Unicode?

A

Used for all the languages and emojis

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

How many bit character set does Unicode have ?

A

24bit
However hexadecimal is used because 6digits in hexadecimal = 24 bits in binary .
Remember 1 nibble = 1hex digit

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

What is metadata ?

A

Additional data stored with the image such as width ,height ,colour depth of the image

17
Q

In bitmap images not only does the metadata need to be stored but also …

A

The colour palette

18
Q

How do you convert hex to decimal?

A

In hex moving right to left place values multiplied in powers of 16
To convert from decimal to hex divide by 16

19
Q

How are images stored ?

A

As a series of pixels

20
Q

What is the colour depth ?

A

The colour depth is the number of buts used for each pixel

21
Q

How do you work out how many colours there are in an image ?

A

Total number of colours = 2(subscript)n (number of bits per pixel)

22
Q

What is the image resolution ?

A

The image resolution is the number of pixels in the image. it sometimes given as width x height .The higher the resolution , the more pixels the image is made of , so the better quality of the image .

23
Q

How to work out how many bits an image will take up

A

File Size=image resolution x colour depth x =width x height x colour depth

24
Q

How is sound recorded as ?

A

Sound is recorded by a microphone as an analogue signal.
Analogie signals are piece of continuously changing data.
Analogue signals need to be converted into digital data so that computers can read and store sound files

25
Q

Why might you want to compress data

A
  1. Smaller files take up less storage on a device
  2. streaming and downloading files from the internet is quicker as they take up less bandwidth
  3. allows web pages to load quicker
  4. email services have restrictions on the size of attachments you can send , thus compressing them permits you to send the same content but in a smaller size.
26
Q

What are the differences between lossy and lossless compression?

A
  1. Lossy compression works by permanently removing data from the file , which essentially limits the bits the file needs and so reduces its size
  2. Lossless compression makes the file smaller by temporarily remo g the metadata and restoring it when the file is opened
27
Q

Why might you want to use lossy compression?

A
  1. greatly reduced file sizes,meaning more files can be stored
  2. less bandwidth is required to stream