Past Simple(simple past tense)- one of the most common tenses in the English language. By using Past Simple we can convey events that happened in the past, and in some cases, events in the present. Therefore, at any level of proficiency English you will learn something new about Past Simple.
How is the past simple formed?
Statement
In order to form Past Simple, we add the ending to the verb - ed, if the verb is correct ( work - worked, learn - learned, ask - asked). If the verb is irregular, then we look for the form for Past Simple in the second column tables of irregular verbs. Most likely, at first it will be difficult for you to immediately determine which verb is in front of you. You will find the irregular verb in the table. If it's not there, it's correct. Negation
In a negative sentence in Past Simple auxiliary verb appears did(second form of irregular verb do) and particle not. In an English sentence, only one verb can be in the past tense, so as soon as did, the main verb takes the form of the infinitive without a particle to (go, look, feel). In colloquial speech did And not combine to form a shortened form didn't:
- He didn't tell.
- We didn't discuss.
To ask a question in Past Simple, we put it first did, followed by the subject, then the main verb. Verbto beVPast Simple
As you already know, to be- this is an irregular verb, so you need to remember the past tense form. But in the past tense it does not have one form, like all other verbs, but two: was(for singular nouns and pronouns) and were(for plural nouns and pronouns). In denial was (were) combines with not and forms the shortened form:
- I wasn't at work.
- They weren't happy.
Let us immediately note that the main functions Past Simple And Present Simple match. We only need to transfer the action from the present to the past.
- Past Simple shows a fact in the past or a single action that ended in the past.
I saw him yesterday. - I saw his yesterday. (single action in the past, yesterday already ended)
The Titanic sank in 1912. - Titanic sank 1912. (fact)
He went to Italy last month. - He traveled to Italy last month. (single action in the past)
Words indicating the duration of the action may not be used in this feature.
She spoke to him in a low voice. - She's quiet spoke with him. (single action in the past)
Aivazovsky painted"The Ninth Wave". - Aivazovsky wrote painting "The Ninth Wave". (fact)
- Also Past Simple used to describe a condition in the past.
That museum had a great collection of paintings. - In that museum was huge collection of paintings. (currently the museum does not have a huge collection)
- We use Past Simple to talk about old habits and repetitive actions. These actions have occurred many times in the past, but are no longer being done. Such sentences may contain adverbs often(often), sometimes(Sometimes), always(always) etc.
He always bought newspapers on Sunday. - He always bought newspapers on Sundays. (he doesn't do that now)
- We can also use used to to talk about old habits.
- We use Past Simple when we tell a story or list several events that happened one after another in the past.
He entered the cafe, he ordered a cup of tea and a piece of cake. - He entered in a cafe, ordered a cup of tea and a piece of pie.
Where else is Past Simple found?
- We use Past Simple to tell the details of some news or some event that happened in our lives. We report the news itself in time Present Perfect. We can use other past tenses to give details, but Past Simple is used in these cases more often than others.
I've got this job. It was a hard and exhausting interview, but it turned out that I was a perfect applicant. - I got this job. This was difficult, exhausting interview, but it turned out that I am the ideal candidate.
- Past Simple used in subordinate tenses after conjunctions after(after), before(before) when(When), until(not yet) as soon as(as soon as). In such a sentence Past Simple shows a completed action in the past.
He was astonished when I told him the news. - He was amazed When I reported him this news.
Calculating the amount of information
For completing the task correctly you will receive 1 point. It takes approximately 3 minutes.
To complete task 13 in computer science you need to know:
- To find the information volume of a message (text) I, you need to multiply the number of symbols (counts) N by the number of bits per symbol (count) K :
- Two lines of text cannot occupy 100 KB of memory
- Power of the alphabet M– is the number of characters in this alphabet
- If the alphabet has power M, then the number of all possible “words” (character chains) of length N(ignoring the meaning) is equal to Q=M N ; for binary coding (alphabet power M– 2 characters) we get the well-known formula: Q=2 N
13th task: “Amount of information”
Difficulty level - increased,
Maximum score - 1,
Approximate execution time is 3 minutes.
Unified State Examination in Informatics 2017 task 13 FIPI option 1 (Krylov S.S., Churkina T.E.):
7 33 -character alphabet. The database allocates the same and smallest possible integer to store information about each user byte bit. In addition to your own password, additional information is stored in the system for each user, for which an integer number of bytes are allocated; this number is the same for all users.
To store information about 60 users required 900 byte.
How many bytes are allocated for storage additional information about one user?
In response, write down only an integer - the number of bytes.
Answer: 9
✍ Show solution:
- First, let's decide on a password. According to the formula Q = M N we get:
Unified State Examination 2017 collection by D.M. Ushakova “10 training options...” option 1:
The cable network is voting on which of four films they would like to watch that night. Cable network enjoy 2000
Human. Participated in the voting 1200
Human.
What is the amount of information ( in bytes), recorded automated system voting?
Answer: 300
✍ Show solution:
- Since the four movie numbers are stored in the computer system, we can find the number of bits needed to store the movie number:
Unified State Examination 2017 collection by D.M. Ushakova “10 training options...” option 6:
When registering in a computer system, each user is given a password consisting of 15 characters and containing only characters from 12 - character set A, B, C, D, E, F, G, H, I, K, L, M, N. The database allocates the same and smallest possible integer to store information about each user byte. In this case, character-by-character encoding of passwords is used, all characters are encoded with the same and the minimum possible number bit. In addition to the password itself, additional information is stored in the system for each user, for which 12 bytes per user.
Determine the amount of memory ( in bytes), necessary for storing information about 30
users.
In your answer, write down only an integer - the number of bytes.
Answer: 600
✍ Show solution:
Unified State Examination 2017 collection by D.M. Ushakova “10 training options...” option 10:
Taking a rehearsal exam at school 105 Human. Each of them is allocated special number, identifying him in automatic system checking answers. When registering a participant to record his number, the system uses the minimum possible number of bit, the same for each participant.
How much information is there? in bits, recorded by the device after registration 60
participants?
Answer: 420
✍ Show solution:
13 task. Demo version of the Unified State Exam 2018 computer science:
10 characters. Capital letters of the Latin alphabet are used as symbols, i.e. 26 various symbols. In the database, each password is stored in the same and smallest possible integer byte. In this case, character-by-character encoding of passwords is used, all characters are encoded with the same and the minimum possible number bit.
Determine the amount of memory ( in bytes), necessary for storing data about 50
users.
In your answer, write down only an integer - the number of bytes.
Answer: 350
✍ Show solution:
- The basic formula for solving this problem is:
- To find the number of bits required to store one password, you first need to find the number of bits required to store 1 character in the password. Using the formula we get:
Where Q— the number of character variants that can be encoded using N bit.
Solution 13 Unified State Exam assignments in computer science (diagnostic version of the examination paper, Unified State Examination simulator 2018, S.S. Krylov, D.M. Ushakov):
In some countries, the license plate consists of 7 characters. Each character can be one of 18 different letters or decimal number.
Each such number in computer program is written in the smallest possible and identical integer quantity byte, in this case character-by-character encoding is used and each character is encoded with the same and minimum possible number bit.
Determine the amount of memory in bytes, allocated by this program for recording 50
numbers.
Answer: 250
✍ Show solution:
- Since the number can use either one letter from 18 , or one digit from 10 , then just one character in the number can be used one of 28 characters:
Solution 13 of the Unified State Examination task in computer science (control version No. 1 of the exam paper, Simulator 2018, S.S. Krylov, D.M. Ushakov):
Passing the rehearsal exam 9
flows by 100
a person in everyone. Each of them is assigned a special code consisting of a thread number and a number in the stream. When encoding these participant numbers, the verification system uses the minimum possible number of bit, the same for each participant, separately for the thread number and the number in the stream. In this case, the minimum possible and identically integer number is used to write the code bytes.
What is the amount of information in bytes recorded by the device after registration 80
participants?
Please indicate only the number in your answer.
Answer: 160
✍ Show solution:
- The code consists of two components: 1. stream number (in bits) and 2. sequence number (in bits). Let's find the number of bits required to store them:
Solution 13 of the Unified State Exam assignment in computer science (K. Polyakov, v. 4):
Message volume – 7.5 KB. It is known that this message contains 7680 characters. What is the power of the alphabet?
Answer: 256
✍ Show solution:
- Let's use the formula:
I = 7.5 KB = 7.5 * 2 13 bits
\[ K = \frac (7.5 * 2^(13))(7680) = \frac (7.5 * 2^(13))(15 * 2^9) = \frac (7.5 * 16 )(15) = 8\]
2 8 = 256
various characters
(according to the formula Q = 2 N)
Solution 13 of the Unified State Exam assignment in computer science (K. Polyakov, v. 6):
The power of the alphabet is 256
. How many KB of memory will be required to save 160 pages of text, containing on average 192 characters on every page?
Answer: 30
✍ Show solution:
- Let's find the total number of characters on all pages (for convenience, we will use powers of two):
\[ I = (15 * 2^(11)) * 2^3 bits = \frac (15 * 2^(14))(2^(13)) KB = 30 KB \]
I = 30 KB
Solution 13 of the Unified State Exam assignment in computer science (K. Polyakov, v. 3):
The two texts contain the same number of characters. The first text is composed in the alphabet with capacity 16 characters, and the second text is in the alphabet from 256 characters.
How many times more information is in the second text than in the first?
Answer: 2
✍ Show solution:
- Formula needed Q = 2n
- Let's calculate the required number of bits to store one character for both texts:
Solution 13 of the Unified State Exam assignment in computer science (K. Polyakov, v. 17):
The database stores records containing information about dates. Each record contains three fields: year (date from 1 to 2100), month number (day from 1 to 12) and the number of the day in the month (day from 1 to 31). Each field is written separately from other fields using the smallest possible number of bits.
Determine the minimum number of bits required to encode one record.
Solution 13 of the Unified State Exam assignment in computer science (K. Polyakov, v. 58):
When registering in a computer system, each user is given a password consisting of 9 characters. The symbols are used uppercase and lowercase letters of the Latin alphabet (in it 26 characters), and also decimal digits. The database allocates the same and minimum possible integer number of bytes to store information about each user. In this case, character-by-character encoding of passwords is used; all characters are encoded with the same and minimum possible number of bits. In addition to the password itself, additional information is stored in the system for each user, for which purpose 18 bytes per user. In the computer system it is allocated 1 KB to store information about users.
About what the greatest number User information can be stored in the system? In your answer, write down only an integer - the number of users.
Answer: 40
✍ Show solution:
- Since both uppercase and lowercase letters are used, we get a total of character options for encoding:
How to solve this problem step by step?
- Find the number of characters in the alphabet.
- Find out how many bits of information occupies 1 character in this alphabet.
- Find out how many bits of information 1 password takes.
- Find out the minimum possible number of bytes that can be used to encode 1 password.
- Calculate how many bytes are needed to store 20 passwords.
- Subtract the number of bytes calculated in step 5 from 400 (how many were allocated).
- Divide the result by 20, since it corresponds to 20 users.
Step 1.
The alphabet, according to the conditions of the problem, has exactly 12 characters.
Step 2.
Let's look at the minimum number of bits needed to allocate per 1 character from an alphabet consisting of 12 characters.
If we allocated 1 bit of information, it would be able to encode 1 character of an alphabet consisting of no more than 2 characters. And we have 12 of them. This means that 1 bit is not enough.
- If you select 2 bits, then you can encode a character in an alphabet of maximum 4 characters. Few.
- If you select 3 bits, then you can encode a character in an alphabet of maximum 8 characters. Few.
- If you select 4 bits, then you can encode a character in an alphabet of a maximum of 16 characters. Enough.
This means that 4 bits are enough to encode 1 character of this alphabet.
Step 3.
- 1 password consists of 15 characters.
- 1 character “weighs” 4 bits.
- This means that 15 characters will “weigh” 15x4=60 bits.
Step 4.
- 1 password is conditionally encoded minimally possible whole quantity byte.
- How many bytes are needed to store a 60-bit password?
- 7 bytes is not enough, since 7 bytes = 7x8 = 56 bits.
- 8 bytes is just right: 8 bytes = 8x8 = 64 bits.
- Therefore, 8 bytes are needed to store one password.
Step 5
- One password weighs 8 bytes.
- We have 20 users (and 20 passwords, respectively).
- Therefore, they “weigh” 8x20 = 160 bytes.
Step 6
- 400 bytes were allocated for passwords.
- Purely for storage, according to point 5, 160 bytes were used.
- So, it remains for additional information 400-160=240 bytes.
Analysis of task 13 of the Unified State Exam 2016 in computer science from the demo version. This is a task on the ability to calculate the information volume of a message (to be able to estimate the amount of memory required to store information). This is a task of an increased level of difficulty. Approximate time to complete the task is 3 minutes.
Task 13:
When registering in a computer system, each user is given a password consisting of 15 characters and containing only characters from the 12-character set: A, B, C, D, E, F, G, H, K, L, M, N. In the database The data for storing information about each user is allocated the same and the minimum possible integer number of bytes. In this case, character-by-character encoding of passwords is used; all characters are encoded with the same and minimum possible number of bits. In addition to the password itself, additional information is stored in the system for each user, for which an integer number of bytes are allocated; this number is the same for all users. To store information about 20 users, 400 bytes were required. How many bytes are allocated to store additional information about one user? In your answer, write down only an integer - the number of bytes.
Answer: ________
Analysis of task 13 of the Unified State Exam 2016:
We determine how many bits are needed for one character using the formula N=2 i , where:
N is the number of characters in the set,
i is the number of bits per character.
12=2 4
i=4
Our password consists of 15 characters, therefore the information volume of one password is equal to:
15x4 = 60 bits
Passwords are encoded with the minimum possible integer number of bytes, that is:
60:8 = 8 bytes(take the nearest integer upward).
But in addition to the password itself, additional information is stored in the system for each user. We need to find out the scope of this very information.
To store information about 20 users, 400 bytes were required, that is, 400:20 = 20 bytes allocated for one user.
Of these 20 bytes, 8 are the password, and the rest are additional information. That is, the amount of additional information about one user is equal.
Reviews