Exercise 3. Change the following sentences according to the example by using complex object. Translate them into Ukrainian.



Example: A gateway is an interface that enables dissimilar networks to communicate. – A gateway enables dissimilar networks to communicate.

 

1. Clicking on a command is the action which allows you to open a list of choices known as a menu.

2. StickyKeys is the feature that helps disabled people to operate two keys          

1. simultaneously.

2. I watched how they were repairing the computer.

3. MouseKeys is the utility that enables you to use the numeric keypad to move the mouse pointer.

4. A touchscreen is the device that allows the user to select icons and commands by touching the display screen with their finger instead of using a mouse.


If X , then Y

 

In this section, we will revise structures commonly used in programming. You have met these structures in earlier units but in different contexts.
Study this decision table. It shows the rules that apply when certain conditions occur and what actions to take. Using it, we can make rules like this:   1. If a guest stays 3 nights in January and if one night is Sunday, then charge 2 nights at full price and 1 night at half-price. 2. If a guest stays 3 nights and one night is not Sunday and it is not January, then charge 3 nights at full price.   CONDITIONS

DECISION

RULES

1 2
a guest stays 3 nights Y Y
1 night is Sunday Y N
the month is January Y N
Actions
charge 3 nights at full price N Y
charge 2 nights at full price Y N
charge 1 night at half-price Y N

Exercise 4. Link these statements with while or until, whichever is most appropriate.

1. Look through member records. There are no more records.

2. Display guests addresses. There are no more addresses remaining.

3. List all items. There are no more items left.

4. Print some more client names. There are still names available.

5. Calculate all figures. There are no more figures.

6. Search for information containing the term. There is still information containing the term.

7. Total all items. There are still some items remaining.

8. Read these records. There are records left.

9. Rewrite these records. There are no more records.

10. Study this list of items. There are some items left.

 

Exercise 5. Put the words into the right order.

1. my you ask help for If just it need.

2. selects appear the the menu offering several Triangle choices icon a If user might.

3. If to to next you step the get you object will have want to select an.

4. If application want to the of a execute triangle might a set different create instructions you.

5. eligible the package employees qualify benefit If are for package a specific welders automatically for.

6. available a simple benefit welder is If later where a different relocated package is revision is.

7. the right the mouse on “Right triangle” clip a might clicks voice explain If the properties use of right triangles.

8. right If the of on is triangles clicked mouse explains “Equilateral triangle” the voice properties equilateral.

9. you If with should might deal applications you use OOP multimedia probably.

10. a condition then process this If certain is true instruction.

 

Exercise 6. Create statements about the decision table as shown.

Example: If a guest books a hotel room in summer and stays for a week, then charge at 100$.

 

Conditions

Decision Rules

  Guest stays a week Guest stays a decade Guest stays a fortnight Guest stays a month
Summer 100$ 140$ 200$ 400$
Spring 80$ 120$ 160$ 320$
Autumn 70$ 110$ 140$ 280$
Winter 50$ 90$ 100$ 200$

Exercise 7. Choose the right variant.

1. (The, a, -) tea, which (grow) in India and China, (be) the national drink (of, off, at) Britain.

2. Mrs Green (wait) for the doctor for half an hour. When he (examine) the boy, he said, "(The, a, -) child must stay in (a, the, -) bed (as, just, until) he (get) (good)".

3. Hijackers (still, hold) twenty passengers in a plane at (a, the, -) Manchester Airport.

4. The hostages (sit) in the plane without (a, the, -) food or water for two days already.

5. As you (can, must, may) see from the letter, I (change) my address and live in the suburbs now.

6. Living in the country is (expensive) than in (a, the, -) big city nowadays.

7. I decided to change from (a, the, -) central London to the suburbs because it (become) so expensive to live there.

8. Members of (the, a, -) British Parliament (pay) salaries since 1911.

9. (The, a, —) hereditary principle still operates in Great Britain and the Crown (pass) on to the sovereign's (older, elder, eldest) son.

10. If (many, a few, few, any) news comes in while I (be) away, let me know.

11. Henri Nestle, who was Swiss, (develop) the process of making (a, the, —) milk chocolate.

12. This week the police (arrest) a couple in (the, —, a) Switzerland, where they (try) to sell chocolate secrets.

13. I think that people (be, only) (interested, interesting) in news which (happen) near them or which (affect) them (economical/economically).

14. The word “chocolate”, which (come) from (the, a, -) Aztec language, is (a, the, —) only Aztec word in (the, a, -) English.

15. (The, -, an) Incas (discover) popcorn. They (live) in (-, the, a) South America in (a, the, -) fifteenth century.

16. People who live in (the, a, -) Netherlands (call) (the, a, -) Dutch.

17. The policeman asked me if the car (park, parking, parked) near the office (belong) to me.

18. I'm staying there until he (return) from his holidays. Then I (go) (on, in, at) holiday to Scotland.

19. Remember that even if you (have) the right qualification, you (may, could, should) have to fill in lots of application forms before you (ask) to attend an interview.

20. You are working slowly. - If I (have) a calculator, I (can) work this out a lot quicker.


Дата добавления: 2018-10-26; просмотров: 596; Мы поможем в написании вашей работы!

Поделиться с друзьями:






Мы поможем в написании ваших работ!