Читайте также: |
|
Try to think of a definition for each of these items before checking them in the Glossary. Then complete the following statements with the appropriate words. Make sure you use the correct form, i.e. singular or plural.
executing terminal rectangle
template parallelogram diamond
documentation
1. The information describing what a program can do and what the results mean is referred to as
2. It is advisable to test the program without data before
............................... it.
3. A piece of plastic with different shapes used for flowcharting is called a
4. Data used as input must be indicated with a...............................
5. The symbol which marks the beginning and end of a program is called the symbol.
7b Content review
Problem 1.
Study the following flowchart, which shows the procedure followed in calculating an employee's salary.
the number of overtime hours must be multiplied by
the overtime rate of pay....................... the overtime pay is added to
the gross salary........................ the computer prints out the
employee's salary and stops.
In the following paragraph based on the flowchart above, fill in the blanks with the proper connectives. Use these words: but, that is, then, if, to begin with, after, first, finally, next, before, in other words.
In calculating an employee's salary, a computer must go through a
number of operations in a logical manner..................... it must read
the number of hours worked and the rate of pay for each hour worked.
....................... it must calculate the gross salary;.......................
multiply the hours worked by the rate of pay for each hour worked.
....................... doing these two operations it must find out whether the
employee has worked overtime or not.
....................... he hasn't worked overtime the computer prints out the
gross salary........................ if the employee has worked overtime, two
more operations are necessary..................... printing out the gross
salary........................ the overtime pay must be calculated;
Problem 2.
The following flowchart is an example of what many people do belore leaving the house everyday. Complete the flowchart by selecting the appropriate event for each step.
Problem 3.
In the chemistry laboratory, all glassware is stored in one cupboard. Your instructions are to go to the laboratory and bring back a 300 ml beaker. Flowchart your activities by completing the flowchart below.
Problem 4.
Peter gets up in the morning, gets washed and dressed. Before having breakfast, he checks to see if the newspaper has been delivered. If it has, he takes it and puts it in the living room before sitting down to breakfast. After breakfast, he checks to make sure that he has completed all assigned homework. If there is still some to be done, he does it. Then he checks the clock, and if it is time to go, he leaves for the institute. If not, he reads the newspaper until it is time to go. Flowchart Peter's activities by completing the flowchart below.
UNIT 21
Focus review
Focus M Cause and effect
Read again 'Flowcharting' (Unit 20) to complete the table below.
Дата добавления: 2015-11-14; просмотров: 117 | Нарушение авторских прав
<== предыдущая страница | | | следующая страница ==> |
Understanding the passage | | | Programs and programming languages |