computer systems (CS) Flashcards

1
Q

how do you calculate the range of positive integers using n bits

A

from 0 to (2^n) - 1

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

what is the range of 8 bit positive integers

A

0 to 255

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

how do you calculate the range of both positive and negative integers using n bits

A

from (-2^n-1) to (2^n-1 -1)

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

what is the range of 8 bit positive and negative integers

A

-128 to 127

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

convert 10101111 to denary using two’s complement

A

-81

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

convert -108 to binary using two’s complement

A

10010100

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

what is floating point representation

A

a way to represent real numbers

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

what does the exponent do in floating point representation

A

indicates how many places the binary moves from left to right

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

how is the floating point binary number typically stored

A

1 bit for sign
fixed bits for mantissa (16)
fixed bits for exponent (8)
they are all stored together

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

what does increasing the mantissa size do

A

it increases the precision but decreases the range

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

what does increasing the exponent size do

A

increases the range but decreases the precision

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

what is the fetch execute cycle

A

the process where an instruction is retrieved from memory, decoded and carried out

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

what are the steps in the fetch-execute cycle

A
  • the processor sets up the address bus with the required address
  • the processor activates the read line on the control bus
  • an instruction is fetched from the memory location using the data bus and stored in the instruction register
  • the instruction in the instruction register is then interpreted by the decoder and carried out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what are the 4 factors affecting system performance

A

number of cores, width of data bus, cache memory and clock speed

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

how does the number of cores affect performance

A

more cores allow more instructions to be processed at once, dual-core is slower than quad-core

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

how does the width of the data bus affect performance

A

a wider bus transfers more data at once improving performance

17
Q

what is cache memory

A

fast memory near the processor, improves efficiency by storing frequently used instructions

18
Q

what is clock speed

A

the number of cycles per second, higher speed = more instructions per second

19
Q

what does the computer misuse act 1990 cover

A

protection of computer systems + data from misuse or criminal activity

20
Q

what are the offences under the computer misuse act

A
  1. unauthorised access to computer material
  2. unauthorised access with intent to commit further offences
  3. unauthorised modification of programs and data
21
Q

what are cookies in terms of security risks

A

small files used to rack user activity and raise privacy concerns

22
Q

what are impacts of a denial of service (DoS) attack

A

slows systems, blocks access, disrupts operations, cause loss of revenue

23
Q

what is a asymmetric encryption

A

uses a public key to encrypt and a private key to decrypt

24
Q

what is the role of a certificate authority

A

confirms the authenticity of websites and verifies identity

25
How do smart heating systems save energy?
Use sensors and automation to only heat when necessary.
26
How do traffic control systems reduce emissions?
Use smart sensors/signals to prevent stop-start traffic.
27
What do engine control units (ECUs) do?
Monitor air/fuel ratio for efficient combustion and lower emissions