Module 5: Problem Solving, Algorithms and Pseudocode Flashcards
What is Moore’s Law?
The number of transistors in a single microchip doubles every two years with minimal cost increase. The exponential increase is no longer the case.
What is a ‘naked machine’ ?
A naked machine has no tools or programs to assist the user.
How does a user use a naked machine?
- Write all instructions in
binary. - Write data in binary.
- Load instructions into
memory one cell at a
time - Initiate running the
program
Why don’t we use naked machines?
It is too difficult for humans to use and were not user friendly.
What is system software?
A collection of programs to manage a computer’s resources and serves as the intermediary between the user and the hardware.
What is a virtual machine?
This is the virtual environment that the user sees when the use a computer.
What is a compiler?
A compiler takes code written in a high-level language and generates the corresponding assembly code.
What is an assembler?
An assembler converts assembly code into machine code.
What is a loader?
A loader machine is a program that loads machine code into the system memory.
What is another name for assembly code language?
Low-level language
What are the advantages of assembly code over machine code?
- Clarity, readability and maintainability
- Can be placed in different locations in memory
What are the advantages of high-level languages over assembly languages?
- More powerful
- User-oriented (focused on the user)
- Not specific to any kind of machine
- Uses a combo of natural language and maths
notation - Designed to help structure our programs in a
logical order