Fundamentals of Computer Systems Flashcards

1
Q

Hardware

A

All of the electrical and electro-mechanical parts of a computer and its input and output storage devices as well as peripherals

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

Software

A

All of the systems needed to make a computer function, all the collections of instructions/ programs that can be run and processed by a computer system

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

System software

A

All of the software needed to run the computers hardware and application programs

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

Operating system

A

A set of programmes that lie between applications software and the computer hardware like resource management

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

Utility programs

A

Program made to perform a generic task that is routinely executed by user, related to analysing or configuring data ((de)compression, providing firewall, backing up files and encryption before data transmission)

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

Libraries

A

ready-compiled programs that can be run when needed

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

Translators

A

A program which converts code from one computer language to another

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

compiler

A

A translator that converts high level language to machine code

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

Interpreters

A

A translator which checks a source program for syntax errors line by line, translates it to machine code and executes the line

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

Assembler

A

A translator in low level language which converts assembly language into machine code

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

Low-level language

A

A programming language with little to no abstraction from a processor’s internal instruction set such as machine code or assembly language

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

High-level language

A

A programming language with a strong abstraction from a processor’s internal instruction set that is much more human-readable with natural-language keywords

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

Machine-code

A

A low level language written in binary which is directly understood by CPU

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

Imperative language

A

A programming language built on the programming paradigm of using subroutines and procedures to change a program’S state and describe how the program operates

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

General-purpose application software

A

word-processor, spreadsheet graphics package

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

special-purpose

A

Performs a single task/set of task like fingerprint scanner. off-the-shelf or bespoke

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

Resource management

A

The collective efficient management of the available hardware and software to optimise the performance of the computer system

18
Q

Scheduling

A

Allocating processor time to each applications to ensure processor time is used as efficiently as possible when multitasking

19
Q

Memory management

A

Manages memory used by the different applications running at once, uses virtual memory where hardware is used as an extension of memory

20
Q

Processor scheduling

A

Maximise throughout, be fair to all users in multi-user system, provide acceptable response times to all users, ensure hardware resources are kept as busy as possible

21
Q

Backing store management

A

when files and applications are loaded are they moved from backing storage into memory, backing store keeps a dictionary with where files are stored for quick accesing

22
Q

Peripheral management

A

Ensures that peripherals are allocated to processor without causing conflict

23
Q

Interrupt handling

A

Handles interrupt signal sent from software programs or peripherals to stop processing current list of instructions and what to do next

24
Q

Code names assembler

A

Input code is source code and the machine code output is called object code

25
Q

Bytcode

A

An intermediate instruction set used to write the final output of some compilers since it can be executed on any computer via a virtual machine

26
Q

Bytecode advantages

A

Platform independence and added layer of security

27
Q

Advantage compiler over interpreter

A

-object code can be saved on disk and run without the need to recompile, but if error discovered entire code needs to be recompiled
-object code executes faster than interpreted code
-the object code produced by a compiler can be distributed without having to have the compiler present
-object code more secure, needs a lot of reverse engineering to be read

28
Q

Interpreter advantages over compiler

A

-useful for program development as there is no need for lengthy recompilation each time an error is discovered
-easier to partially test and debug programs

29
Q

NOT

A

inverts input, symbol is triangle with little circle after, in boolean algebra a overbar

30
Q

AND

A

Symbol: round tip straight line in back, boolean algebra: fat dot, output true only if both inputs true

31
Q

OR

A

Sharp tip and curved line at back, output true if either input or both inputs true, boolean algebra symbol +

32
Q

XOR

A

Symbol is like OR gate with extra curved line infront, only true if wither input is true but not both, boolean algebra symbol + in circle

33
Q

NAND gate

A

Same symbol as and gate with circle infront, true for all except both inputs true, boolean algebra symbol like AND with overhead bar over the two inputs AND together

34
Q

NOR Gate

A

Same symbol as or gate with circle input and same boolean algebra symbol as OR with overhead bar overtop, true only if neither input true

35
Q

Boolean expression

A

A combination of boolean variables and logical operators which evaluates either TRUE or FALSE depending on the input

36
Q

Boolean Logic

A

A type of algebra with logical operators where all values and expressions ultimately reduce to TRUE or FALSE

37
Q

General rules

A

X.0 = 0
X+0 = X
X.1 = X
X+1 = 1
X.X= X
X+X = X
X.[X] = 0
X+[X] = 1
[[X]]= X
where im using [] to represent not

38
Q

commutative rules

A

X.Y = Y.X
X+Y = Y+X

39
Q

Associative rules

A

X.(Y.Z) = (X.Y).Z
X+(Y+Z) = (X+Y)+Z

40
Q

distributive rules

A

X.(Y+Z) = X.Y + X.Z
(X+Y).(W+Z) = X.W + X.Z + Y.W + Y.Z

41
Q

Absorption rule

A

X+(X.Y) = X
X.(X+Y) = X

42
Q

De Morgans Laws

A

[A.B] = [A]+[B]
[A+B] = [A].[B]