Term
What is software and hardware? |
|
Definition
Software is a collection of programs used by a computer.
Hardware is the actual physical machines that make up a computer installation. |
|
|
Term
What are the three main classes of computers and their description? |
|
Definition
A PC (personal computer) is a relatively small computer designed to be used by one person at a time.
A workstation is a larger and more powerful PC.
A mainframe is an even larger computer that typically requires some support staff and generally is shared by more than one user. |
|
|
Term
What is a bit and a byte?
What is an address? |
|
Definition
A bit or a binary digit is a digit that can assume only a 0 or a 1.
A byte is an eight bit portion of memory.
The number that identifies a byte is called its address. |
|
|
Term
What is an operation system? |
|
Definition
An operating system allocates the computer's resources to the different tasks that the computer must accomplish. It is in charge of all the other programs.
i.e. UNIX, DOS, Mac OS, etc. |
|
|
Term
|
Definition
It is a program that translates a high-level program, such as C++, into machine language that the computer can understand and execute. |
|
|
Term
|
Definition
Linking is the process that a linker does. A linker combines the object code from the C++ program with the object code for routines that the program uses. |
|
|
Term
|
Definition
An algorithm is a sequence of precise instructions which leads to a solution
i.e. procedure, recipe, etc. |
|
|
Term
What is OOP (object-oriented programming)? |
|
Definition
In OOP, a program is viewed as a collection of interacting objects. Programming in the OOP style consists of designing the objects and the algorithms they use. |
|
|
Term
What is variable declaration? |
|
Definition
This line tells the computer what names will be used as variables. Variables are used to name numbers. |
|
|
Term
What is #include <iostream>? |
|
Definition
That is an include directive. It tells the compiler where to find information about certain items that are used in the program. Iostream is the name of the library. |
|
|
Term
What are the three types of errors and when do they occur? |
|
Definition
A syntax error occurs when a violation of the grammar rules is made. This mistake is detected by the compiler. A run-time error can be detected only when the program is ran. Most of these have to do with numeric calculations.
A logic error are mistakes in the underlying algorithm or in translating the algorithm into the c++ language. The compiler will not catch these mistakes. |
|
|