Summer Exam Specific Flashcards

1
Q

What occurs during the fetch stage? (4 things)

A
  1. address from the program counter is copied to the memory address register
  2. the instruction held at that address is copied to the memory data register
  3. simultaneously the contents of the program counter is increased by 1
  4. the value of the memory data register is copied to the current instruction register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What occurs during the decode stage?

A

the contents of the CIR is split into opcode and operand, happens in the decoder

Addresses sent to MAR, Actual data to MDR or ALU/ACC

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

What occurs during the execute phase?

A

the opcode is executed on the data

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

What is the clock speed?

A

the number of clock cycles completed per second

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

What is cache memory?

A

the CPU’s onboard memory which can be accessed a lot faster than main memory

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

What is the function of the STA mnemonic?

A

to store the value in the accumulator at the given memory address

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

What is the function of the BRP mnemonic? (2 things)

A
  1. to branch to a given address if the value in the accumulator is positive
  2. it is a conditional branch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the function of the opcode? (2 things)

A
  • to specify the instruction to be performed and the addressing mode
  • the operand holds a value, related to the data on which the instruction is to be performed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the 4 addressing modes?

A

immediate addressing
direct addressing
indirect addressing
indexed addressing

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

What is a class? (2 things)

A
  • a template for an object that defines the state and behaviour of an object
  • on object is an instance of a class
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are 2 disadvantages of object orientated languages?

A
  1. requires a different style of thinking, which can be difficult for programmers accustomed to other paradigms to pick up
  2. generally unsuitable for smaller problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does ROM stand for?

A

read only memory

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

What is meant by the term non-volatile in storage?

A

information is not lost when power is lost

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

Is ROM volatile or non-volatile?

A

non-volatile

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

What are the 3 functions of the BIOS when running tests upon computer start up?

A
  1. POST which ensures all hardware is correctly connected and functional
  2. checks the CPU clock, memory and processor
  3. tests for external memory devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does POST stand for?

A

power on self test

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

Which of these scheduling algorithm are pre-emptive or non pre-emptive?

FCFS, SRT, SJF, MLFQ, RR

A

pre-emptive - RR, SRT, MLFQ

non-pre-emptive - FCFS, SJF

18
Q

What is an advantage of using multilevel feedback queues for scheduling?

A

hard to implement

19
Q

What is an advantage of using multilevel feedback queues for scheduling?

A

services most urgent interrupts first

20
Q

What is server side processing?

A

when a client sends information to a server for processing

21
Q

What is client side processing?

A

when information is processed on a local device

22
Q

What is the pagerank algorithm?

A

the algorithm used to determine the order, when showing web results for a search engine query

23
Q

What 2 factors determine a page rank?

A
  • the number of incoming links it has from other web pages
  • the page rank of the web pages that link to it
24
Q

What are protocols?

A

a set of rules defining how 2 devices communicate with each other

25
Why are protocols standard?
so devices from different manufacturers dont have problems communicating
26
What is the structure of the internet?
the internet is a global network of interconnected networks
27
What does TCP stand for?
transmission control protocol
28
What does IP stand for?
internet protocol
29
What is the function of the application layer during data transmission?
the application layer specifies what protocols need to be used, to relate the application to what it is being used for
30
What is the 2 roles of the transport layer during data transmission?
- to establish an end-to-end connection between the source and destination computer - to split up data into packets
31
What is the role of the network layer during data transmission?
adds the source and destination IP addresses
32
What is the function of the link layer during packet transmission?
adds the MAC addresses to the packet
33
What does the application layer do when it recieves data?
presents data in the form it was sent
34
What does the transport layer do when it recieves data?
removes the port number and reassembles the packets
35
What does the link layer do when it recieves data?
a network spread over a small geographical area or positioned on a single site
36
What is client-server networking? (2 things)
- a relationship between terminals (computer) and a single server, - which allows them to communicate and share resources
37
What are 3 advantage of client-server networking?
- increased security - central single backups - data and resources can be shared
38
What are 2 disadvantages of client-server networking?
- expensive to set up - trained staff are required to maintain the network
39
What is peer-to-peer networking?
a network where the terminals are all connected to each other to share resources
40
What are 3 advantages of peer-to-peer networks?
- cheaper to set up - easy to maintain - easy to share resources
41
What are 2 disadvantages of peer-to-peer networks?
- they can be used to contribute towards piracy - each computer has to be backed up independently