Define Hardware
Define Software
Hardware examples
Software examples
Examples of both software and hardware
Application Software
What does a device driver do?
Operating system role
Translators role
Utility Programs role
Library programs role
What is the purpose of the operating system? (In reference to the user?
What types of management can the operating system perform?
(detail explain these if a question comes up)
- Memory management
- Resource management
- Security management
- Command Interpreter
- File management
- Input/Output management
What types of resource management can the OS perform?
What are Low level languages?
What are High-level languages?
What is Assembly Language, and what are the key mnemonics?
hash .# denotes a denary number
Machine Code
High vs Low Level Languages
(Machine Code, Assembly and HL languages)
LL Machine Code;
- Not portable
- difficult for humans to understand
- difficult to spot errors
- directly executed by processors
LL Assembly Language;
- Processor specific
- Mnemonics slightly easier, debugging slightly easier than MC but harder than HL Languages,
- Assembler must be used, quick translation due to 1 to 1 correlation
HL Languages;
- Portable, non specific, easy for humans to understand and debug (named variables + indentation).
- A compiler or interpreter must be used to translate source code into object code before it can be executed. This can be time consuming
Machine code positives and negatives?
Positives;
- Programmers are not restricted
- No translator is needed
- Useful for embedded systems as it is faster
Negatives;
- Difficult to read, work with and understand
- Operation codes and memory addresses must be remembered
- Very difficult to amend/locate errors
What are assemblers?
translation
Assembly to machine code;
What are compilers?
translation
High level language to machine code;
- Taken as source code, checked for errors;
- Translated all at once, once compiled, can run without any other software (not the case for interpreters);
What are interpreters?
translation
High level language to machine code;
- line by line error checking
- Stops if error is found
- SC and interpreter must be present, making this method vulnerable
Compilers versus Interpreters
Compiler;
Interpreter;