REV Flashcards

1
Q

What are the four layers of the TCP/IP stack?

A

Application layer
Transport layer
Internet layer
Link Layer

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

What does TCP/IP

A

Transmission Control Protocol/Internet Protocol

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

What is the function of the application layer?

A

The application layer specifies what protocols need to be used

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

What is the role of the transport layer?

A
  1. Splits up data into packets
  2. Establishes end-to-end connection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is the role of the internet layer?

A

Links the routers

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

What is the function of the link layer?

A

Adds the MAC addresses to the packets

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

What does the Memory Address Register do?

A

The MAR holds the address of a location that is to be read from or written to

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

What does the Memory Data Register do?

A

The MDR Temporarily stores data that has been read or data that needs to be written.

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

What happens during the fetch phase?

A
  1. The address from the PC is copied to the MAR
  2. Instruction held at that address is copied to the MDR by the data bus
  3. PC is incremented by 1
  4. The value of the MDR is copied to the CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain the Von Neumann Architecture

A
  1. Shared memory space for instruction and data
  2. Can only perform one instruction at a time
  3. Registers are used for fast access to instructions and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain the Harvard Architecture

A
  1. instruction and data stored in separate memory units
  2. Each has its own bus
  3. Reading and writing data can be done at the same time as fetching an instruction
  4. used by RISC processors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the similarities and differences between paging and segmentation?

A

Both are used when RAM space is insufficient

Paging uses equal-sized sections called pages

Segmentation uses variable-sized logical sections called segments

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

What are the stages of compilation?

A

Lexical analysis
Syntax analysis
Code generation
Optimisation

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

What happens during lexical analysis?

A
  1. Whitespaces and comments are removed from the code
  2. remaining code is turned into a series of tokens
  3. symbol table is created to keep track of the tokens
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What happens during syntax analysis

A

syntax analysis will produce an abstract syntax tree that checks that the code written has valid syntax

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

What happens during code generation?

A

compiler converts the results syntax analysis stage into object code

17
Q

What happens during optimization?

A

insignificant bits are removed

18
Q

Explain the stages of the interrupt service routine ISR

A
  1. Interrupt register checked at the end of each F-D-E cycle
  2. If there is an interrupt with a higher priority the current contents of the register in the CPU are transferred into a stack.
  3. The relevant ISR is loaded into RAM
  4. A flag is set to signal the ISR has begun
    flag is reset when ISR has finished
  5. The F-D-E cycle renews as before
19
Q

What are agile methodologies?

A

A collection of methodologies which aim to improve the flexibility of software development

20
Q

What is Immediate addressing?

A

The operand is the actual value upon which the instruction is to be performed

21
Q

What is direct addressing?

A

The operand gives the address which holds the value upon which the instruction is to be performed

22
Q

What is Indirect addressing?

A

The operand gives the address of a register that holds another address,
where the data is located.

23
Q

What is Hashing?

A

A technique used to store and retrieve data in a table by using a unique key. it is used to speed up searches and comparisons

24
Q

What is a Relational database?

A

a relational database is a type of database that stores data in tables, which are related through common fields

25
Q

What is referential integrity?

A

Referential integrity is the process of ensuring consistency, as it makes sure that information is not removed if it is required elsewhere in a linked database

26
Q

What does atomicity (in ACID) mean?

A

A transaction will be processed completely or not at all

27
Q

What does consistency (in ACID) mean?

A

A transaction must maintain referential integrity rules between linked tables

28
Q

What does Isolation (in ACID) mean?

A

ensure that each transaction will be isolated and dealt with in a way that does not affect others

29
Q

What does durability (in ACID) mean?

A

Once a transaction has been executed it will remain, regardless of the circumstances

30
Q

What is the PageRank algorithm?

A

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

31
Q

Which acts concern the malicious use of computers?

A

The Computer Misuse Act 1990

32
Q

Which act protects people’s property online?

A

The Copyright, Design and patents act 1988

33
Q

Which act covers the use of personal data?

A

The data protection act 1998