27 total
The operating system is a crucial piece of system software that manages the computer's resources and provides services for application programs.
The operating system is responsible for several critical tasks:
💡 Key Point: Computer users need to be able to communicate with the operating system – this is called the user interface.
User Interface is the means by which the user and a computer system interact, in particular the use of input devices and software.
There are two main types of user interfaces:
A Command Line Interface (CLI) is a type of interface where the user types in specific instructions to perform tasks.
CLIs require a user to type in instructions in order to:
There are often a number of commands that need to be typed in, for example, to save or load a file. The user therefore has to learn a number of commands just to carry out basic operations.
Consider the task of importing data into a table called B. Using CLI, the code would look like this:
1. SQLPrepare(hStmt,
2. (SQLCHAR *) "INSERT INTO tableB SELECT * FROM tableA",
3. SQL_NTS):
4. SQLExecute(hStmt);
This example shows how complex it is just to carry out a fairly straightforward operation using CLI.
| Advantage | Explanation |
|---|---|
| Direct communication | The user is in direct communication with the computer |
| No restrictions | User is not restricted to a number of pre-determined options |
| Precise control | Allows for exact specification of commands |
| Disadvantage | Explanation |
|---|---|
| Steep learning curve | User has to learn a number of commands just to carry out basic operations |
| Time-consuming | It is slow having to key in these commands every time an operation has to be carried out |
| Error-prone | Typing mistakes can lead to errors or failed commands |
| Not user-friendly | Requires technical knowledge and memorization of commands |
Sign in to view full notes