Professional Documents
Culture Documents
...
...
We can use the verb “to get” instead of the verb “to be ………………………..
- the action is more important than the person who carries it, as in news
headlines, newspaper articles, formal notices ….
Two teenagers were injured last night…
NOTE: The passive is used more often in written English, than in spoken English.
We use by + agent to say who / what carries out the action. We use with +
instrument / material / ingredient to say what the agent used.
A kite was made by John. It was made with paper, paint and string.
The agent is often omitted when the subject of the active is: people, one,
someone/ somebody, they, he, ….
People eat a lot of junk food nowadays.
A lot of junk food is eaten nowadays.
With verbs which take two objects such as bring, tell, read, pass, pay, feed, allow,
…, we can make two different passives. However, it is more usual to bring with
the person (in passives).
Jessica showed Rod a picture.
a) Rod was show a picture by Jessica.
b) A picture was shown to Rod by Jessica.
Personal / Impersonal Construction
Say
Believe
Think
Know
Expect
Consider
Understand
…
ifstream f ("date.in");
ofstream g ("date.out");
int main ()
{
int a[100], n, i, b[100], m, j, c[200], k, t;
f >> n;
for ( i = 1; i <= n; i ++ )
f >> a[i];
f >> m;
for ( i = 1; i <= m; i ++ )
f >> b[i];
i = 1;
j = 1;
k = 0;
while (i <= n && j <= m)
if(a[i] < b[j])
/*k++;
c[k] = a[i];
i++;*/
c[++k] = a[i++];
else
c[++k] = b[j++];
for(t = i; t <= n; t++)
c[++k] = a[t];
for(t = j; t <= m; t++)
c[++k] = b[t];
for ( i = 1; i <= n+m; i ++ )
g << c[i] << ' ';
return 0;
}
// cautare binara
#include <fstream>
ifstream f ("date.in");
ofstream g ("date.out");
return 0;
}
int main ()
{
int v[100], n, i, x;
f >> n >> x;
for ( i = 1; i <= n; i ++ )
f >> v[i];
g << CautBin(x, v, n);
return 0;
}