Topic 14: Low Level Operations (Representing Real Numbers and Graphics) Flashcards

1
Q

Real numbers are stored using

A

floating point representation.

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

When storing very large numbers such as 678,904,321,345, it would become

A

0.678904321345 x 1012. The .678904321345 and 12 are converted to binary

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

Mantissa indicates the

A

details or precision of the number. E.g. 0.456 x 10^2 the mantissa is 0.456

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

Exponent indicates the

A

size or range of a number, so in 0.456 x 10^2 the exponent is 2

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

Graphics are stored in 2 methods which are

A

bitmap and vector

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

In a bitmap graphic each

A

pixel on the screen is represented by a binary number. Each pixel requires one bit of storage. An empty pixel =0 and filled pixel = 1

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

Pixel is short for

A

pixel element, tiny square on screen

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

A vector graphic is stored in a

A

mathematical format as a list of objects. Each object has attributes which can be edited

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

Typical object attributes are:

A

Line color, line width, fill colour, object dimensions

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

Translators,translate programs written using

A

english-like instructions. They are translated into machine code. Interpreters and compilers aid this process.

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

An interpreter

A

translates and runs code line by line, which is easier for sportting errors but means it runs slower

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

A compilers

A

translates the whole file at once, and creates a binary version of the file, it runs much faster.

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