Data Representation Flashcards

1
Q

What base system is binary?

A

Binary is a base 2 system

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

What base system is denary?

A

Denary is a base 10 system

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

What base system is hexadecimal?

A

Hexadecimal is a base 16 system

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

What is a bit?

A

A bit is the smallest unit of all computing memory storage terms

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

How many bits is each ASCII character represented by?

A

7 bits

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

How many bit is each Unicode character represented by?

A

16 bits

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

How do you convert from denary to hexadecimal?

A

Divide the number by 16 and whatever that value is write that in hex, then add the remainder as the second digit (if the number is too large use the powers of 16)

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

How do you convert from binary to hexadecimal?

A

Divide the byte into 2 nibbles and then write each nibbles value in hex and join the values

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

What is a computer register?

A

A computer register is a small, but very fast piece of memory. It can have 8,16 or 32 bits (all calculations in computers are performed by registers)

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

Why do computers use binary to represent data?

A

As binary is stored as 1’s and 0’s it offers a simple and efficient way to control logic circuits

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

Why is hexadecimal used by programmers instead of binary?

A

It is used as it is easier to write and remember and people are less likely to make errors when using it

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

What is ASCII used for?

A

ASCII is used to represent characters (it does this through encoding 128 characters into 7 bit binary codes)

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

What are 4 types of variables?

A

Integers, chars, strings, booleans

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

What are bitmap images made up of?

A

Bitmap images are made up of pixels

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

What is a pixel?

A

A pixel is the smallest identifiable area of an image

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

How are bitmap graphics created?

A

Bitmap graphics are created using a grid of pixels where each pixel is given a colour value

17
Q

What is resolution?

A

The concentration of pixels within a specific area ( it is measured by the image height and width in pixels)

18
Q

What is colour depth?

A

Colour depth is the number of bits used to represent each colour (to the find the number of colours you do 2 to the power of the the colour depth)

19
Q

How do you calculate the file size of a bitmap image in bits?

A

Width X height X colour depth

20
Q

What is metadata?

A

Metadata is data about data. It is information other than image data that is stored with a file such as it’s colour depth and date created

21
Q

How does lossy compression work?

A

Lossy compression reduced the file size by permanently removing some of the original data and recreating the file using the remaining data by using algorithms to guess the removed content, this greatly reduces the file size but reduces the image quality

22
Q

How does lossless compression work?

A

Lossless compression works by removing unnecessary metadata and averaging out pixel colours. This leads to less file size reduction but greater image quality

23
Q

How is sound digitized?

A

Sound is digitised by sampling the sound wave thousands of times per second and converting the samples to binary

24
Q

How can recording quality be increased?

A

By increasing the frequency of samples taken and measuring the waves amplitude more accurately

25
What is a sample?
A sample is when a sound waves amplitude is measured
26
What are MIDI files?
MIDI stands for Musical Instrument Digital Interface and is a file with a set of instructions for digital instruments to play synthesised sounds
27
How does the two’s complement work?
The twos complement works by counting the first bit in a byte as -128 and then the rest of the bits are positive number, you can use this to achieve a negative number using binary
28
What is the purpose of file compression?
To reduce file size
29
What are some benefits of compressing files?
Increased download speeds, enables better streaming of music and video
30