A programming language provides a structured mechanism for defining pieces of data, and the operations of transformations that may be carried out automatically on that data. A programmer uses the abstractions present in the language to represent the concepts involved in a computation. When using a natural language to communicate with other people, human authors and speakers can be ambiguous and make small errors, and still expect their intent to be understood.
Programs for a computer might be executed without human interaction, or a user might type commands in an interactive session of an interpreter. In this case the “commands” are simply programs, whose execution is chained together. When a language is used to give commands to a software application it is called a scripting language.
The need for diverse computer languages arises from the diversity of contexts in which languages are used.
David is a bank manager and Rosa is a doctor (1) d. in a large hospital. David gets (2) e. up at 7.30am and has a shower. He leaves home at 8.30 and goes (3) g. to work (4) a. by train. Не arrives (5) c. at the bank (6) b. at 9.00. Rosa gets (7) f. up at 9.30 because she doesn’t start work (8) h. until 1.00 in the afternoon. She catches the bus to the hospital at 12.15.
David finishes work at 5.30pm and goes shopping in a supermarket (9) i. near the bank. Then he goes home and cooks the dinner. He eats alone
in the kitchen at 7.00 and he usually watches TV in the living room until Rosa arrives home at 10.00. She often has her dinner (10) j. in front of the TV. David goes bed at 11.00, but Rosa usually goes to bed a bit later.
A programming language provides a structured mechanism for defining pieces of data, and the operations of transformations that may be carried out automatically on that data. A programmer uses the abstractions present in the language to represent the concepts involved in a computation. When using a natural language to communicate with other people, human authors and speakers can be ambiguous and make small errors, and still expect their intent to be understood.
Programs for a computer might be executed without human interaction, or a user might type commands in an interactive session of an interpreter. In this case the “commands” are simply programs, whose execution is chained together. When a language is used to give commands to a software application it is called a scripting language.
The need for diverse computer languages arises from the diversity of contexts in which languages are used.
Объяснение:
6 предложений
David and Rosa’s day
David is a bank manager and Rosa is a doctor (1) d. in a large hospital. David gets (2) e. up at 7.30am and has a shower. He leaves home at 8.30 and goes (3) g. to work (4) a. by train. Не arrives (5) c. at the bank (6) b. at 9.00. Rosa gets (7) f. up at 9.30 because she doesn’t start work (8) h. until 1.00 in the afternoon. She catches the bus to the hospital at 12.15.
David finishes work at 5.30pm and goes shopping in a supermarket (9) i. near the bank. Then he goes home and cooks the dinner. He eats alone
in the kitchen at 7.00 and he usually watches TV in the living room until Rosa arrives home at 10.00. She often has her dinner (10) j. in front of the TV. David goes bed at 11.00, but Rosa usually goes to bed a bit later.