2. Hardware And Software Flashcards
What are the 5 elements of a computer system?
- Hardware – physical components of the system
- Software – instructions and programs used to control hardware
- Data – raw information imported into the system
- Personnel – people involved in the system e.g., users, developers
- Procedures – modes of action that personnel perform to initiate and complete tasks
What are the 5 functions of hardware?
- Input
- Processing
- Control
- Storage
- Output
Examples of Input
Mouse, keyboard, webcam, camera, microphone, scanner, RFID tag
Differentiate primary and secondary storage
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.
What are the different level of generations of programming languages?
- 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)
Steps of Translation
Lexical analysis: check for valid functions of code
Syntactical analysis: grammar/syntax
Code generation
What are the two types of translation and how do they differ?
- 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.
What are the steps in the fetch execute cycle?
- Fetch
- Decode
- Execute
- Store
The requirements for software?
- Processor
- RAM
- Disk space
- Peripheral devices