4.6: section 4: hardware and software Flashcards

1
Q

what `is hardware

A

-the physical electrical and electro-mechanical components of a computer system

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

what is software, name the 2 types

A
  • the programs that make a computer function

- system and application

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

what is system software, name the 4 types

A
  • software needed to operates, controls and maintain the computer’s hardware and application programs
  • operating systems, utility programs, libraries, translators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the operating system

3 points

A
  • a program or set of programs that manage the operations of the computer for the user
  • manages and controls access to the computer’s resources.
  • Acts as an interface between the user and the computer’s hardware
  • uses a virtual machine to hide the true complexity of the computer from the user
  • OS is held in permanent storage – e.g. on a hard disk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is utility software

A

-designed to carry out housekeeping tasks

-tasks include data backup, defragmenting hard drives (reorganising data on a hard drive in
order to improve speed of access), data compression and encryption.

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

what are libraries

A
  • collection of precompiled routines written to carry out common tasks for other programs
  • libraries must be imported into program code in order to be used
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are translators, name the 3 types

A
  • software used to translate high level programming code into machine code
  • complier, assembler, interpreter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are low level programming languages, name 2 types

A
  • machine-oriented languages which have no built-in functions but can access specific registers in the processor.
  • machine code, assembly language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are high level programming languages, name 1 types

A
  • abstracted problem-oriented languages which need to be translated to be understood by computers
  • imperative
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is machine code, name 2 parts

A
  • a programming language made of binary or hexadecimal instructions which a computer can respond to directly.
  • Opcode (operation code)- the actual instruction
  • all the instructions that a computer can understand and execute.

-Operand- the value that the instruction uses or manipulates.

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

what is assembly language

A
  • a low-level symbolic code converted by an assembler.
  • Each opcode is replaced with mnemonic- made it easier to understand what the operator meant
  • The operand was replaced by a decimal (hexadecimal) number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what are the advantages of machine code

3 points

A
  • fast as they don’t need to be translated
  • memory efficient
  • can directly communicate with hardware devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what are disadvantage of machine code

3 points

A

not portable

  • difficult to debug and maintain as it is more error prone
  • difficult for humans to understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what are imperative languages

A
  • designed to solve specific problem types by writing a set of instructions that say how a problem should be solved
  • the instructions are then translated from high-level source code into executable object code.

-

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

what are advantage of high level programming

A
  • relatively easy to learn
  • easier and faster to write compared to low level languages
  • easier to understand, debug and maintain as code uses english
  • machine independent so its portable
  • many available built in functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what are disadvantage of imperative languages

A
  • slow execution as they need to be translated with a compiler or interpreter
  • cant communicate directly with hardware
17
Q

what are the functions of the operating system

A
  • memory management
  • Process scheduling
  • Backing store management
  • Peripheral management of all IO devices
18
Q

what is the role of the operating system

A

to hide the complexities of the hardware

19
Q

what is application software

A

o programs that
complete a specific task for the user.

Examples of application
software include word processors, web browsers and
spreadsheet software.

20
Q

what are the advantages of assembly language

A
  • slightly easier to understand compared to machine code

- debugging is easier compared to machine code

21
Q

what are the disadvantages of assembly language

A

programs are processor specific

-assembler must be used before a program is excecated