2.1.9 Data Representation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Bits

A

A small singular digit.

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

Byte

A

8 bits placed together.

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

Binary

A

A collection of 1s and 0s to store data.
Or
Format in which numbers are transmitted and calculated in a computer system.

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

Hexadecimal

A

Hexadecimal is a numbering system with 16 symbols. Base 16.

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

Denary

A

Ordinary numbers - base 10.

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

What are the levels of bytes?

A

Keep Calm = kilobyte
May = Megabyte
Geckos = Gigabyte
Take = Terabyte
Paris = Petabyte

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

What is a string?

A

“I love Java”

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

Integer

A

No decimal numbers.

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

Characters

A

Single characters

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

Types of characters?

A

Ascii or Unicode

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

How are colours stored?

A

Hexadecimal

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

What is a double?

A

Decimal 2dp

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

What is a float?

A

Decimals going on forever.

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

Boolean

A

True or False.

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

Which is the biggest for storing?

A

String

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

Which is the smallest?

A

Boolean

17
Q

Compare Hexadecimal and Binary

A

Hexadecimal is easier to read and requires less space.

18
Q

What is sign and magnitude?

A

When there is a sign representing positive or negative (0 = positive, 1 = negative.)

19
Q

What is two’s complement?

A

When there is a sign representing -128. (1 is negative, 0 is positive)

20
Q

How to convert positive to negative in two’s complement?

A

Change signs around
Add 1

21
Q

How to convert negative to positive in two’s complement?

A

Minus 1
Change Signs around.

22
Q

What is floating point?

A

Mantissa and Exponent
M and E
Used for decimals in binary.

23
Q

What is the Mantissa?

A

Actual Number

24
Q

What is Exponent?

A

Position of decimal point.

25
Q

If the mantissa or exponent start with one it is a…

A

negative