Organization and structure of data Flashcards

1
Q

what is the denary system

A

it is a number system with a base value of 10. it counts in multiples of ten

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

what is the binary system

A

a number system with a base of 2 it counts in the multiples of 2

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

define bit

A

the unit of memory that is used to store a binary digit

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

define nibble

A

the unit of memory that is used to store 4 binary digits

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

what is an overflow error

A

an error that occurs when the maximum storage capacity of a register is exceeded

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

what is a character set

A

it is a complete set of all characters along with their codes

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

how many bits represent a character in ASCII code

A

7

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

how many different characters are represented in ASCII code

A

127

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

how many bits represent a character in extended ASCII code

A

8

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

How many different characters are represented in Extended ASCII code

A

256

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

How many different characters are represented in Unicode

A

several billions of characters

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

How many bits represent a character in Unicode

A

8 - 32

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

Which of the these is the industrial standard for encoding characters: ASCII, extended ASCII, Unicode

A

Unicode

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

True or False: ASCII codes also represent characters used in European languages

A

False. ASCII codes represent characters used in English only

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

True or False: Extended ASCII codes also represent characters used in European languages

A

True

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

True or False: ASCII codes for the characters and symbols remain unchanged in Unicode

A

True

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

True or False: Unicode allocates character codes for English and European languages only

A

False. Unicode allocates character codes for languages all over the world

18
Q

What is data structure

A

A collection of data structured together in a specific format is called a data structure

19
Q

Why are variables not enough for real-life programming

A

Real-life programs need to handle tens of thousands of pieces of data. To handle large amounts of data, it is impossible to store each piece of data in a separate variable

20
Q

List a few types of data structures

A

Linear and non-linear
Homogenous and non-homogenous
Static and dynamic

21
Q

State a few characteristics of arrays

A

Arrays are linear, homogenous and static data structures

22
Q

True or False: All the data elements in an array should be of the same data type

23
Q

What programming structure is used to input and output data in arrays

24
Q

What is an analogue signal

A

Information in the form of continuous varying data is an analogue signal

25
What is sampling
Sampling is the process that converts analogue sound into discrete digital data that can be stored in a computer
26
What factors affect the audio quality of digital sound
Sampling rate, bit depth and bit rate
27
What is a sampling rate
The sampling rate is the number of samples taken per second
28
True or false: The higher the sampling rate, the higher the sound detail
True
29
What is bit depth
Bit depth is the number of bits available for each sample
30
What is PCM
PCM is the process for digitizing a sound file and creating an uncompressed file
31
What is a bit rate
Bit rate is the number of bits of data used to store data sampled every second
32
How is the bit rate calculated
Bit rate=Sampling rate × bit depth × channels
33
True or False: The more the bit rate the higher the file size
True
34
How is a file size of an audio file calculated
File size (bits) =bit rate× number of seconds
35
What are vectors
A type of image that uses coordinates and geometrical shapes such as lines and curves to define an image
36
What happens to image quality when vectors are scaled
Image quality is not lost
37
How are vector images displaye
A vector image is rasterised or converted to a grid of pixels for display
38
What is colour depth
Colour depth is the number of bits used to indicate different colours of a pixel
39
True or False: With the increase in colour depth, the size of the file decreases
False. With the increase in colour depth, the size of the file also increases
40
What is resolution
Resolution is the number of pixels or dots in a unit