test Flashcards

(5 cards)

1
Q

Explain how a computer would represent a positive integer

A

Integers are whole numbers (e.g. 5, 87, 200).
Computers can only work with binary values (1s and 0s).

Integers can be represented by a binary numbers.

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

Describe floating point representation in terms of the mantissa and exponent

A

To store a real number the computer moves the decimal point to the left hand side.
The number is then stored in 2 parts, the mantissa and the exponent.

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

Describe how extended ASCII (8-bit) is used to represent characters

A

ASCII uses 7 bits and can represent 128 different characters.
Extended ASCII uses 8 bits and can represent 256 characters.

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

Describe the vector graphics method of graphic representation

A

Vector graphics represent images using shape objects.
Each object has attributes which describe how it is to be drawn.

Shape objects include:

rectangle
ellipse
line
polygon (e.g. pentagon, hexagon)
The attributes which describe the shape object include:

co-ordinates
fill colour
line colour

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