Hardware and Software Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the definition of hardware?

A

The hardware of a computer is the physical components that it is assembled from.

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

What is the definition of software?

A

The software of a computer is the sequences of instructions called programs which can be understood and executed by the hardware.

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

What are system programs?

A

System programs are software which control the operation of the computer itself.

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

What are application programs?

A

Application programs are software which solve problems for their uses.

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

What is operating system software?

A

An operating system is a program or suite of programs which controls the entire operation of a computer.

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

What are utility programs?

A

A systems program designed to perform a common place task.

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

What are library programs?

A

A collection of compiled routines that other programs can link to and use.

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

What do compilers do?

A

Compilers translate a high-level language program into a computer’s machine code.

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

What do assemblers do?

A

Assemblers translate programs written in assembly language into machine code.

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

What do interpreters do?

A

Interpreters translate and execute high-level language or intermediate-code program one statement at a time.

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

What are the two major roles of an operating system?

A
  • To hide the complexities of the hardware

- To manage the hardware resources

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

What are low-level programming languages classified as?

A
  • Machine code

- Assembly language

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

What is machine code?

A

Machine code is a language consisting of bit patterns/binary codes that a machine can interpret.

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

What is a machine code instruction?

A

A machine code instruction is an operation which a machine is capable of carrying out.

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

What is a machine code language program?

A

A machine code language program is a program consisting of executable binary codes.

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

State three advantages of programming in assembly language compared with programming in a high-level language?

A
  • Fewer machine code instructions, code takes up less memory
  • Better to code in assembly language for short sections of code which need to run quickly
  • Allows for direct access to registers
17
Q

State three disadvantages of programming in assembly language compared with programming in a high-level language.

A
  • Less readable
  • More difficult to understand, maintain, debug and write without making errors
  • Machine dependent and will only execute on processors that use this instruction set
18
Q

What are the major differences between compilation and interpretation?

A
  • An interpreter both ‘translates’ and executes, whereas a compiler only translates
  • Interpreters are usually easier to write than compilers
  • If an interpreter is used then only the source code form of program is needed to execute the program
19
Q

What is bytecode?

A

Bytecode is an intermediate language between machine code and high-level language source code.