Professional Documents
Culture Documents
Connecting With Computer Science Chapter 14 Review
Connecting With Computer Science Chapter 14 Review
Chapter Summary:
Key Terms:
Algorithm (468)
Assembler (473)
Assembly Language (473)
Base Class (500)
Class (498)
Compiler (468)
Constructor (498)
Control Structure (492)
Encapsulation (501)
Event (498)
Event Handler (498)
Expression (498)
Interpreter (486)
Low-level language (473)
Machine language (473)
Method (498)
Object (498)
OOP (495)
Operators (487)
Polymorphism (501)
Precedence (491)
Program (468)
Property or attributes (498)
Pseudo code (479)
Sub classes (500)
Syntax (475)
Variable (485)
Test Yourself:
1.) What is an algorithm?
A logically ordered set of statements used to solve a problem.
2.) Write an algorithm for calculating your cheque book balance.
If the amount is to be deposited, add it to the current balance. If the amount is to be withdrawn,
subtract it from the current balance.
Practise Exercises:
1.) Which is not an example of a high-level programming language?
Boolean
2.) Which of the following converts source code into a computer language and results in an executable
file?
Compiler
3.) Which of the following translates a program's statements, one by one into a language a computer can
understand?
Interpreter
4.) Pseudocode should be written after source code to ensure that the program was written correctly.
False
5.) Which is not a type of programming language?
6.) The only language computers can understand consists of 1s and 0s.
True
False
8.) What is a name used to identify a specific location and value in memory?
Variable
11