What is a computer system? | a device which performs a task or solves a problem |
What makes up a computer system? | it is made up of sub-systems. These sub-systems are then made up of other sub-systems, until they only perform 1 task |
What are the uses of sub-systems? | used to break up whole systems to:
1. make program tidy
2. more efficient
3. makes it easier to debug |
What is a top-down design? | breaking down a system into smaller sub-systems until each performs only one task. This allows different programmers to work on different systems (more efficient) |
What is a structure diagram? | used to represent top-down design in hierarchical form |
What are the uses of a flowchart? (2) | 1. used to represent steps of a system and sub-system in the order that they are executed |
What is a library routine? | a set of programming instructions for a specific task available to use |
What does a library routine go through before being made available? | it is debugged and tested |
What is a pseudocode? | a notation resembling a simplified programming language |
How are pseudocodes similar to flowchart? | they both are used to communicate the algorithm showing how system and sub-system work |
What is a sub-routine? | a set of programming instructions for a given task that forms a sub-system |
What are sub-routines written in? | HLL (referred as functions and procedures) |
Explain standard method of solutions | Some task are needed frequently (taking square root of no). These task have standard solutions. HLL can provide standard solutions as standard functions and procedures, also library routine |
What are trace tables? | used to record, each change of each variable in an algorithm |