Section 4 - Hardware and software Flashcards

1
Q

What is hardware?

A

physical components of the computer system

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

What is software

A

code/programs that are executed

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

what are the two classifications of software

A

system and application

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

what is system software

A

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
5
Q

what are the parts of system software

A
  • operating system
  • utility programs
  • libraries
  • programming language translators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is a utility program

A

system software designed to optimise the performance of the computer or perform tasks

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

what are library programs

A

ready complied programs that can be run when needed, included pre written code

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

what are some examples of utility programs

A

virus scanners, disk defragmenters, system monitors, file managers

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

what are translators

A

convert source code into machine code

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

what are the types of application software

A

general purpose and special purpose

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

what is general purpose software

A

software that can be used for many different purposes.
such as a word processor, spreadsheet or graphics package

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

what is special purpose software

A

performs single specific tasks

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

what is application software

A

programs that perform specific user-orientated tasks`

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

what is an operating system

A

set of programs that manages the operations of the computer for the user

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

what are the functions of an operating system

A
  • provides user interface
  • memory management
  • processor scheduling
  • backing store management
  • management of all inputs and outputs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what does OS memory management mean

A

each program open must be allocated a specific area of memory whilst the computer is running

17
Q

what does OS processor sceduling mean

A

allocating processor time to each application

18
Q

what does OS backing store management

A

managing files and applications that have been transferred to backing storage, and manage free areas of storage.

19
Q

what is machine code

A

a low-level programming language in binary where every instruction contains an operation (opcode) and an operand (data or address of data)

20
Q

what is assembly language

A

a low-level programming language where each opcode is a mnemonic

21
Q

differences between machine code and assembly language

A
  • machine code written in binary, assembly code written in mnemonics
  • assembly language needs translating before it can run, machine code doesn’t
22
Q

what is a low-level programming language

A

a language where the code reflects how the computer actually carries out the instruction

23
Q

what is a high-level programming language

A

each instruction is a command to perform a step in the program
each instruction will be translated to several low-level language instructions.

24
Q

advantages of high-level compared to low-level

A
  • high-level languages are easier for humans to interpret
  • high-level languages have extra features like abstract data types and built in functions
  • high-level have a wider range of programming structures
  • high-level languages are easier to understand/debug/maintain
  • high-level languages are quicker to write
25
Q

advantages of low-level languages compared to high-level languages

A
  • not all low-level languages need to be translated, unlike high-level
  • low-level languages use less memory when executing
  • low-level languages execute faster
  • low-level languages can directly control hardware
26
Q

what is an assembler

A

translates an assembly language program into machine code
input is called source code, output is called object code

27
Q

what is a compiler

A

a program that translates high-level languages (source code) into machine code (object code)
it scans through the code several times and then saves the object code produced

28
Q

what is an interpretter

A

a program that translates high-level languages
it looks at each line of the source code and if it has no errors, executes the command
if it finds an error it does not attempt to run any of the program till its fixed

29
Q

what is bytecode

A

most high-level languages use combined compiling and interpreting that results in bytecode, executed by a bytecode interpreter

30
Q

what are the advantages of bytecode

A
  • platform independence means many computers can run it
  • it provides an extra security layer between the computer and the program, meaning you only have to run the bytecode interpreter rather than the bytecode itself
31
Q

what are the advantages of compilers over interpreters

A
  • compilers produce object code that can be saved onto a disk an run whenever required
  • object code executed faster than interpreted code
  • object code from a compiler can be executed without having a compiler
  • compiler object code is more secure
32
Q

what are the advantages of interpreters over compilers

A
  • if an error is found in compilers object code the whole thing has to be recompiled
  • interpreters mean there’s no lengthy recompilation every time an error is discovered
  • interpreters are easier to partially test and debug programs