computer systems Flashcards

1
Q

define the term hardware

A

the physical components of a computer system

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

define the term software

A

The instructions or programs that run on hardware

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

what is the logic gate for NOT

A

one input, triangle and circle to one output

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

what is the logic gate for OR

A

two inputs, bendy triangle to one output

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

what is the logic gate for AND

A

two inputs, rounded rectangle to one output

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

what is the logic gate for XOR

A

two inputs, bendy triangle with lining to one output

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

what represents the AND gate

A

.

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

what represents the OR gate

A

+

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

what represents the XOR gate

A

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

what represents the NOT gate

A

overbar

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

what is system software

A

Manages / controls computer hardware

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

what is application software

A

application software is software that performs end-user tasks.

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

what are the 5 main things that the operating system manages?

A

processors, memory, input/output, application, security

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

what type of architecture is the CPU in

A

von neumann architecture

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

what are the main components of the CPU

A

arithmetic logic unit
control unit
clock
register
bus.

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

what are the 3 factors that affect the performance of the CPU

A

clock speed
number of cores
cache size

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

explain the fetch-execute cycle

A

fetch: the next instruction is fetched to the CPU from main memory
decode: the instruction is decoded to work out what it is
execute: the instruction is executed (carried out). This may include reading/writing from/to main memory.

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

what is the aim of the fetch-execute cycle

A

The CPU continually reads instructions stored in main memory and executes them as required

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

what are the 4 different types memories in a computer

A

RAM
ROM
Cache
Register.

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

what is the full from of RAM

A

random access memory

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

what are the features of RAM

A

volatile(all data is lost when power is lost), faster to access, more expensive per unit,

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

what is the full form of ROM

A

read only memory

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

what are the features of ROM

A

non volatile, content cant be changed easily, stores small programs to boot/ start up the computer, fast but expensive,

24
Q

what is the use of RAM (3 marks)

A

RAM is the volatile short-term memory that stores data whilst the computer is in use. The memory is lost when the computer is switched off.

25
Q

what is the use of ROM and give an example (3 marks)

A

ROM is a non-volatile long-term memory that stores data that the computer needs to run, e.g. the operating system

26
Q

what is the main memory

A

any form of memory hat is directly accessible by the CPU

27
Q

what is secondary storage

A

Secondary storage is considered to be any non-volatile storage mechanism not directly accessible by the CPU.

28
Q

what are the 3 types secondary storage

A

solid state, optical and magnetic

29
Q

how do SSDs persistently store data?

A

through electrical logic gates and circuits

30
Q

how does a SSD get data from the memory

A

has a disc that spins very quickly. There is a read/write head that moves across the disc. The disc has tiny sectors which can be magnetised, they have magnetic polarity. This magnetic polarity can be read as 1s and 0s. Those 1s and 0s are transmitted to the computer from the drive. This data is stored permanently until its changed.

31
Q

what are the disadvantages of a hard disc drive

A

the transfer rate is slower than solid state, can be wiped easily by a strong magnet, have moving parts which can wear down and break, it can get hot while moving very quickly, if you damage the hard drive all the data is lost, it requires more power to move (the disc uses more electricity), vulnerable to damage if there is slight movement

32
Q

what are the advantages of hard disc drives

A

costs less than solid state(cost per gigabyte is lower)

33
Q

what are the advantages of solid state drives

A

more moving parts so a lot less electronic consumption, can read and write data very quickly as it is reading from electronic circuits, very compact, very light, more robust (more likely to resist against damage), SD card uses the same technology, less heat is produced, use less power(reduced power use)

34
Q

what are the disadvantages of solid state drives

A

more expensive (cost per gigabyte is higher), have a limited number of write operations to it (SSD endurance)

35
Q

what does optical storage do to store

A

use lasers

36
Q

how does optical storage get data from storage

A

The lasers can be red or blue which varies its wavelength which means it can read more as it is a minor position. The disc spins and while it spins a laser passes across the disc which shines onto the disc. The disc itself has pits and lands which reflects the light back and it measures the time from transmission to detection which it reads as binary 1s and 0s. To write things on, you have a laser that burns the pits and lands.

37
Q

what are the disadvantages of optical storage

A

obsolete, you have to store them, not good environmentally as it has a lot of waste, more expensive for buyer, low life span, high distribution cost

38
Q

what are the advantages of optical storage

A

data itself is easily portable, easy to make multiple copies

39
Q

explain what cloud storage is

A

cloud storage is a secondary storage in a remote location, that you can access it via the internet.

40
Q

what type of secondary storage does cloud storage use at what type of location

A

uses magnetic and/or solid state storage at a remote location.

41
Q

what are the disadvantages of cloud storage

A

you can access your files from anywhere as long as you have internet connection and a device, the amount of electricity needed to power cloud storage. the data centre may get hacked so some else can access all the data,all the work can be collaborated on to share and distribute files. Since 2020, this has been used a lot more frequently to work from home. Having cloud storage means that you don’t need to have as much storage in your device. plus you can upgrade the storage in your device without upgrading your phone storage.

42
Q

what are the advantages of cloud storage

A

big companies that use cloud storage drive the development of renewable energy,

43
Q

if clock speed increases, what will the performance of the CPU be like?

A

increases num of instructions that can be processed per second so will be faster

44
Q

if clock speed decreases, what will the performance of the CPU be like?

A

reduces heat, reduces num of instructions that can be processed per second so will be slower

45
Q

if the number of cores are increased, what will the performance of the CPU be like?

A

more instructions can be processed at the same time so will be faster

46
Q

if the cache size increased, what will the performance of the CPU be like?

A

less time the CPU is idle so will be faster

47
Q

what is data compression

A

making data smaller for it to be easier to store

48
Q

how is data compressed by huffman coding?

A
49
Q

on a huffman tree, what numbers are on the left and right side of the branches?

A

0 on the left, 1 on the right

50
Q

what is the full form of RLE

A

run length encoding

51
Q

what does RLE do

A

takes a run of the same value but stores it in less

52
Q

compress 000011100000111110000 using RLE

A

4 0 3 15 05 1 4 0

53
Q

what is the Binary representation of RLE B15 W9

A

00001111 10001001

54
Q

compress 0000011100000011 using RLE

A

5 0 3 1 6 0 2 1

55
Q

what is true about code that is written using a low-level language?

A

the code is not translated using a compiler,
the code can directly manipulate registers

56
Q

State two reasons why computers have more RAM than cache memory

A
  • RAM is cheaper (per byte);
  • Typically, the capacity of cache memory is not enough to store both data and
    programs