Computer architecture Flashcards

1
Q

what does the mantissa store

A

The precision of the number

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

what is 11101011

A

215

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

what is 127 in binary code

A

01111111

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

what does the exponent store

A

the range of the number

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

if you had the number 6.0968796876897 x 10 to the power of 17 what would the exponent be

A

17

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

if you had the 6.0968796876897 x 10 to the power of 17 what would the mantissa be

A

6.0968796876897

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

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

A

Each character is given an 8-bit ASCII Code.

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

how do vector graphic photos store pictures

A

Vector graphics store a picture by storing each objects attribute

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

how is a rectangle stored using vector graphics

A

height, width, x, y, fill colour, line colour

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

how is an ellipse stored using vector graphics

A

cx, cy, rx, ry, fill colour, line colour

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

how is a line stored using vector graphics

A

x1, y1, x2, y2, line colour

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

how is a polygon stored using vector graphics

A

x1, y1, x2, y2, x3, y3, fill colour, line colour

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

how are bit mapped photos stored

A

in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image

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

what is the purpose of the control unit

A

controls the sequencing of fetching, decoding and executing instructions.

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

what is the purpose of the arithmetic logic unit (ALU)

A

performs all calculations and logical operations

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

what is the purpose of registers

A

temporarily stores memories within the processor

17
Q

why are memory locations given a unique address within RAM

A

so that the computer can read and write data to that location correctly

18
Q

what are the two different types of buses

A

Address bus and Data bus

19
Q

what is the function of the Address bus

A

this identifies the memory location that is going to read from or written to.

20
Q

What is the data bus

A

the transfers data between the memory and the memory and vice-versa

21
Q

what are the two types of translators used to translate high level language to binary

A

compiler and interpreter

22
Q

how does an interpreter translate High Level Language to computer code

A

translates the program one line at a time into machine code and executes immediately. Machine code is not retained, so must be translated each time.

23
Q

how does a compiler translate High Level Language to computer code

A

translate whole program, and then save machine code version. Translate code can be run again, and again.

24
Q

what is a compiler good for

A

translating programs that are already ready for release

25
Q

what is an interpreter good for

A

testing the translated could to make sure their are no errors within the code

26
Q

How many computer systems are in use around the world

A

2 billion

27
Q

what are three ways that we can reduce energy usage by altering settings on your monitor

A

reduce your brightness, activate efficiency mode, use an energy efficient monitor

28
Q

what is one way the we can reduce energy usage using power down settings on a monitor

A

making sure that your computer powers down after a period of time

29
Q

how is leaving computers o standby good for reducing energy usage

A

it limits the energy consumed by the computer during standby

30
Q

what is the role of a firewall

A

A firewall prevents hackers from accessing the computer by deciding whether or not they should be gained access based on incoming data packets against a set of rules

31
Q

everything that is stored in a computer is stored using what

A

Binary

32
Q

what are the mantissa and the exponent stored as

A

Two separate numbers

33
Q

What is the relationship between the amount of bits used to store the mantissa and the precision of the number

A

The greater number of bits used to store the mantissa the more precise the number will be

34
Q

What is the relationship between the amount of bits used to stow the exponent and the range of the number

A

The greater number of bits used to store the exponent the greater the range of numbers can be represented