Data Types Flashcards

1
Q

What are the main data types?

A

String
Boolean
Integer
Float

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

What is a string?

A

Alphanumeric characters such as, hat and fg7yu7

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

What is boolean?

A

Relative of king julian

One of two values, true or false.

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

What is an integer?

A

Whole number value with no decimal part for eg 6, -12

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

What is a float?

A

Number with a decimal or fraction.

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

What is metadata?

A

Info about the image that allows the computer to interpret the stored binary accurately to reproduce the image. Must contain width and height in pixels and the colour depth in BPP (Bits per pixel).

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

What is colour depth?

A

The number of bits used for each dot or pixel. The more bits, the greater the number of colours that can be represented.

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

What is resolution?

A

The number of pixels per unit on a screen for example dpi (dots per inch).

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

What is sample rate in sound?

A

The number of times the sound is sampled per second, measured in Hz (100hz is 100 samples per second).

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

What is bit rate?

A

Number of bits per given time period available for each sample measured in kilobits. 128 kbits uses 128kilobits for each second of sampled sound.

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

What is a operator?

A

A binary pattern that represents a machine-level instruction, for example an instruction to add a value to the accumulator.

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

What is the operand?

A

The data part and contains either a value to be dealt with or the information needed to locate the data to be dealt with. For eg it might be the binary value for a location containing the data to be used.

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