computer systems Flashcards

1
Q

define hardware

A

physical components of a computer
e.g
keyboard
monitor
mouse

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

define software

A

the programs that run on a computer, control the hardware

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

high level language

A

-any program written in high level is called source code
-need to be translated to machine code
-easy for humans to understand(less complex)
e.g:
python
java
c++

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

low level language

A

-directly translates to machine code
-difficult to understand
-execute quicker
e.g:
machine code (binary)
assembly language

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

translators

A

-convert high level language to machine code
3 types:
interpreter
compiler
assembler

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

compilers

A

-takes source code and translates it to machine code in one go
Advantages:
-compiled programs=run quick, as already translated
-can be supplied as an executable file
-optimise code- runs quicker, takes up less memory space
Disadvantages:
-recompiled every time program is changed
-source code compiled on one platform won’t run on another

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

interpreters

A

-translates to machine code one instruction at a time
Advantages:
-instructions executed as they’re translated
-errors quickly noticed// when error is found, program stops+ user is notified
Disadvantages:
-runs slowly
-has to be translated each time it’s run
-no executable file, so source code has to be supplied (can be modified easily)
-not optimised code

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

assemblers

A

-translate assembly language (low level) to machine code
-create 1 machine code for each assembly instruction

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

AND gates

A

-output only 1 (TRUE) if both inputs are 1 (TRUE)
-look like sideways U

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

OR gates

A

-output = 1 when one or both inputs are 1
-looks like crescent

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

NOT gates

A

-only one input
-output =0 when input = 1 and vice versa
-triangle+circle

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

system software

A

-any software that helps run/manage
e.g:
security software
file management

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

application software

A

-allows user to perform a task
e.g:
word
browser

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

operating systems

A

-collection of programs that manage+ control the computer

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

roles of operating systems

A

-control hardware components
-provide platform for software to run on
-provide user interface
-manage processes
-manage memory
-manage input+output devices
-manage apps
-manage security

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

Fetch Decode Execute Cycle

A
  1. The memory address held in the program counter is copied into the MAR (memory address register)
  2. The address in the program counter is then incremented - increased - by one. The program counter now holds the address of the next instruction to be fetched.
  3. The processor sends a signal along the address bus to the memory address held in the MAR.
  4. The instruction/data held in that memory address is sent along the data bus to the MBR/MDR(memory data register)
  5. The instruction/data held in the MBR/MDR is copied into the CIR(current instruction register)
  6. The instruction/data held in the CIR is decoded and then executed. Results of processing are stored in the ACC (register used by ALU to store calculation results)
  7. The cycle then returns to step one.
17
Q

ALU

A

-performs arithmetic operators+logical decisions
-gateway between primary memory and secondary storage

18
Q

control unit

A

-fetches decides + executes instructions
-issues control signals that control ha edward
moves data around system

19
Q

registers

A

-small amounts of high speed memory in cpu
-used by processor to store small amounts. of data
e.g:
-address of next instruction
-results of calc
-current instruction being decodes

20
Q

RAM (random access memory)

A

-volatile
-when computer =off, RAM content = lost
-written to and read from

21
Q

cache

A

-small amount of high speed RAN
-built directly in processor
-temp. holds data
-faster processing as processor doesn’t have to wait for data + instructions to be fetched from RAM

22
Q

bus

A

-used to send data from diff parts of the computer
3 types:
-address
-data
-control bus

23
Q

clock

A

-sends out electrical pulses to synchronise hardware components
frequency of pulse=clock speed:
-measured in hertz
-higher frequency=more instructions

24
Q

factors affecting performance

A

Clock speed:
-higher speed=more FDE cycles performed=more instructions
-overclock-when cpu clock is sped up, can cause long term damage
Cache size:
-bigger cache=less time processed waits
Number of cores:
-each core=can FDE its own instruction

25
Q

main memory

A

-main storage region of a computer that cpu can directly access
-has RAM and ROM

26
Q

ROM (read only memory)

A

-non volatile
-can’t be written to

27
Q

secondary storage

A

-non volatile
-long term storage
-saves memory
-can store programs and data for later use

28
Q

Solid state storage

A

-SSDs, usb sticks
-made from silicon microchips, data stored by holding an electrical current in a transistor
-can be written to
-non volatile
-external secondary storage
-fast+expensive

29
Q

magnetic

A

-cheap, high capacity, durable
-damaged if dropped
-hard disks that use magnetic fields to magnetise individual sections of a spinning metal disk
-read+written

30
Q

optical

A

-uses laser ti scan surface of spinning metal+ plastic disc(divided in tracks w lands and pits)
->sensor scans+checks reflected light
-rom media (pre-written data, like movoes)
-Read (r)media=blank read/write RW=disc can be written to more than once

31
Q

cloud storage

A

-storing data at a remote location
—> when files are sent to cloud they are sent to a server connected to the internet
-files can be uploaded+downloaded as required

32
Q

Adv+ dis of cloud storage

A

ADV:
-data accessed from anywhere w internet connection
-businesses running cloud storage manage backups and security
-additional storage can easily be added
DISADV:
-hacker can potentially access data from a wehere w wifi
-failed internet= no access
-relying on others for security

33
Q

embedded systems

A

-small computer part of a larger system/machine
—controls device and lets user interact w it
-have 1/limited number of tasks

34
Q

embedded systems

A

-small computer part of a larger system/machine
—controls device and lets user interact w it
-have 1/limited number of tasks