- Array dua dimensi adalah array yang dapat membantu dalam pemrograman apabila arrray satu dimensi tidak mencukupi dalam menghasilkan suatu solusi. Array dua dimensi sebenarnya adalah array yang berisi array.
Output 1-10 menggunakan FOR
#include
main()
{
int n;
cout<<"Masukkan Angka : ";
cin>>n;
for(int i=1;i<=n;i++)
{
cout<}
cout<<"Stop!!";
}
- Output 1-10 menggunakan WHILE
#include
void main()
{
int i=1;
while(i<=10)
{
cout<}
cout<<"Stop!!";
}
- Output 1-10 menggunakan DO-WHILE
#include
void main()
{
int i=1;
do
{
cout<}
while(i<=10);
cout<<"Stop!!";
}
Kata sifat kuantitatif much dan little, dan kata sifat bilangan many and few, mempunyai tingkat
perbandingan (degrees comparison).
The degrees of comparison (tingkat perbandingan) berjumlah tiga tingkat, yaitu :
1. The positive degree (tingkat biasa)
2. The comparative (tingkat lebih/perbandingan)
3. The superlative (tingkat paling)
1) Kata sifat yang terdiri dari satu suku kata dan beberapa kata sifat bersuku kata dua dapat dibentuk comparative dengan menambahkan er atau r, dan superlative dengan menambahkan -est atau -st.
a) Jika positive berakhir dalam dua huruf mati atau dalam satu huruf mati yang didahului oleh dua huruf hidup, er dan est ditambahkan
Positive thick long short | Comparative thicker longer shorter | Superlative thickest longest shortest |
b) Jika positive berakhir dalam satu huruf mati dan huruf mati itu didahului oleh sebuah vokal pendek, huruf mati terakhir digandakan kemudian ditambahkan er dan est
Positive big = besar wet = basah hot = panas | Comparative bigger = lebih besar wetter = lebih basah hotter = lebih panas | Superlative biggest = terbesar wettest = terbasah hottest = terpanas |
c) Jika positive berakhir huruf e, hanya r dan st ditambahkan
Positive nice = baik fine = bagus wise = bijaksana | Comparative nicer = lebih baik finer = lebih bagus wiser = lebih bijak | Superlative nicest = terbaik finest = terbagus wisest = terbijaksana |
d) Jika positive berakhir huruf y, dan y itu didahului oleh huruf mati, y diubah menjadi I, lalu ditambahkan er dan est
Positive wry = miring dry = kering happy = bahagia | Comparative wrier = lebih miring drier = lebih kering happier = lebih bahagia | Superlative wriest =paling miring driest = terkering happiest = terbahagia |
e) Jika y didahului oleh sebuah huruf hidup, y tidak diubah menjadi i, tapi langsung ditambahkan r dan est
Positive gay = riang coy = pemalu grey = mendung | Comparative gayer = lebih riang coyer = lebih pemalu greyer = lebih mendung | Superlative gayest = teriang coyest = terpemalu greyest = termendung |
f) Kata sifat yang terdiri dari dua suku kata (two syllables) yang berakhiran some, ow, le, er, ditambahkan er dan est
Positive wholesome narrow noble clever | Comparative wholesomer narrower nobler clever | Superlative wholesomest narrowest noblest cleverest |
2) Kata sifat yang bersuku kata dua – two syllables (yang tekanan suaranya jatuh pada suku kata awal) atau lebih, ditambahkan more untuk membentuk comperatives dan most untuk superlatives
Positive famous = terkenal useful = berguna beautiful = cantik | Comparative more famous more useful more beautiful | Superlative most famous most useful most beautiful |
3) Beberapa kata sifat dibentuk dengan cara tak beraturan (irregular) untuk comparatives dan superlatives
Positive fore bad ill evil good hind late late little much nigh old old near | Comparative former worse worse worse better hinder later latter less more nigher older elder nearer | Superlative foremost,first worst worst worst best hindmost latest last least most nighest,next oldest eldest nearest |
Catatan 1 :
a) Former = yang terlebih dahulu/tadi ; yang pertama (di antara dua benda).
Contoh: I prefer the former fabric. Saya lebih menyukai kain yang terlebih dahulu
Of the two methods I prefer the former. Diantara kedua metoda itu saya lebih menyukai yang pertama
b) Later = yang belakangan
Contoh: I will take the later plane. Saya mau naik kapal terbang yang belakangan
c) Latter = yang belakangan/yang terakhir (di antara dua benda)
Contoh: I will take the latter book. Saya mau membeli buku yang terakhir (di antara dua buah buku)
d) Latest = yang belakangan/yang terakhir sampai sekarang
Contoh: What is the latest news of the war? bagaimanakah kabar terbaru (terakhir) perang itu?
e) Last = yang terakhir (yang paling akhir/penghabisan)
Contoh: This is our last opportunity. Inilah kesempatan terakhir kita
Z is the last letter of the alphabet. Z adalah huruf terakhir abjad
Penjelasan :
Later berarti yang belakangan atau lebih lambat, menunjuk pada waktu
Contoh: She came to school later than I. Ia datang ke sekolah lebih lambat daripada saya
Latter menunjuk pada urutan yang kedua di antara dua hal atau benda yang baru saja disebut
Contoh: Alexandria and Cairo are large cities; the latter has a population of over a million.
Alexandria dan Kairo adalah kota besar ; yang belakangan (yaitu Kairo) mempunyai penduduk lebih dari satu juta orang
Latest berarti yang terakhir sampai sekarang, sedangkan last berarti yang paling terakhir atau
penghabisan.
Jika kita katakan :
Did you read Mr. Green’s latest book? apakah anda membaca buku terakhir/terbaru Tuan Green?
Ini berarti bahwa Tn. Green boleh jadi akan mengarang lagi buku lain.
Kalau kita katakan :
Did you read Mr. Green’s last book? apakah anda membaca buku terakhir Tn. Green?
Ini berarti bahwa Tn. Green tidak atau tidak akan menulis buku lain lagi setelah buku yang
dimaksudkan tadi.
Catatan 2 :
a) Elder juga bentuk comperative dari old. Perhatikan perbedaan pemakaian elder dan older.
Contoh: John is my elder brother. John adalah kakak laki-laki saya
John is older than Lisa. John lebih tua daripada Lisa
b) Eldest juga bentuk superlative dari old. Perhatikan perbedaan pemakaian eldest dan oldest:
She is my eldest daughter. Ia putriku yang sulung
That is the oldest hotel in the city. Itulah hotel yang tertua di kota ini
Penjelasan :
Elder dan eldest dipakai pada orang saja, dan paling sering dipakai pada orang dalam hubungan
kekeluargaan. Sedangkan older dan oldest dipakai untuk menyatakan umur atau usia yang lebih tua atau tertua pada orang atau pun benda.
4) Ada enam buah kata adverbs (kata keterangan) dalam bentuk positive degrees, tetapi adjectives (kata sifat) dalam bentuk comparative dan supelative
Positive fore far in out neath up
| Comparative further farther inner outer nether upper
| Superlative furthest farthest innermost, inmost uttermost, utmost nethermost uppermost
|
5) Kata-kata sifat tertentu tidak dapat diperbandingkan
perfect = sempurna
unique = unik
supreme = tertinggi
preferable = lebih baik
natural = alamiah
right = benar
wrong = salah
etc.
POSITIVE DEGREE (tingkat positif) digunakan untuk menunjukkan bahwa sesuatu itu sama tingkatannya. Perbandingan untuk sesuatu yang tingkatannya sama digunakan as … as.
Contoh: Ali is 1,6 meters and Anwar is also 1,6 meters.
Ali is AS TALL AS Anwar.
This book cost Rp. 2.000,-. That book costs Rp. 2.000,-
This book is AS EXPENSIVE AS that one
Bentuk negatif dari perbandingan ini adalah sebagai berikut:
Contoh: Jakarta is not AS WARM AS Surabaya.
Rumus :
as + positive + as
no less + positive + than
not more + positive + than
Contoh:
This girl is as clever as that. Anak perempuan ini sepandai anak perempuan itu
This girl is no less clever than that. Anak perempuan ini sama pandainya dengan anak perempuan itu
That girl is not more clever than this. Gadis itu tidak lebih pandai daripada gadis ini
(berarti gadis itu dan gadis ini sama pandainya)
B. COMPARATIVE DEGREE digunakan apabila dua orang atau benda dikatakan tidak sama dalam hal sifat yang tertentu Yang satu lebih dari yang lain. Tingkat perbandingan dinyatakan dengan menggunakan “-er” jika kata sifat itu hanya memiliki satu suku kata“than.” (one syllable) serta di tambah kata
Contoh: Handi is TALLER than Anton
A train is FASTER than a bus
Jika kata sifat itu diakhiri dengan le, r, ow, y, maka tambahkan “-er”. Jika kata sifat diakhiri dengan “y”, maka berubah menjadi “ier.”
Contoh: This problem is simpler than the one we had yesterday.
The street in front of my house is narrower than this one.
Comparative degree yang menggunakan lebih dari satu suku kata (two or more syllables) digunakan “more.” Suku kata maksudnya beautiful = beau-ti-ful (3 suku kata); expensive = ex-pen-sive (tiga suku kata), useful = use-ful (dua suku kata)
Contoh: TV Program are more interesting than radio program.
My trousers are more expensive than yours.
Rumus :
comparative + than
Contoh:
Lisa is taller than her sister. Lisa lebih tinggi daripada saudara perempuannya
Jakarta is bigger than Surabaya. Jakarta lebih besar daripada Surabaya
PERHATIKAN!
Aturan untukk dua suku kata (two syllabels) lebih rumit. Beberapa adjective membentuk comparative and superlative dengan –er, -est., beberapa dengan more, most, yang lainnya boleh kedua-duanya.
Two-syllable adjectives dengan –er, -est
1. Adjective berakhiran –y yang didahului oleh konsonan
Contoh: pretty – prettier, dirty – dirtier, noisy – noisier, happy – happier, unhappy – unhappier
2. Adjective berakhiran –ple, -ble, dan biasanya –tle, -dle
Contoh: simple – simpler, noble – nobler, humble – humbler, subtle – subtler, idle – idler
Two-syllable adjective dengan more, most
1. Sebagian besar adjective berakhir suffix derivatif: -ous, -ish, -ful, -ing, -ed, etc.
Contoh: more famous, more useful, more childish, more interesting, more tired
2. Sebagian besar adjective berakhiran –ct, -nt, -st
Contoh: more exact, more recent, more honest, more urgent
Two-Syllable adjective dengan –er, -est or more, most (yang bentuk –er, -est kurang formal)
1. Adjective berakhiran –er: cleverer, tenderer, bitterer
2. Adjective berakhiran –ow: narrower, shallower, mellower
3. Adjective berakhiran –some: hansomer, wholesomer, lonesomer
4. Others: penekanan pada suku kata pertama: pleasanter, crueler, quieter, stupider
Penekanan pada suku kata kedua: politer, profounder, remoter, obscurer, sincerer, severer, securer
C. SUPERLATIVE DEGREE (tingkat superlative) yaitu apabila seseorang atau sebuah benda dikatakan melebihi atau mengungguli semua orang atau benda yang lain yang sama macamnya, kita menggunakan superlative degree dengan the … of.
Ketika kata sifat terdiri dari satu atau dua suku kata, digunakan dengan menambahkan “est.”
Contoh: The Wisma Nusantara building is THE TALLEST building in Jakarta.
An elephant is THE BIGGEST animal nowadays.
Ketika kata sifat berakhir dengan “y”, maka tingkat superlative berubah menjadi “iest.”
Contoh: Today is THE HAPPIEST day for me. It’s my birthday.
I don’t know which is THE HEAVIEST metal.
Kata sifat yang lebih dari dua suku kata menggunakan “MOST.”
Ali Imron 42109958 1DC01
Sumber : http://englishtutorial.co.ccIn most languages, tag questions are more common in colloquial spoken usage than in formal written usage. They can be an indicator of politeness, emphasis, or irony. They may suggest confidence or lack of confidence; they may be confrontational or tentative. Some examples showing the wide variety of structure possible in English are:
Some languages have a fixed phrase for the tag question, such as Russian не правда ли? (not true?), French n'est-ce pas? ("is it not?") and German (known as "Refrainfrage") such as "nicht wahr?", "ne?", "gell?", or "oder?" . Some languages (notably English and the Celtic languages) construct their question tags to match the preceding clause for every sentence, and are therefore quite variable: you've been here before, haven't you? You didn't buy it, did you etc.
Care should be taken by the confident speaker to make certain that any tag questions are not mistaken for a leading question.
English tag questions, when they have the grammatical form of a question, are atypically complex, because they vary according to four factors: the choice of auxiliary, the negation, the intonation pattern and the emphasis.
The English tag question is made up of an auxiliary verb and a pronoun. The auxiliary has to agree with the tense, aspect and modality of the verb in the preceding sentence. If the verb is in the perfect tense, for example, the tag question uses has or have; if the verb is in a present progressive form, the tag is formed with am, are, is; if the verb is in a tense which does not normally use an auxiliary, like the present simple, the auxiliary is taken from the emphatic do form; and if the sentence has a modal auxiliary, this is echoed in the tag:
A special case occurs when the main verb is to be in a simple tense. Here the tag question repeats the main verb, not an auxiliary:
(Not doesn't it?, as the normal rules for present simple would suggest.)
If the main verb is to have, either solution is possible:
English tag questions may contain a negation, but need not. When there is no special emphasis, the rule of thumb often applies that a positive sentence has a negative tag and vice versa:
These are sometimes called "balanced tag questions". However, it has been estimated that in normal conversation, as many as 40%-50%[1] of tags break this rule. "Unbalanced tag questions" (positive to positive or negative to negative) may be used for ironic or confrontational effects:
Patterns of negation can show regional variations. In North East Scotland, for example, positive to positive is used when no special effect is desired:
Note the following variations in the negation when the auxiliary is the I form of the copula:
English tag questions can have a rising or a falling intonation pattern. This is contrasted with Polish, French or German, for example, where all tags rise. As a rule, the English rising pattern is used when soliciting information or motivating an action, that is, when some sort of response is required. Since normal English yes/no questions have rising patterns (e.g. Are you coming?), these tags make a grammatical statement into a real question:
The falling pattern is used to underline a statement. The statement itself ends with a falling pattern, and the tag sounds like an echo, strengthening the pattern. Most English tag questions have this falling pattern.
Sometimes the rising tag goes with the positive to positive pattern to create a confrontational effect:
Sometimes the same words may have different patterns depending on the situation or implication.
It is interesting that as an all-purpose tag the London set-phrase innit (for "isn't it") is only used with falling patterns:
On the other hand, the adverbial tag questions (alright? OK? etc.) are almost always found with rising patterns. An occasional exception is surely.
English tag questions are normally stressed on the verb, but the stress is on the pronoun if there is a change of person.
This is often a rising tag (especially when the tag contains no negation), or the intonation pattern may be the typically English fall-rise.
In French, this would be expressed with et toi?, which is also a kind of tag question.
There are a number of variant forms that exist in particular dialects of English. These are generally invariant, regardless of verb, person or negativity.
The tag right? is essentially equivalent to the Spanish ¿verdad?. It is common in a number of dialects across the UK and US.
The tag eh? is of Scottish origin, and can be heard across much of Scotland, New Zealand, Canada and the North-Eastern United States. In Central Scotland (in and around Stirling and Falkirk), this exists in the form eh no? which is again invariant.
It is often erroneously assumed that Welsh speakers of English use a tag question to make an emphatic statement, eg: Lovely day, isn't it?
However, this is instead a cleft sentence of the form: Lovely day, is in it.
This has its roots in the Welsh language, and this type of cleft features in all extant Celtic languages. The lack of verb at the start of this construction coupled with the lack of rising intonation mark this as distinct from tag questions, which are used in Welsh English in the same manner as the majority of the UK.
Like English, the Celtic languages form tag questions by echoing the verb of the main sentence. The Goidelic languages, however, make little or no use of auxiliary verbs, so that it is generally the main verb itself which reappears in the tag. Some examples from Scottish Gaelic:
(Here, eil and fhaca are dependent forms of the irregular verbs tha and chunnaic.)
In Welsh, a special particle is used to mark tag questions, which are then followed by the inflected form of a verb. With the auxiliary bod, it is the inflected form of bod that is used:
With inflected non-preterite forms, the inflected form of the verb is used:
With preterite and perfect forms, the invariable do (also the affirmative answer to these questions) is used:
When a non-verbal element is being questioned, the question particle ai is used: