
- •«Северный (Арктический) федеральный университет имени м.В.Ломоносова»
- •Computer science (Part II)
- •Предисловие
- •Содержание
- •Text 1. Operating Systems
- •Text-based assignments
- •I. Here is a list of typical tasks performed by an operating system. In each case the main verb has been omitted. Fill in the blanks from the words given. Sometimes more than one may apply.
- •II. Find in the text above:
- •III. Choose the best word to complete the sentences:
- •V. Render the following sentences from Russian into English:
- •Grammar revision
- •I. Translate from English into Russian.
- •II. Translate from English into Russian:
- •III. Translate the following sentences into Russian. State the tense aspect.
- •IV. Open the brackets using the verbs in the correct forms (Present Simple–Present Continuous - Active or Passive).
- •V. Open the brackets using the verbs in the correct forms (Past Simple - Past Continuous - Active or Passive).
- •Text 2. The Graphical User Interface.
- •Text-based assignments
- •II. Choose the best word to complete the sentences:
- •III. Render the following sentences from Russian into English:
- •Grammar revision
- •I. Open the brackets using the verbs in the correct forms (Future Simple– Future Continuous. Present Simple - Active or Passive).
- •II. Open the brackets using the verbs in the correct forms (Present, Past, Future Perfect. Past Simple - Active or Passive).
- •III. Open the brackets using the verbs in the correct forms. Use Past Tenses (Active or Passive).
- •Text 3. Word Processing Features.
- •Text-based assignments
- •II. Match words and expressions on the left with their explanations on the right:
- •III. Decide if the sentences are true or false.
- •V. Render the following sentences from Russian into English:
- •Grammar revision
- •I. Open the brackets using the correct form of the verbs (Active or Passive).
- •Text 4. Databases
- •Text-based assignments
- •I. Decide if the sentences are true or false.
- •III. Answer the following questions:
- •IV. Render the following text from Russian into English:
- •Grammar revision
- •I. Open the brackets using the correct forms of the verbs (Conditional Sentences). Translate the sentences.
- •II. Open the brackets using the correct forms of the verbs. Translate the sentences.
- •Text 5. Types of Graphics Software
- •Text-based assignments
- •I. Decide which type of graphics software is best for these users.
- •III. Render the following text from Russian into English:
- •Grammar revision
- •I. Open the brackets using the correct form of the infinitive.
- •II. Translate the following sentences with the infinitive as:
- •Text 6. Multimedia
- •2. Recognizing file formats.
- •Text-based assignments
- •I. Look through the text above and find the following:
- •III. Render the following text from Russian into English:
- •Grammar revision
- •Text 7. Web Design
- •Text-based assignments
- •I. Look through the text above and find the following:
- •III. Answer the following questions. Then ask your partner the same questions.
- •Grammar revision
- •I. Translate the following sentences into Russian. State the functions of the infinitives.
- •Text 8. Virtual Reality
- •Text-based assignments
- •II. Fill in the gaps using the list of words in the box. Translate.
- •III. Read the following article and give its summary in Russian and then in English (see Appendix).
- •Vr Applications
- •IV. Fill in the chart with the some more appropriate info: Who uses Virtual Reality?
- •V. Render the following into English:
- •Grammar revision
- •I. Translate the following sentences with the for-to-the Infinitive Construction.
- •II. Translate the following sentences with the Objective Infinitive Construction.
- •Text 9. Programs and programming languages
- •Text-based assignments
- •III. Summarize the information on different high-level computer languages by completing the table below.
- •IV. Read the program below and the text, then complete the sentences which follow.
- •Variables and the Declaration Statement
- •Grammar revision
- •I. Translate the following sentences with the Subjective Infinitive Construction.
- •Text 10. Jobs in computing
- •Text-based assignments
- •I. Which computer specialist will do the following:
- •II. Complete the table using the information from the text and your own ideas. The following words and expressions could help you:
- •III. Study these job requirements. Try to match the requirements to the list of jobs.
- •IV. Study the cv of Paul. Then write your own cv in the same way. For the purpose of this task, you can invent experience and assume you have passed all your examinations! curriculum vitae
- •Grammar revision
- •Topics for Essays, Oral or Written Reports.
- •Texts for additional reading text 1. The conversion of symbolic languages
- •Text 2. Running the computer program.
- •Text 3. Testing the computer program.
- •Text 4. Is It Possible to Create Perfect Virtual Reality?
- •Text 5. Multimedia. Understanding mp3.
- •Play mp3 Files.
- •Appendix summary
- •Литература
Text-based assignments
I. Match the terms with their definitions.
1) programming
2) machine code 3) high-level language 4) compiler 5) object program
|
|
II. Complete the sentences with the words in the box. Translate.
■machine code ■ source code ■ compiler ■ applications program ■linkage editor ■ object program ■ load module ■ object module |
1. A .... is a program written in one of the high-level languages. 2. A program written in a high-level language must be interpreted into ... before the computer will read and process it. 3. A program designed to perform a specific task is called an ... . 4. The ... or ... is the program produced when the original program has been converted into machine code. 5. A ... is a program that converts a high-level language into machine code. 6. The systems program which fetches required systems routines and links them to the object module is known as the ... . 7. The ... is the program directly executable by the computer.
III. Summarize the information on different high-level computer languages by completing the table below.
Language |
Developed |
Function |
Characteristic |
FORTRAN |
|
|
|
|
1959 |
|
|
|
|
mathematical and scientific purposes |
|
|
|
|
combines features of COBOL and ALGOL |
BASIC |
|
|
|
|
|
to support Unix operating system |
|
|
1962 |
|
|
Java |
|
|
|
IV. Read the program below and the text, then complete the sentences which follow.
NOTES: 1) comment lines – строка комментария; 2) parentheses – круглые скобки; 3) braces – фигурные скобки; 4) declaration statement – оператор объявлений; 5) assignment statement – оператор присваивания; 6) variable name – имя переменной; 7) function statement – функциональный оператор, оператор функции; 8) semicolon – точка с запятой; 9) a must – необходимость, потребность, требование; 10) to terminate – завершать, заканчивать; terminator – завершающая запись; 11) blank line – пустая строка; 12) to span – охватывать, изменять
/*CALCULATE AVERAGES */ main ( ) { float a, b, c, d, average;
printf (“Enter three numbers: “); scanf (“%f %f %f “, &a, &b, &c); d=a+b+c; average=d/3.0; printf (“The average is %f “, average); } |
Comment Lines
A C source program consists of statements and comment lines. Comment lines are enclosed by the characters /* (at the start of the comment) and */ (at the end of the comment).
The Function main { }
Every C program must have a function called main which must appear only once in a program. The parentheses following the word main must be present, but there must be no parameters included. The main part of the program is enclosed within braces { }, and consists of declaration statements, assignment statements, and other C functions. In the above program there are six statements within the braces: a declaration statement (the first statement of the main program starting with the word float), two assignment statements (the fourth and fifth statements starting with the variable names d and average), and three function statements, two to print information on the screen and one to scan the keyboard for input.
As C is free-form language, the semicolon (;) at the end of each line is a must. It acts as a statement terminator, telling the compiler where an instruction ends. Free form means that statements can be identified and blank lines inserted in the source file to improve readability, and statements can span several lines. However, each statement must be terminated with a semicolon. If you forget to include the semicolon, the compiler will produce an error, indicating the next line as the source of the error. This can cause some confusion, as the statement objected to can be correct, yet as a syntax error is produced.