Topic 6 - Computer systems - Complete Flashcards

1
Q

Define software?

A

Refers to the program or coded instructions that make the computer run,

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

Define hardware?

A

Refers to the physical part that makes up a computer system.

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

Define system software?

A

Is needed to carry out the tasks to operate the hardware.

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

Define application software?

A

Is needed to help carry out user-related tasks, such as Word processing, Payroll & air traffic control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
What are the 4 features of system software?
O
L
U
P
A
  • Operating system
  • Library programs
  • Utility programs
  • Programming language translators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 3 types of application software?
G
S
B

A
  • General-purpose (GP)
  • Specialised applications (SA)
  • Bespoke applications (BA)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some features of the operating system (OS)?

A

Controls the hardware and hides the complexity of the hardware by creating a platform to run application software.

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

What are some features of library programs?

A

Are pre-written software that is stored in compiled format and can be included by the programmer within one or more programs.

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

What are some features of Utility programs?

A

Are a range of system software that is designed to help the user to manage, maintain and optimise the system.

Disk formatting, file compression, data synchronisation, firewall, memory testing and anti-virus protection.

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

What are some features of programming language translators?

A

Used to translate a program in one programming language into a different programming language and to maintain the functionality of the original code.

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

Define these 3 types of translators?
Assembler
Compiler
Interpreter

A

Assembler - Used for assembly language programs
Compiler - Used for program languages like C++, Visual
Interpreter – Used for program languages like python

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

Define machine code?

A

Is the set of binary instructions that are used by the CPU to perform a task. Is processor dependant.

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

Define assembly language?

A

Is a low-level programming language which is processor-dependant, each instruction is one machine code operation.

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

Define high-level languages?

A

Is a computer programming language based on natural language or mathematical notation.

C++, Python, Java

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

Define declarative?

A

high-level languages are also based on natural language and are used to declare the necessary information to produce the required result.

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

Define imperative language?

A

Program statements or instructions are executed in a sequence or order as defined by the programmer. High-level languages are imperative.

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

Define the advantages of low-level language (machine code & assembly language) compared to high-level language?

A

Programming in low-level code can create faster and more efficient code as the programmer controls the performance level of the created code. More memory efficient.

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

What are the advantages of high-level languages?

A

It is difficult to learn to program in low-level languages whereas high-level languages have more support and training options. Easier to debug.

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

Define source code?

A

Is the language instructions that have been written by the computer programmer. The computer cannot execute the source code directly.

20
Q

Define object code?

A

Is translated from the source code using an assembler or compiler into instructions that can be executed by the compiler.

21
Q

Define assemblers?

A

Series of memorable mnemonics used to represent machine operational code. Assembly code is the most difficult language to program and needs a high degree of expertise to write and debug it.

22
Q

What are the pros and cons of assemblers?

A

Pros: An efficient low-level language that can be translated quickly as it has a one-to-one relationship with machine code.

Cons: It is complex to write and takes lots of programming time and expensive

23
Q

Define compilers?

A

The compiler converts the source code to an object, which the computer can run. Source code created by the programmer is not understandable by the computer.

24
Q

What are the pros and cons of compilers?

A

Pros: An executable file is produced which runs without the need of the source code. This makes the source code more secure as it does not need to be distributed to the customer.

Cons: Complication of a large program takes a long time to complete and any errors in the source code need to be corrected before an executable file can be made.

25
Q

Define intermediate language?

A

Some compilers create a final output in an intermediate language such as bytecode. The output is designed to run on a virtual machine rather than on a central processing unit.

26
Q

Define Interpreters?

A

Interpreter software normally executes the source code directly, it is translated line by line, this avoids the need to compile the program.

27
Q

Define a logic gate?

A

Are circuits that are used to perform a logical operation in computing and electronics

28
Q

Define a truth table?

A

Is a diagram that shows all possible logical inputs and their associated outputs.

29
Q

What are the 3 main logic gates?

A

NOT
AND
OR

30
Q

What are the 3 other logic gates?

A

XOR
NAND
NOR

31
Q

Define the NOT gate?

A

The output is opposite the input

One input & output

32
Q

Define the AND gate?

A

Two or more inputs where the output is true if all the inputs are true

33
Q

Define the Or gate?

A

Two or more inputs where the output is true if either or both inputs are true.

34
Q

Define the XOR gate?

A

Two or more inputs where the output is true ONLY if one input is exclusively true

35
Q

Define the NAND gate?

A

Two or more inputs where the output is false when all inputs are true

36
Q

Define the NOR gate?

A

Two or more inputs where the output is true when all inputs are false

37
Q

Define half adder logic?

A

Hald adder circuits carries out addition on two numbers (A and B) only.

Sum - A XOR B
Carry - A AND B

38
Q

Define full adder logic?

A

Full adder circuits carries out addition on two numbers (A and B) and a carry bit.

A series of full adders can be used to add binary numbers, as the carry bit is available at each stage of the calculation.

39
Q

Define a flip flop?

A

Is an electronic circuit that has two stable states and can be used as a memory device to store one bit of data

40
Q

Define a D-type flip flop?

A

Changes the state with each clock pulse, so data is delayed by one clock pulse

41
Q

Define Boolean expressions?

A

Are used in computer programs, when these expressions are evaluated they give a boolean logic output of either True or False.

42
Q

What does each symbol mean?
+
.
Ā

A

+ Or
. AND
Ā NOT

43
Q
State the 8 AND logic identities?
1.A
0.A
A.A
A.Ā
A.B
A.(B.C)
A+(B.C)
A.(A+B)
A

1.A=A
0.A=0
A.A=A
A.Ā=0
A.B=B.A
A.(B.C)=(A.B).C
A+(B.C)=(A.B).(A+C)
A.(A+B)=A

44
Q
State the 8 OR logic identities?
0+A
1+A
A+A
A+Ā
A+B
A+(B+C)
A.(B+C)
A+(A.B)
A
0+A=A
1+A=1
A+A=A
A+Ā=1
A+B=B+A
A+(B+C)=(A+B)+.C
A.(B+C)=(A.B)+(A.C)
A+(A.B)=A
45
Q

Define Dr Morgan’s Law?

A

Change all AND operators to OR
Change all OR operators to AND
Change the logical state of each variable