Unit 4 - Hardware and Software Flashcards

1
Q

Define hardware

A

The electrical and electro-mechanical components of the computer which comprise the physical presence of the computer

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

Define software

A

A generic term for program that can be run on a computer and does not have a physical presence

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

Define systems software

A

Software which is required to run and manage the computer’s hardware and application progress

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

Define an operating system software

A

A suite of programs designed to control the operations of the computer

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

Define general purpose software

A

Software used for a range of generic tasks

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

Define special purpose software

A

Software that is designed for one unique purpose

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

Define off-the-shelf software

A

A generic piece of software deigned to perform a task for a wide audience

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

Define bespoke software

A

A piece of software created exactly to fit a single user’s specific needs and requirements

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

What subsections come under software?

A

Application software and system software

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

What are the subsections of application software?

A

General purpose software, off-the-shelf software, bespoke software and special purpose software

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

What are the subsections of system software?

A

Operating systems, utility software, library programs and translators

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

Define machine code

A

The lowest level of code that consists of just binary

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

Define translators

A

A system used by a computer that translates high level coding languages to machine code

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

Define a library

A

A collection of pre-compiled routines, data and resources that can be called and used by other programs

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

What are the four main functions of the operating system?

A

Memory management, processor scheduling, backing storage management and peripheral management

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

Explain the OS’s role in peripheral management

A

The OS acts as a bridge between the software of a computer and the peripheral’s the computer is connected to, this is because the software cannot communicate with the peripherals directly

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

Explain the OS’s role in memory management

A

The OS allocates memory space for each function that the computer is currently running

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

Explain the OS’s role in backup management

A

The OS is responsible for ensuring that all files are backed up in a secure location

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

Explain the OS’s role in processor scheduling

A

The OS needs to allocate processor time to each program/task that is currently being run

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

Define Application Programming Interface

A

A set of subroutines that enables one program to interface with another program .e.g. access its data and functions

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

Why is an API necessary?

A

It provides a user-friendly interface which means that the user is able to use a computer and execute functions without knowing what occurs for them to be performed

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

What does API stand for?

A

Application Programming Interface

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

List the four main functions of the OS

A
  1. Memory management
  2. Processor scheduling
  3. Backing store management
  4. Peripheral and I/O device management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Give an example of an interrupt

A

“out of paper”
“out of ink”

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

What is virtual memory?

A

A solution for a lack of physical storage where parts of secondary storage are used a primary storage

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

What was the name of the first programmable computer?

A

Colossus

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

What did Colossus use as its input?

A

A continuous piece of tape with 20,000 5-bit characters on it

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

How did Colossus program and output results?

A

It was programmed using switches and plug panels and the output was an indicator lamp panel

29
Q

Why was Enigma so hard to crack?

A

It used a Vernam Cipher and the key changed every day

30
Q

How was Enigma broken?

A

The codebreakers worked out that every message would contain ‘Heil Hitler’ and if they could work out that they could work out the rest of the message

31
Q

What did early computers look like?

A

They were very large with a limited memory (each cell was around the size of a lightbulb), a CU and an accumulator. They were programmed using machine code which was entered using a set of switches

32
Q

What are the two sections of a command in machine code?

A

Operand and opcode

33
Q

Define the word operand

A

The section of the command that defines what data is to be operated on or used in this command

34
Q

Define the word opcode

A

The actual instruction which refers to what is to be done with the data

35
Q

Define instruction set

A

All of the instructions which a computer system can understand and execute

36
Q

How did assembly language build on machine code?

A

Each opcode was replaced with a mnemonic and the operand was replaced by a denary or hexadecimal number

37
Q

Why did programmers use assembly language?

A

It acted as a shorthand which meant that it was more efficient and easier for programmers to write and they were less likely to make mistake when writing out a few characters than they were writing out ling strings of machine code, assembly language was also easier to understand as it gave some indication of what the command might do

38
Q

What was the name of the first high level language?

A

FORTRAN

39
Q

What is the difference between an imperative high level language and a decelerative high level language?

A

An imperative high level language is one that consists of a list of commands for the computer to perform where as a decelerative high level language is one that states the outcome desired

40
Q

What is a decelerative high level language?

A

A programming language that declares what properties the result of the program should have

41
Q

What are the advantages of high level languages?

A
  1. Easier to debug
  2. Easier to understand
  3. Different languages can be used for different problems
  4. The programmer is able to think about the program as a whole rather than the individual steps
  5. High level languages can be transferred between computers
42
Q

What are the disadvantages of high level languages?

A
  1. Take longer to execute
  2. A translator is required
  3. Object code takes up more memory
  4. They don’t have statements that allow programmers to manipulate individual parts of the command
43
Q

What does a translator do?

A

It translates source code into object code

44
Q

What is an object code?

A

The translated version of the source code which can be understood by the computer (it will be in machine code)

45
Q

How do compilers translate source code?

A

They translate the whole code at once before it is run, it first produces an intermediate code which is used during the debugging phase after analysis of the code. Once all of the errors have been corrected the object code is produced which can be transferred to other computers and the compiler does not need to be present for it to run.

46
Q

How do interpreters translate source code?

A

The source code is translated into an intermediate code which is executed immediately, this means that no object code file is produced and each line is just run immediately

47
Q

Give examples of the different phases of analysis of a compiler

A

Syntactical analysis, lexical analysis and semantic analysis

48
Q

Advantages of a compiler

A
  1. Code can be transferred onto other computers after translation
  2. The compiler does not need to be present for it to run
  3. Reduced runtime
  4. More secure as object code cannot be easily read by someone wanting to modify and sell the program
  5. Can translate most high level languages
49
Q

Advantages of an interpreter

A
  1. Scans for errors
  2. Runs up until an error
  3. Better for beginner programmers
  4. Can translate most high level languages
50
Q

What is bytecode?

A

An intermediary form of code produced by a compiler that can be executed on any computer using a virtual machine

51
Q

What are computers made up of?

A

Billions of switches

52
Q

How are logic gates created in computers?

A

Switches are combined in different ways to make logic gates

53
Q

What do electronic logic gates do?

A

They take multiple inputs and produce one output

54
Q

Which gate is the universal gate?

A

NAND

55
Q

Why is the NAND gate the universal gate?

A

Because any logic gate can be made using a combination of NAND gates

56
Q

List the 6 main gates

A

AND, OR, NOT, NAND, XOR (exclusive or), NOR (not or)

57
Q

What are the advantages of NAND gates?

A

Using only NAND gates to make logic circuits reduces production costs and using as few gates as possible will speed up processing

58
Q

Define virtual machine

A

The concept that all of the complexities of using a computer are hidden from the user and other software by the operating system

59
Q

Define application software

A

Programs that perform specific tasks that would need doing even if the computers didn’t exist

60
Q

What are utility programs?

A

Programs that perform specific common tasks related to running the computer

61
Q

What is resource management?

A

How an operating system manages hardware and software to optimise the performance of the computer

62
Q

What is a processor?

A

A device that carries out computation on data by following instructions in order to produce an output

63
Q

What is scheduling in client-server systems?

A

A technique to ensure that different users or different programs are able to work on the same computer system at the same time

64
Q

What is a device driver?

A

A piece of software that enable a peripheral device to communicate with the OS

65
Q

What does file management mean?

A

How an OS stores and retrieves files

66
Q

What is source code?

A

Programming code that has not yet been compiled into an executable file

67
Q

How do you execute bytecode using a virtual machine?

A

A virtual machine can take on the properties of any computer architecture meaning that the source code in bytecode can be executed on any platform

68
Q

Why is the OS beneficial to the user?

A

It hides the complexities of the hardware from the user meaning they do not have to know how to perform a large number of automated processes and it makes the computer system easier to use

69
Q
A