Rabu, 29 Februari 2012

Tugas Algoritma dan Pemrograman II - 2

Buatlah program yang menambahkan bilangan sampai berjumlah 100 serta rata-ratanya.(Repeat-until dan while-do)

Program dengan kondisi While-do
uses wincrt;
var data,jml,i:integer;
rata:real;
begin
jml:=0;
i:=0;
while jml<100 do
begin
write('Data ke-',i+1,'= ');
readln(data);
jml:=jml+data;
i:=i+1;
end;
rata:=jml/i;
writeln('Jumlanya =',jml);
writeln('Rata-ratanya = ',rata:0:2);

end.
Program dengan kondisi Repeat-until
uses wincrt;
var data,i,jml:integer;
rata:real;
begin
repeat
write('data ke-',i+1,'= ');
readln(data);
jml:=jml+data;
i:=i+1;
until
jml>=100;
rata:=jml/i;
writeln('Jumlahnya =',jml);
writeln('Rata-ratanya =',rata:0:2);
end.


Selasa, 28 Februari 2012

STIMULANT - UNIT 11

This activity practices Grammar Focus : Adverbs before adjectives.
Unscramble the sentences.
  1. extremely/it's/restaurant/expensive/an
    It's an extremely expensive restaurant.
  2. a/Seattle/city/large/is/fairly
    Seattle is a fairly large city.
  3. me/too/city/the/crowded for/is
    The city is crowded for me too.
  4. is/my/small/hometown/somewhat
    My hometown is somewhat small.
  5. noisy/very/it's/neighborhood/a
    It's a very noisy neighborhood.
  6. was/boring/trip/pretty/our
    Our trip was pretty boring.

This activity practices Grammar Focus : Adverbs before adjectives; conjunctions.
Choose the correct word to complete the paragraph. There is one extra word.
My hometown is fairly small. It's nice though. It's not too expensive, and the people are friendly.
The extra word is but.

This activity practices Grammar Focus : Modal verbs can and should.
Put the sentences in their correct order!
B: You shouldn't miss the museums.
A: I love love French coffee. That sounds like a good idea!
A: I'm going to take a trip to Paris . What do you think I should see?
B: After that, you should go to the one of the cafe's nearby.
A: OK. And I want ti visit Notre Dame Cathedral.

The correct order is:
A: I'm going to take a trip to Paris. What do you think I should see?
B: You shouldn't miss the museums.
A: OK. And I want ti visit Notre Dame Cathedral.
B: After that, you should go to the one of the cafe's nearby.
A: I love love French coffee. That sounds like a good idea!

STIMULANT - UNIT 10

These activities practices word power : activities.
Complete the sentences.
  1. Have you ever ridden a horse?
  2. I've never lost my cell phone.
  3. Have you ever climbed a mountain.
  4. I've ridden a bicycle to work for three years.
  5. I've never drunk tea with milk.
The activity practices Grammar Focus : For and Since
complete the sentences with for or since.
  1. I've had the glasses for three months.
  2. We haven't seen you for a long time.
  3. Cindy hasn't come to class since Tuesday.
  4. Our class has use this book since September.
  5. Laura traveled in Mexico for ten days.
  6. My aunt has had short hair since 2003.
This activity practices Grammar Focus : Present perfect vs Simple past.
Put the sentences in their correct order!
  • I loved food and the friendly people.
  • I want to travel there next year.
  • I haven't been to Portugal yet.
  • Last summer, I went to Spain.
  • I've visited many interesting countries in Europe.
The correct order is:
  • I've visited many interesting countries in Europe.
  • Last summer, I went to Spain.
  • I loved food and the friendly people.
  • I haven't been to Portugal yet.
  • I want to travel there next year.
This activity practices Grammar Focus : Present perfect; already, yet.
Choose the correct words to complete the conversation. There is one extra word.
A: Have you already invited Kristen to the party?
B: No, I haven't called her yet. But I e-mailed her two hours ago.
The extra word is never.

This activity practices Grammar Focus : Present perfect; already, yet.
Unscramble the sentences.
  1. aerobics class/been to/have/you/today
    Have you been to aerobics class today?
  2. have/been late/you/for class/ever
    Have you ever been late for class?
  3. visited/have/ever/you/New/York
    Have you ever visited New York?
  4. you/yet/have/cleaned/your room
    Have you cleaned your room yet?
  5. washed/has already/dishes/the/Sue
    Sue has already washed the dishes.
  6. haven't seen/yet/Kate and Joe/the movie
    Kate and Joe haven't seen the movie yet.
  7. eaten/Min Yun/has already/dinner
    Min Yun has already eaten dinner.

STIMULANT - UNIT 9

These activities practices Grammar Focus : Describing people and modifiers with participles and prepositions.
  1. ones/which/Millers/the/are
    Which ones are the millers?
  2. the living room/ones/they're/the/in
    They're the ones in the living room.
  3. Matt/is/one/which
    Which one is Matt?
  4. the blue shirt/he's/the tall/in/man
    He's the tall man in the blue shirt.
  5. wearing/the/a brown/Bill is/suit/man
    Bill is the man wearing a brown suit.

These activities practices Grammar Focus : Describing people and modifiers with participles and prepositions.
Choose the correct word to complete the conversation. There is one extra word.
A: Why don't you go and talk to Tim?
B: Tim? Which ones is he?
A: He's wearing jeans and he has a mustache.
B: I see him – he's the one talking to Kate.
The extra word is who.

These activities practices Grammar Focus : Describing people and modifiers with participles and prepositions.
Put the sentences in their correct order !
B: No, He's the one wearing a green T-shirt.
A: Hi, Jan. I'm looking for Nam Il Kim. Do you know him?
B: Yes, I do. He's the young man in the blue jeans.
A: Oh, yes, I see him. He's standing next to window.
A: Jeans? Is he the one with a button-down shirt and tennis shoes?

The correct order is:
A: Hi, Jan. I'm looking for Nam Il Kim. Do you know him?
B: Yes, I do. He's the young man in the blue jeans.
A: Jeans? Is he the one with a button-down shirt and tennis shoes?
B: No, He's the one wearing a green T-shirt.
A: Oh, yes, I see him. He's standing next to window.

source : blantikonline.blogspot.com

Senin, 27 Februari 2012

Rangkuman materi PTI,PEDAS dan SO

Dipagi yang agak mendung dan keadaan yang masih meriang ini saya mau ngeshare rangkuman materi Pengantar Teknologi Informasi, Pemrograman Dasar dan Sistem Operasi yang dirangkum oleh Retno Tri Wulandari temen sekelas ane. Biasalah cewek2 t rajin-rajin,karena gue buka jasa print makanya dapet nie rangkuman.hehe
Sekarang gakperlu capek-capek ngrangkum dech,makasih ya ret,hehe
Rangkuman PEDAS


Rangkuman PTI-1

Rangkuman PTI-2

Rangkuman SO-1

Rangkuman SO-2