3.6 Fundamentals of computer systems Flashcards

1
Q

hardware definition

A

physical components of the computer system, internal and external

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

software definition

A

sequences of instructions which are executed in order to perform a task

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

application software

A

performs user-oriented tasks such as word processors

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

system software

A

management of computer system, includes utility, library programs and translators

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

operating system

A

allows user to control computer with ease as it provides user with a virtual machine (hiding true complexity of the computer from the user), resource management

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

resource management OS

A

memory management, processor scheduling, handling interrupts

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

utility programs

A

performs tasks that help manage a computer, examples: data backup, encryption

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

library programs

A

contain frequently used functions, simplifies process of making program

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

translators

A

translate between different types of language, three types include compilers, assemblers, interpreters

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

low level languages

A

machine code and assembly language

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

machine code

A

uses binary digits to represent instructions, no need to translate, useful for real-time applications due to its speed of execution

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

assembly language

A

uses mnemonics so its more compact and less error prone

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

high level languages

A

not platform specific, needs to be translated before executing, built-in functions, includes imperative high-level languages formed from instructions that specify how a computer should complete a task

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

portability of low vs high level languages

A

low level: machine code - not portable, assembly language - processor specific,
high level: portable, programs not specific to certain processors

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

ease of use of low vs high level languages

A

low level: machine code - difficult to understand, assembly language - mnemonics so slightly easier,
high level: uses english so it is easy

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

ease of debugging of low vs high level languages

A

low level: machine code - errors are very difficult to spot and correct,
assembly language - easier than machine code,
high level: named variables and indentation and commenting make debugging easy

17
Q

ease of execution of low vs high level languages

A

low level: machine code - directly executed,
assembly language - assembler must be used before program is executed but quick translation,
high level: compiler or interpreter must be used to translate source code into object code before execution

18
Q

assembler

A

translates assembly language into machine code, each instruction has 1-1 relationship to machine code so translation is quick, platform specific

19
Q

compilers

A

translates high-level language into machine code,
takes program as source code and checks for errors before translating entire program at once,
any error in source code and it will not be translated, platform specific,
once translated it does not need any other software

20
Q

interpreter

A

translates high level language into machine code line by line, checks for errors as it goes, program can be partially translated until the error is reached, source code and interpreter must be present for execution

21
Q

compiler vs interpreter

A

comp: checks source code line for errors line by line, entire source code translated at once, no need for source code or compiler to be present for execution, protects source code from extraction,
inter: translation begins immediately, each line is checked and translated sequentially, both source code and interpreter must be present for execution, offers little protection of source code

22
Q

compilers with intermediate languages

A

compilers can code into an intermediate language instead of machine code, allowing for platform independence, intermediate language can be used with a virtual machine to execute bytecode on different processors, allows interpreter to translate source code once

23
Q

source code definition

A

input to a translator (assembly language for assembler, high level language for compilers and interpreters)

24
Q

object code

A

output of translator, produced from source code

25
Q

half adder definitions S and C

A

adds two boolean values, S = A XOR B, C = A AND B

26
Q

full adder

A

three inputs and two outputs allowing it to input two values and a carry bit

27
Q

edge triggered D-type flip flop usage

A

logic circuit that can be used as a memory unit for storing the value of a single bit

28
Q

D-type flip-flop inputs

A

data input and clock signal

29
Q

D-type flip-flop output

A

output holds the value of the stored bit

30
Q

D-type flip-flop clock signal

A

value of stored bit is set to the value of the data input with each change of the clock signal, can also synchronise multiple flip-flops