2. Hardware And Software Flashcards

1
Q

What are the 5 elements of a computer system?

A
  1. Hardware – physical components of the system
  2. Software – instructions and programs used to control hardware
  3. Data – raw information imported into the system
  4. Personnel – people involved in the system e.g., users, developers
  5. Procedures – modes of action that personnel perform to initiate and complete tasks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 5 functions of hardware?

A
  1. Input
  2. Processing
  3. Control
  4. Storage
  5. Output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Examples of Input

A

Mouse, keyboard, webcam, camera, microphone, scanner, RFID tag

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

Differentiate primary and secondary storage

A

Primary is a volatile memory used by the system to temporarily store information to function.

Secondary storage is used to store information for long periods of time, where the information is not needed for the system to function.

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

What are the different level of generations of programming languages?

A
  • Low: Instructions relate directly to CPU. First and second generations of machine languages and assembler.
  • High: Translated into machine code. Can be converted to support many different architectures. Third and fourth generation languages (declarative)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Steps of Translation

A

Lexical analysis: check for valid functions of code
Syntactical analysis: grammar/syntax
Code generation

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

What are the two types of translation and how do they differ?

A
  • Compilation: whole software is recompiled to run on the new architecture. No longer needs compiler.
  • Interpretation: translates source code line by line. Continues until an error occurs. Slower than compilation.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the steps in the fetch execute cycle?

A
  1. Fetch
  2. Decode
  3. Execute
  4. Store
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The requirements for software?

A
  • Processor
  • RAM
  • Disk space
  • Peripheral devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly