Computer Systems Flashcards

Binary, processor, Interpreters, encryption, firewall (23 cards)

1
Q

Describe a compiler translator

A

Translates source code all at once into machine code, it won’t identify errors, but it means the translator program is no longer needed. Is very quick as well.

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

Describe an interpreter translator

A

Translates source code one line at a time and reports errors immediately, is good for testing programs during development. However it is quite slow.

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

What does the data bus do?

A

Carries data or instructions to and from the processor after getting instructional data from the memory or opposite way round. Its bi-directional

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

What are the two types of translators?

A

Interpreter and compiler

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

How do Firewalls work and what do they do?

A

Firewalls monitor incoming and outgoing data packets, they have rules to block certain packets based on sender or receiver address, port or contents. A firewall protects a network against unauthorised access.

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

What does the ALU (Arithmetic and Logic Unit) in the processor do?

A

Comparisons, mathematical and logical calculations.

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

How could you reduce energy usage?

A

Monitor: - lower the brightness
- standby mode

Power down the computer when not in use

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

What is encryption?

A

“the process of scrambling data with a key so it can’t be read again without it”

Encryption scrambles stored files and data that is being transmitted over a network.

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

What do bitmap graphics do?

A

store images as a 2D array

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

What 2 types of encryption are there?

A

Asymmetric encryption and symmetric encryption

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

What is Asymmetric encryption?

A

Has 2 keys and is used to communicate over a distance, relies on a public and private key.

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

What is Symmetric encryption?

A

Has 1 key and is used when it is easy to share the key securely.

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

Describe computers, what are they?

A

Binary devices that take in an input, process it and output it as new information.

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

What are the 2 different memory’s?

A

RAM and ROM

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

What is RAM?

A

Random Access Memory,
RAM is:

  • a block of storage locations connected to the processor by the data bus and address bus
  • used to store data, programs and the operating system
  • volatile meaning its contents are cleared when it has no power i.e. the computer is switched off
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is ROM?

A

Read Only Memory,
read only

16
Q

What does the address bus do?

A

Carries a memory address from the processor to the memory controller, allowing the processor to access a particular location in memory. It’s uni-directional.

17
Q

What is the mantissa and exponent in this?:
3 x 10^8

A

Mantissa: 3
Exponent: 8

18
Q

What is binary/machine code?

A

Easy to represent, does not get affected by degradation.

19
Q

What do vector graphics do?

A

Store images as a series of instructions, describing their objects and attributes.

20
Q

What are some vector attributes?

A

Co-ordinates
line colours
fill colours
size

21
Q

What is bit depth?

A

Bit depth defines the number of bits used per pixel, therefore the number of colours that can be represented.

22
Q

What are bit-mapped graphics?

A

There are 3 examples, such as:
- JPEG
-GIF
-PNG

Stored in a grid of pixels, each pixel gets its own binary number that corresponds to its colour.