Selasa, 25 Oktober 2011
Algoritma dan Pemograman
# 1
PENGANTAR ALGORITMA PEMROGRAMAN
Definisi Program/Pemrograman
- Adalah kumpulan instruksi-instruksi tersendiri yang biasanya disebut source code yang
dibuat oleh programmer (pembuat program)
Paradigma Pemrograman
1. Pemrograman Prosedural
¾ Berdasarkan urutan-urutan, sekuensial
¾ Program adalah suatu rangkaian prosedur untuk memanipulasi data. Prosedur
merupakan kumpulan instruksi yang dikerjakan secara berurutan.
¾ Harus mengingat prosedur mana yang sudah dipanggil dan apa yang sudah
diubah.
2. Pemrograman Fungsional
¾ Berdasarkan teori fungsi matematika
¾ Fungsi merupakan dasar utama program.
3. Pemrograman Terstruktur
¾ Secara berurutan dan terstrukrtur.
¾ Program dapat dibagai-bagi menjadi prosedur dan fungsi.
¾ Contoh: PASCAL dan C
4. Pemrograman Modular
¾ Pemrograman ini membentuk banyak modul.
¾ Modul merupakan kumpulan dari prosedur dan fungsi yang berdiri sendiri
¾ Sebuah program dapat merupakan kumpulan modul-modul.
¾ Contoh: MODULA-2 atau ADA
5. Pemrograman Berorientasi Obyek
¾ Pemrograman berdasarkan prinsip obyek, dimana obyek memiliki
data/variabel/property dan method/event/prosedur yang dapat dimanipulasi
¾ Contoh: C++, Object Pascal, dan Java.
6. Pemrograman Berorientasi Fungsi
¾ Pemrograman ini berfokus pada suatu fungsi tertentu saja. Sangat tergantung
pada tujuan pembuatan bahasa pemrograman ini.
¾ Contoh: SQL (Structured Query Language), HTML, XML dan lain-lain.
7. Pemrograman Deklaratif
¾ Pemrograman ini mendeskripsikan suatu masalah dengan pernyataan daripada
memecahkan masalah dengan implementasi algoritma.
¾ Contoh: PROLOG
Struktur Sistem Komputer
Siklus Hidup Perangkat Lunak (Software)
Dilihat dari Struktur Sistem Komputer dan Siklus diatas, Algoritma Pemrograman dan Struktur
Data menempati posisi dibagian software dan di bagian implementasi karena bagian
implementasi merupakan bagian dimana pemrogram melakukan proses coding (pembuatan
program).
Komputer
Sistem Operasi
Bhs. Pemrograman
Progam Aplikasi
Pemakai
Hardware
Software
Brainware
Requirement Desain Implementasi Testing
Algoritma
Asal kata Algoritma berasal dari nama Abu Ja’far Mohammed Ibn Musa al-Khowarizmi,
ilmuan Persia yang menulis kitab al jabr w’al-muqabala (rules of restoration and reduction)
sekitar tahun 825 M
Definisi Algoritma
- Algoritma adalah urutan langkah logis tertentu untuk memecahkan suatu masalah.
Yang ditekankan adalah urutan langkah logis, yang berarti algoritma harus mengikuti
suatu urutan tertentu, tidak boleh melompat-lompat. (Dari Microsoft Press Computer
and Internet Dictionaary 1997, 1998)
- Alur pemikiran dalam menyelesaikan suatu pekerjaan yang dituangkan secara tertulis.
Yang ditekankan pertama adalah alur pikiran, sehingga algoritma seseorang dapat
juga berbeda dari algoritma orang lain. Sedangkan penekanan kedua adalah tertulis,
yang artinya dapat berupa kalimat, gambar, atau tabel tertentu. (Dari Algoritma dan
Struktur Data dengan C, C++, dan Java oleh Moh Sjukani hal 1)
Contoh Algoritma dalam kehidupan nyata:
- Jika seorang ingin memasak atau membuat kue, baik itu melihat resep ataupun tidak
pasti akan melakukan suatu langkah-langkah tertentu sehingga masakannya atau
kuenya jadi.
- Jika seseorang ingin mengirim surat kepada kenalannya di tempat lain, langkah yang
harus dilakukan adalah:
¾ Menulis surat
¾ Surat dimasukkan ke dalam amplop tertutup
¾ Amplop ditempeli perangko secukupnya.
¾ Pergi ke Kantor Pos terdekat untuk mengirimkannya.
Dalam bidang komputer, algoritma sangat diperlukan dalam menyelesaikan berbagai
masalah pemrograman, terutama dalam komputasi numeris. Tanpa algoritma yang dirancang
baik maka proses pemrograman akan menjadi salah, rusak, atau lambat dan tidak efisien.
Pelaksana algoritma adalah Komputer.
Manusia dan komputer berkomunikasi dengan cara: manusia memberikan perintah-perintah
kepada komputer berupa instruksi-instruksi yang disebut program.
Alat yang digunakan untuk membuat program tersebut adalah bahasa pemrograman.
Bahasa pemrograman sangat bermacam-macam: C, C++, Pascal, Java, C#, Basic, Perl,
PHP, ASP, JSP, J#, J++ dan masih banyak bahasa lainnya. Dari berbagai bahasa
pemrograman cara memberikan instruksinya berbeda-beda namun bertujuan menghasilkan
output yang sama.
Kriteria Algoritma Menurut Donald E. Knuth
1. Input: algoritma dapat memiliki nol atau lebih inputan dari luar.
2. Output: algoritma harus memiliki minimal satu buah output keluaran.
3. Definiteness (pasti): algoritma memiliki instruksi-instruksi yang jelas dan tidak ambigu.
4. Finiteness (ada batas): algoritma harus memiliki titik berhenti (stopping role).
5. Effectiveness (tepat dan efisien): algoritma sebisa mungkin harus dapat dilaksanakan
dan efektif. Contoh instruksi yang tidak efektif adalah: A = A + 0 atau A = A * 1
Namun ada beberapa program yang memang dirancang untuk unterminatable: contoh Sistem
Operasi
Jenis Proses Algoritma
1. Sequence Process: instruksi dikerjakan secara sekuensial, berurutan.
2. Selection Process: instruksi dikerjakan jika memenuhi kriteria tertentu
3. Iteration Process: instruksi dikerjakan selama memenuhi suatu kondisi tertentu.
4. Concurrent Process: beberapa instruksi dikerjakan secara bersama.
Contoh Algoritma
Algoritma menghitung luas persegi panjang:
1. Masukkan panjang (P)
2. Masukkan lebar (L)
3. L ← P * L
4. Tulis L
Dalam Algoritma, tidak dipakai simbol-simbol / sintaks dari suatu bahasa pemrograman
tertentu, melainkan bersifat umum dan tidak tergantung pada suatu bahasa pemrograman
apapun juga. Notasi-notasi algoritma dapat digunakan untuk seluruh bahasa pemrograman
manapun.
Definisi Pseudo-code
Kode atau tanda yang menyerupai (pseudo) atau merupakan pejelasan cara menyelesaikan
suatu masalah. Pseudo-code sering digunakan oleh manusia untuk menuliskan algoritma.
Problem: mencari bilangan terbesar dari dua bilangan yang diinputkan
Contoh Pseudo-code:
1. Masukkan bilangan pertama
2. Masukkan bilangan kedua
3. Jika bilangan pertama > bilangan kedua maka kerjakan langkah 4, jika tidak, kerjakan
langkah 5.
4. Tampilkan bilangan pertama
5. Tampilkan bilangan kedua
Contoh Algoritma
1. Masukkan bilangan pertama (a)
2. Masukkan bilangan kedua (b)
3. if a > b then kerjakan langkah 4
4. print a
5. print b
Contoh Lain Algortima dan Pseudo-code:
Pseudo-code Algoritma
Nilai A ditambah dengan 5 A ← A + 5
Cetak nilai A bila lebih besar dari 10 IF A > 10 THEN PRINT A
Dari dua bilangan A dan B, cari
bilangan yang terbesar
IF A > B THEN PRINT A ELSE PRINT
B
Langkah-langkah dalam pemrograman komputer
1. Mendefinisikan masalah
Ini merupakan langkah pertama yang sering dilupakan orang. Menurut hukum Murphy
(oleh Henry Ledgard):
“Semakin cepat menulis program, akan semakin lama kita dapat menyelesaikannya”.
Hal tersebut berlaku untuk permasalahan yang kompleks. Tentukan masalahnya, apa
saja yang harus dipecahkan dengan menggunakan komputer, dan apa inputan serta
outputnya.
2. Menemukan solusi
Setelah masalah didefinisikan, maka langkah berikutnya adalah menentukan solusi.
Jika masalah terlalu kompleks, maka ada baiknya masalah tersebut dipecah menjadi
modul-modul kecil agar lebih mudah diselesaikan.
Contohnya masalah invers matriks, maka kita dapat membagi menjadi beberapa
modul:
¾ meminta masukkan berupa matriks bujur sangkar
¾ mencari invers matriks
¾ menampilkan hasil kepada pengguna
Dengan penggunaan modul tersebut program utama akan menjadi lebih singkat dan
mudah dilihat.
3. Memilih algoritma
Pilihlah algoritma yang benar-benar sesuai dan efisien untuk permasalahan tersebut
4. Menulis program
Pilihlah bahasa yang mudah dipelajari, mudah digunakan, dan lebih baik lagi jika
sudah dikuasai, memiliki tingkat kompatibilitas tinggi dengan perangkat keras dan
platform lainnya.
5. Menguji program
Setelah program jadi, silahkan uji program tersebut dengan segala macam
kemungkinan yang ada, termasuk error-handlingnya sehingga program tersebut akan
benar-benar handal dan layak digunakan.
6. Menulis dokumentasi
Menulis dokumentasi sangat penting agar pada suatu saat jika kita akan melakukan
perubahan atau membaca source code yang sudah kita tulis dapat kita ingat-ingat lagi
dan kita akan mudah membacanya. Caranya adalah dengan menuliskan komentar-
komentar kecil tentang apa maksud kode tersebut, untuk apa, variabel apa saja yang
digunakan, untuk apa, dan parameter-parameter yang ada pada suatu prosedur dan
fungsi.
7. Merawat program
Program yang sudah jadi perlu dirawat untuk mencegah munculnya bug yang
sebelumnya tidak terdeteksi. Atau mungkin juga pengguna membutuhkan fasilitas
baru yang dulu tidak ada.
SOAL ALGORITMA
1. Buatlah algoritma untuk menghitung konversi suhu.dari Celcius menjadi Reamur dan
Farenheit.
Input: suhu dalam Celcius
Proses: R = 4/5 * C dan F = 9/5 * C + 32
Output: suhu dalam Reamur dan Farenheit
2. Buatlah algoritma untuk mencari sisi miring dari suatu segitiga siku-siku, jika diketahui
panjang sisi yang membentuk sudut siku-siku.
Input: a dan b, yaitu panjang sisi pembentuk sudut siku-siku
Proses: 22
bac +=
Ouput: sisi miring (c)
3. Buatlah algoritma untuk menentukan suatu bilangan genap atau ganjil
Input: suatu bilangan
Ouput: genap / ganjil
4. Buatlah algoritma untuk menentukan suatu bilangan adalah bilangan prima atau
bukan.
5. Buatlah algoritma untuk untuk menghitung akar-akar persamaan kuadrat dengan
rumus D = B2
– 4 * A * C
Jika D < 0 maka didapat akar imajiner
Jika D = 0 maka X1 = X2 yang didapat dari D = -B / (2 * A)
Jika D > 0 maka ada dua akar ADBX *2/1 +−= dan ADBX *2/2 −−=
NEXT
Generasi Bahasa Pemrograman, Proses Kompilasi, FlowChart, mengenal C++ dan C#
PENGANTAR ALGORITMA PEMROGRAMAN
Definisi Program/Pemrograman
- Adalah kumpulan instruksi-instruksi tersendiri yang biasanya disebut source code yang
dibuat oleh programmer (pembuat program)
Paradigma Pemrograman
1. Pemrograman Prosedural
¾ Berdasarkan urutan-urutan, sekuensial
¾ Program adalah suatu rangkaian prosedur untuk memanipulasi data. Prosedur
merupakan kumpulan instruksi yang dikerjakan secara berurutan.
¾ Harus mengingat prosedur mana yang sudah dipanggil dan apa yang sudah
diubah.
2. Pemrograman Fungsional
¾ Berdasarkan teori fungsi matematika
¾ Fungsi merupakan dasar utama program.
3. Pemrograman Terstruktur
¾ Secara berurutan dan terstrukrtur.
¾ Program dapat dibagai-bagi menjadi prosedur dan fungsi.
¾ Contoh: PASCAL dan C
4. Pemrograman Modular
¾ Pemrograman ini membentuk banyak modul.
¾ Modul merupakan kumpulan dari prosedur dan fungsi yang berdiri sendiri
¾ Sebuah program dapat merupakan kumpulan modul-modul.
¾ Contoh: MODULA-2 atau ADA
5. Pemrograman Berorientasi Obyek
¾ Pemrograman berdasarkan prinsip obyek, dimana obyek memiliki
data/variabel/property dan method/event/prosedur yang dapat dimanipulasi
¾ Contoh: C++, Object Pascal, dan Java.
6. Pemrograman Berorientasi Fungsi
¾ Pemrograman ini berfokus pada suatu fungsi tertentu saja. Sangat tergantung
pada tujuan pembuatan bahasa pemrograman ini.
¾ Contoh: SQL (Structured Query Language), HTML, XML dan lain-lain.
7. Pemrograman Deklaratif
¾ Pemrograman ini mendeskripsikan suatu masalah dengan pernyataan daripada
memecahkan masalah dengan implementasi algoritma.
¾ Contoh: PROLOG
Struktur Sistem Komputer
Siklus Hidup Perangkat Lunak (Software)
Dilihat dari Struktur Sistem Komputer dan Siklus diatas, Algoritma Pemrograman dan Struktur
Data menempati posisi dibagian software dan di bagian implementasi karena bagian
implementasi merupakan bagian dimana pemrogram melakukan proses coding (pembuatan
program).
Komputer
Sistem Operasi
Bhs. Pemrograman
Progam Aplikasi
Pemakai
Hardware
Software
Brainware
Requirement Desain Implementasi Testing
Algoritma
Asal kata Algoritma berasal dari nama Abu Ja’far Mohammed Ibn Musa al-Khowarizmi,
ilmuan Persia yang menulis kitab al jabr w’al-muqabala (rules of restoration and reduction)
sekitar tahun 825 M
Definisi Algoritma
- Algoritma adalah urutan langkah logis tertentu untuk memecahkan suatu masalah.
Yang ditekankan adalah urutan langkah logis, yang berarti algoritma harus mengikuti
suatu urutan tertentu, tidak boleh melompat-lompat. (Dari Microsoft Press Computer
and Internet Dictionaary 1997, 1998)
- Alur pemikiran dalam menyelesaikan suatu pekerjaan yang dituangkan secara tertulis.
Yang ditekankan pertama adalah alur pikiran, sehingga algoritma seseorang dapat
juga berbeda dari algoritma orang lain. Sedangkan penekanan kedua adalah tertulis,
yang artinya dapat berupa kalimat, gambar, atau tabel tertentu. (Dari Algoritma dan
Struktur Data dengan C, C++, dan Java oleh Moh Sjukani hal 1)
Contoh Algoritma dalam kehidupan nyata:
- Jika seorang ingin memasak atau membuat kue, baik itu melihat resep ataupun tidak
pasti akan melakukan suatu langkah-langkah tertentu sehingga masakannya atau
kuenya jadi.
- Jika seseorang ingin mengirim surat kepada kenalannya di tempat lain, langkah yang
harus dilakukan adalah:
¾ Menulis surat
¾ Surat dimasukkan ke dalam amplop tertutup
¾ Amplop ditempeli perangko secukupnya.
¾ Pergi ke Kantor Pos terdekat untuk mengirimkannya.
Dalam bidang komputer, algoritma sangat diperlukan dalam menyelesaikan berbagai
masalah pemrograman, terutama dalam komputasi numeris. Tanpa algoritma yang dirancang
baik maka proses pemrograman akan menjadi salah, rusak, atau lambat dan tidak efisien.
Pelaksana algoritma adalah Komputer.
Manusia dan komputer berkomunikasi dengan cara: manusia memberikan perintah-perintah
kepada komputer berupa instruksi-instruksi yang disebut program.
Alat yang digunakan untuk membuat program tersebut adalah bahasa pemrograman.
Bahasa pemrograman sangat bermacam-macam: C, C++, Pascal, Java, C#, Basic, Perl,
PHP, ASP, JSP, J#, J++ dan masih banyak bahasa lainnya. Dari berbagai bahasa
pemrograman cara memberikan instruksinya berbeda-beda namun bertujuan menghasilkan
output yang sama.
Kriteria Algoritma Menurut Donald E. Knuth
1. Input: algoritma dapat memiliki nol atau lebih inputan dari luar.
2. Output: algoritma harus memiliki minimal satu buah output keluaran.
3. Definiteness (pasti): algoritma memiliki instruksi-instruksi yang jelas dan tidak ambigu.
4. Finiteness (ada batas): algoritma harus memiliki titik berhenti (stopping role).
5. Effectiveness (tepat dan efisien): algoritma sebisa mungkin harus dapat dilaksanakan
dan efektif. Contoh instruksi yang tidak efektif adalah: A = A + 0 atau A = A * 1
Namun ada beberapa program yang memang dirancang untuk unterminatable: contoh Sistem
Operasi
Jenis Proses Algoritma
1. Sequence Process: instruksi dikerjakan secara sekuensial, berurutan.
2. Selection Process: instruksi dikerjakan jika memenuhi kriteria tertentu
3. Iteration Process: instruksi dikerjakan selama memenuhi suatu kondisi tertentu.
4. Concurrent Process: beberapa instruksi dikerjakan secara bersama.
Contoh Algoritma
Algoritma menghitung luas persegi panjang:
1. Masukkan panjang (P)
2. Masukkan lebar (L)
3. L ← P * L
4. Tulis L
Dalam Algoritma, tidak dipakai simbol-simbol / sintaks dari suatu bahasa pemrograman
tertentu, melainkan bersifat umum dan tidak tergantung pada suatu bahasa pemrograman
apapun juga. Notasi-notasi algoritma dapat digunakan untuk seluruh bahasa pemrograman
manapun.
Definisi Pseudo-code
Kode atau tanda yang menyerupai (pseudo) atau merupakan pejelasan cara menyelesaikan
suatu masalah. Pseudo-code sering digunakan oleh manusia untuk menuliskan algoritma.
Problem: mencari bilangan terbesar dari dua bilangan yang diinputkan
Contoh Pseudo-code:
1. Masukkan bilangan pertama
2. Masukkan bilangan kedua
3. Jika bilangan pertama > bilangan kedua maka kerjakan langkah 4, jika tidak, kerjakan
langkah 5.
4. Tampilkan bilangan pertama
5. Tampilkan bilangan kedua
Contoh Algoritma
1. Masukkan bilangan pertama (a)
2. Masukkan bilangan kedua (b)
3. if a > b then kerjakan langkah 4
4. print a
5. print b
Contoh Lain Algortima dan Pseudo-code:
Pseudo-code Algoritma
Nilai A ditambah dengan 5 A ← A + 5
Cetak nilai A bila lebih besar dari 10 IF A > 10 THEN PRINT A
Dari dua bilangan A dan B, cari
bilangan yang terbesar
IF A > B THEN PRINT A ELSE PRINT
B
Langkah-langkah dalam pemrograman komputer
1. Mendefinisikan masalah
Ini merupakan langkah pertama yang sering dilupakan orang. Menurut hukum Murphy
(oleh Henry Ledgard):
“Semakin cepat menulis program, akan semakin lama kita dapat menyelesaikannya”.
Hal tersebut berlaku untuk permasalahan yang kompleks. Tentukan masalahnya, apa
saja yang harus dipecahkan dengan menggunakan komputer, dan apa inputan serta
outputnya.
2. Menemukan solusi
Setelah masalah didefinisikan, maka langkah berikutnya adalah menentukan solusi.
Jika masalah terlalu kompleks, maka ada baiknya masalah tersebut dipecah menjadi
modul-modul kecil agar lebih mudah diselesaikan.
Contohnya masalah invers matriks, maka kita dapat membagi menjadi beberapa
modul:
¾ meminta masukkan berupa matriks bujur sangkar
¾ mencari invers matriks
¾ menampilkan hasil kepada pengguna
Dengan penggunaan modul tersebut program utama akan menjadi lebih singkat dan
mudah dilihat.
3. Memilih algoritma
Pilihlah algoritma yang benar-benar sesuai dan efisien untuk permasalahan tersebut
4. Menulis program
Pilihlah bahasa yang mudah dipelajari, mudah digunakan, dan lebih baik lagi jika
sudah dikuasai, memiliki tingkat kompatibilitas tinggi dengan perangkat keras dan
platform lainnya.
5. Menguji program
Setelah program jadi, silahkan uji program tersebut dengan segala macam
kemungkinan yang ada, termasuk error-handlingnya sehingga program tersebut akan
benar-benar handal dan layak digunakan.
6. Menulis dokumentasi
Menulis dokumentasi sangat penting agar pada suatu saat jika kita akan melakukan
perubahan atau membaca source code yang sudah kita tulis dapat kita ingat-ingat lagi
dan kita akan mudah membacanya. Caranya adalah dengan menuliskan komentar-
komentar kecil tentang apa maksud kode tersebut, untuk apa, variabel apa saja yang
digunakan, untuk apa, dan parameter-parameter yang ada pada suatu prosedur dan
fungsi.
7. Merawat program
Program yang sudah jadi perlu dirawat untuk mencegah munculnya bug yang
sebelumnya tidak terdeteksi. Atau mungkin juga pengguna membutuhkan fasilitas
baru yang dulu tidak ada.
SOAL ALGORITMA
1. Buatlah algoritma untuk menghitung konversi suhu.dari Celcius menjadi Reamur dan
Farenheit.
Input: suhu dalam Celcius
Proses: R = 4/5 * C dan F = 9/5 * C + 32
Output: suhu dalam Reamur dan Farenheit
2. Buatlah algoritma untuk mencari sisi miring dari suatu segitiga siku-siku, jika diketahui
panjang sisi yang membentuk sudut siku-siku.
Input: a dan b, yaitu panjang sisi pembentuk sudut siku-siku
Proses: 22
bac +=
Ouput: sisi miring (c)
3. Buatlah algoritma untuk menentukan suatu bilangan genap atau ganjil
Input: suatu bilangan
Ouput: genap / ganjil
4. Buatlah algoritma untuk menentukan suatu bilangan adalah bilangan prima atau
bukan.
5. Buatlah algoritma untuk untuk menghitung akar-akar persamaan kuadrat dengan
rumus D = B2
– 4 * A * C
Jika D < 0 maka didapat akar imajiner
Jika D = 0 maka X1 = X2 yang didapat dari D = -B / (2 * A)
Jika D > 0 maka ada dua akar ADBX *2/1 +−= dan ADBX *2/2 −−=
NEXT
Generasi Bahasa Pemrograman, Proses Kompilasi, FlowChart, mengenal C++ dan C#
Rabu, 19 Oktober 2011
Self Motivation
Is mistaken someone else motivating you demand. Nobody responsible for the sinking of the motivation that arise inside
you, but your own. Speech by the leader of the passion,
an exciting training programs or the full vision statement
beautiful sentences, all of it's only attempt at knocking on the door of your self-motivation.
If you do not open it forgive, beats as hard as anything not
useful. Because you are responsible for the career and
your life, then get up, wake yourself.
You are not responsible for the ups and downs of motivation of others.
Because you do not always know what their expectations. The motivation is always food borne illness
with hope. Provide a place for them to live up to expectations
together: between you and them. Later work shoulder to shoulder
to make it happen. Motivation always emerged from the excitement.
While the excitement found in the joint work.
**************************************************************
Did You Know!.Mithridates (132-63 BC) was the rulers of Pontus and the enemy
the great Roman Empire. Believing that he would be poisoned by
his enemies, Mithradates ' practicing ' by swallowing poison
small doses that are gradually increased with doses of poison. At the end
'exercise ' he became invulnerable and could not be poisoned.
Ironically, in a battle against the Romans. Mithridates was defeated
and cornered. Rather than endure the embarrassment. He attempted to commit suicide
by drinking poison. Of course useless. The end of his efforts,
Mithridates ordered a bodyguard
to kill with the sword.
**************************************************************
Wise Words Today.
Heart full of gratitude not only a virtue
the largest, but is also the parent
all other virtues.
(Cicero)
***********************************
in Indonesian :
Motivasi Diri
Adalah keliru menuntut orang lain memotivasi anda. Tak seorang pun
bertanggung jawab atas timbul tenggelamnya motivasi itu di dalam diri
anda, melainkan anda sendiri. Pidato pemimpin yang menggebu-gebu,
program pelatihan yang menggairahkan atau pernyataan visi yang penuh
kalimat indah, semua itu hanya usaha mengetuk pintu motivasi diri anda.
Bila anda tak berkenan membukanya, gedoran sekeras apa pun takkan
berguna. Karena anda bertanggung jawab atas perjalanan karier dan
hidup anda, maka bangunlah, bangunkan diri anda sendiri.
Anda pun tak bertanggung jawab pada naik turunnya motivasi orang lain.
Karena anda tak selalu tahu apa harapan mereka. Motivasi selalu bertalian
dengan harapan. Sediakan tempat bagi mereka untuk memenuhi harapan
bersama: antara anda dan mereka. Kemudian bekerjalah bahu-membahu
untuk mewujudkannya. Motivasi selalu muncul dari kegembiraan.
Sedangkan kegembiraan ditemukan dalam kerja bersama.
**************************************************************
Tahukah Anda!.Mithradates (131-63 SM) adalah penguasa negeri Pontus dan musuh
besar Kerajaan Roma. Karena percaya bahwa ia akan diracun oleh
musuh-musuhnya, Mithradates 'berlatih' dengan cara menelan racun
dosis kecil yang dengan secara bertahap ditingkatkan dosisnya. Di akhir
'latihan' ia menjadi kebal dan tak dapat diracuni.
Ironisnya, dalam sebuah pertempuran melawan Roma. Mithradates kalah
dan terpojok. Daripada menanggung malu. ia berusaha untuk bunuh diri
dengan meminum racun. Tentu saja sia-sia. Diakhir usahanya,
Mithradates memerintahkan seorang pengawal
untuk membunuhnya dengan pedang.
**************************************************************
Kata Bijak Hari Ini.
Hati yang penuh syukur bukan saja merupakan kebajikan
yang terbesar, melainkan merupakan pula induk
segala kebajikan yang lain.
(Cicero)
***********************************
robot
Japanese Researchers Create Robot
Claims to Think & Act Like a Man

A robot that can thought seems to be a thing that it is not
impossible any more. A researcher at Japan Named Osamu Hasegawa claimed to have
succeeded in creating robots that can learn from his experience and resolve the
problem.
Osamu says, the current development of robot technology is
very rapid. However, for a robot that can be thought of as distinct as human
beings, remains a constraint. Generally a robot can only do certain tasks that
are specified with a programming language.
According to him, this type of robot will not be too many
useful in everyday life. To that end he uses the Self Organising Incremental
Neural Network or called SOINN, an algorithm that allows the robot to learn
from her experiences.
In the lab, the robot is instructed to perform some tasks,
such as pouring the tea, holding a bottle, put the cups and others. With the
existence of such Labs, learning in robots will be able to perform the same
task at a later time.
Currently, his team is developing a method that this robot
can learn through the internet network. He hoped there would be a robot who can
think and connect directly with internet.
Selasa, 18 Oktober 2011
Senin, 17 Oktober 2011
Sedikit
demi sedikit lama-lama jadi bukit
Pepatah ini
sederhana saja, “sedikit demi sedikit, lama-lama menjadi bukit.” Kita biasa
memaknainya, bahwa bila kita mengumupulkan sesen demi sesen, pada saatnya kita
akan dapatkan sepundi. Namun sesungguhnya pepatah ini tak sekedar berbicara
tentang hidup hemat, atau ketekunan menabung.
Pepatah ini
menyiratkan tentang sesuatau yang lebih berharga dari sekedar sekantung keping
uang, yaitu: bila kita mampu mengumpulkan kebaikan dalam setiap
tindakan-tindakan kecil kita, maka kita akan dapati kebesaran dalam jiwa kita.
Bagaimanakah tindakan-tindakan kecil kita itu
mencerminkan kebesaran jiwa sang pemiliknya? Yaitu, bila disertai dengan
secerah kasih sayang didalamnya. Ucapan terima kasih, sesungging senyum, sapaan
ramah, atau pelukan bersahabat, adalah tindakan yang mungkin sepele saja. Namun
dalam liputan kasih sayang, ia jauh lebih tinggi daripada bukit tabungan anda.
Senin, 10 Oktober 2011
wise words about life
Wise Words of Albert Einstein
“Although I am a typical loner in daily life, my consciousness of belonging to the invisible community of those who strive for truth, beauty, and justice has preserved me from feeling isolated.”
“How strange is the lot of us mortals! Each of us is here for a brief sojourn; for what purpose he knows not, though he sometimes thinks he senses it. But without deeper reflection one knows from daily life that one exists for other people — first of all for those upon whose smiles and well-being our own happiness is wholly dependent, and then for the many, unknown to us, to whose destinies we are bound by the ties of sympathy. A hundred times every day I remind myself that my inner and outer life are based on the labors of other men, living and dead, and that I must exert myself in order to give in the same measure as I have received and am still receiving…“
“The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. He who knows it not and can no longer wonder, no longer feel amazement, is as good as dead, a snuffed-out candle. It was the experience of mystery–even if mixed with fear–that engendered religion. A knowledge of the existence of something we cannot penetrate, of the manifestations of the profoundest reason and the most radiant beauty, which are only accessible to our reason in their most elementary forms–it is this knowledge and this emotion that constitute the truly religious attitude; in this sense, and in this alone, I am a deeply religious man. I cannot conceive of a God who rewards and punishes his creatures, or has a will of the type of which we are conscious in ourselves.”
“A man’s value to the community depends primarily on how far his feelings, thoughts, and actions are directed towards promoting the good of his fellows. We call him good or bad according to how he stands in this matter. It looks at first sight as if our estimate of a man depended entirely on his social qualities.”
wise words about life
Some Things In Life Are Not Meant To Be
Many people spend their time trying to be like others, and don’t know how to just be themselves.Some people find it very difficult to be happy for others.
Nobody in the world can change the truth,
But the truth can change the lives of many.
Sincere or beautiful words are not always spoken by sincere or beautiful people.
Letting go is not always about giving up.
Sometimes it’s just accepting that some things in life are not meant to be.
Don’t regret your past, just regret the time you wasted with the wrong people.
Some people run away to be alone, others just to see who cares.
It’s Who You Think You’re Not
Learn from your mistakes, have no regrets, move on, and look forward to the future.The past may be painful, but we can either run from it, or we can learn from it.
It is better to have one moment of wonder than a lifetime of nothing special.
We should live our life so that we earn and keep the respect of those people we respect.
Be like the stars, shine your own light and don’t be afraid of the darkness.
It’s not who you are that stops you risking something, it’s who you think you’re not.
Our uniqueness is God-given, never compare yourself with others.
Every Ending Is A New Beginni
Just because someone doesn’t talk about their problems, doesn’t mean they don’t have any.Forget what’s gone, appreciate what you have now, and look forward to what may come.
It really is a big world out there, stuffed with possibility and other people, and our life, our routine, is a mere speck.
The best feelings in life are those that have no words to describe them.
The only things we should regret in life are the risks we did not take.
Every story has an ending, but in life every ending is a new beginning.
Those who we think are strong may cry themselves to sleep, and those who we think are weak may slay dragons.
We Sometimes Expect More From Other
Those who are able to see beauty in ordinary things have one of life’s rare gifts.Life passes some people by, and others it runs over.
Don’t allow so-called friends to talk you into making decisions that you know won’t make you truly happy.
Life is too short to waste time on those who do not appreciate what you do for them.
We never know how strong we are until that moment when being strong is the only choice we have.
It is sometimes good to be alone, but it is never good to be lonely.
We sometimes expect more from others, because we know we would do much for them.
Every day we should try and do something that will give us a better tomorrow.
It’s almost impossible to forget those who made us smile.
You Are Not Weak If You Forgive People
Fear is important, because sometimes it is the only thing that stops us doing something stupid.Do all the good you can, in all the places you can, to all the people you can, for as long as you can.
You are not weak if you forgive people, you are strong because you know people make mistakes.
It is more important that you understand yourself than it is for others to understand you.
The mistake that many people make is fearing they will make a mistake.
Knowing you have made someone feel better is one of the good feelings in life.
Our destiny is sometimes decided by the person we decide to be.
Sometimes Silence Has The Loudest Voice
The reward of a thing well done is to have done it.Everywhere is walking distance if you have the time.
The less you talk, the more you’re listened to.
There are times when silence has the loudest voice.
Listen, or thy tongue will keep thee deaf.
Refusing to have an opinion is a way of having one.
To profit from good advice requires more wisdom than to give it.
You Are Doomed If You Don’t Try
I think if you’re conscious of what you have, then you’re happy.If you’re conscious of what you don’t have, then you become unhappy.
The job of materialism and advertising is to make people conscious of what they don’t have and that breeds unhappiness.
(David McKee)
Vanity is the result of a delusion that someone is paying attention.
People judge you by your actions, not your intentions.
You may have a heart of gold, but so has a hard-boiled egg.
If you take too long in deciding what to do with your life, you’ll find you’ve done it.
If you wait, all that happens is that you get older.
You may be disappointed if you fail, but you are doomed if you don’t try.
Blessed is the person who is too busy to worry in the daytime and too sleepy to worry at night.
Our Last Breath Is The Beginning Of Eternity
A man’s wealth consists not in the visible blessings of fortune, but in the unseen riches of the mind.Our first breath is the beginning of death, and our last breath is the beginning of eternity.
Sometimes the best way to convince someone he is wrong is to let him have his way.
The intelligent man who is proud of his intelligence is like the condemned man who is proud of his large cell.
None are so empty as those who are full of themselves.
He who truly knows has no occasion to shout.
Men may doubt what you say, but they will believe what you do.
If you risk nothing, then you risk everything.
Sometimes you earn more doing the jobs that pay nothing.
Only Those Who Care Will Listen
If you cannot do great things, then do small things in a great way.Live for today and let the winds of enthusiasm sweep through you.
Establishing lasting peace in the world should be the main subject of education.
Time is always available for those who wish to use it.
The function of the human body is to carry our soul to the end of this life.
Do not overestimate the competition, and do not underestimate yourself.
Anyone can hear what you say, but only those who care will listen.
Sometimes We Just Need Someone To Listen
Never regret what you said, only regret what you didn’t say.Silence is sometimes trying to tell us something.
At the end of the day, all we need is to feel we are needed.
If you find a path with no obstacles, it probably doesn’t lead anywhere.
It’s not what you have in your life that counts, but who you have in your life.
Surround yourself with people that make you happy.
Sometimes we just need someone to listen.
However good or bad your life may be, be thankful you still have one
motivation
| ||||||||
motivation
Be not angry that you cannot make others as you wish them to be, since you cannot make yourself as you wish to be. ~Thomas à Kempis, Imitation of Christ, c.1420
You've got a lot of choices. If getting out of bed in the morning is a chore and you're not smiling on a regular basis, try another choice. ~Steven D. Woodhull (U.S. geologist, 1976-)
What saves a man is to take a step. Then another step. It is always the same step, but you have to take it. ~Antoine de Saint-Exupéry, Wind, Sand and Stars, 1939, translated from French by Lewis Galantière
Don't wait for the Last Judgment. It happens every day. ~Albert Camus, The Fall, 1956
Good for the body is the work of the body, and good for the soul is the work of the soul, and good for either is the work of the other. ~Henry David Thoreau
Remember, if you’re headed in the wrong direction, God allows U-turns! ~Allison Gappa Bottke
Anyone can carry his burden, however hard, until nightfall. Anyone can do his work, however hard, for one day. Anyone can live sweetly, patiently, lovingly, purely, till the sun goes down. And this is all life really means. ~Robert Louis Stevenson
If you don't like how things are, change it! You're not a tree. ~Jim Rohn
In what you say of another, apply the test of kindness, necessity and truth, and let nothing pass your lips without a 2/3 majority. ~Liz Armbruster, on www.robertbrault.com
See everything; overlook a great deal; correct a little. ~Pope John XXIII
Give thanks for what you are now, and keep fighting for what you want to be tomorrow. ~Fernanda Miramontes-Landeros
Enjoy when you can, and endure when you must. ~Johann Wolfgang von Goethe
You will turn over many a futile new leaf till you learn we must all write on scratched-out pages. ~Mignon McLaughlin, The Neurotic's Notebook, 1960
Now that it's all over, what did you really do yesterday that's worth mentioning? ~Coleman Cox
Laziness will cause you pain. ~Slogan on T-shirt worn at the Vee Arnis Jitsu School of Self-Defense
If you surrender to the wind, you can ride it. ~Toni Morrison
Do not confuse your vested interests with ethics. Do not identify the enemies of your privilege with the enemies of humanity. ~Max Lerner, Actions and Passions, 1949
Never miss an opportunity to make others happy, even if you have to leave them alone in order to do it. ~Author Unknown
Sometimes it's more important to be human, than to have good taste. ~Brecht
[O]wning your burdens is half the battle. ~From the television show Scrubs
Have courage for the great sorrows of life and patience for the small ones; and when you have laboriously accomplished your daily task, go to sleep in peace. ~Victor Hugo
We have to live today by what truth we can get today and be ready tomorrow to call it falsehood. ~William James
You can tell more about a person by what he says about others than you can by what others say about him. ~Leo Aikman
Seek freedom and become captive of your desires. Seek discipline and find your liberty. ~Frank Herbert, Dune Chronicles
The first and greatest victory is to conquer yourself; to be conquered by yourself is of all things most shameful and vile. ~Plato
Pick battles big enough to matter, small enough to win. ~Jonathan Kozel
Tough and funny and a little bit kind: that is as near to perfection as a human being can be. ~Mignon McLaughlin, The Second Neurotic's Notebook, 1966
I would not waste my life in friction when it could be turned into momentum. ~Frances Willard
Always when judging
Who people are,
Remember to footnote
The words "So far."
~Robert Brault, www.robertbrault.com
God grant me the serenity to accept the people I cannot change, the courage to change the one I can, and the wisdom to know it's me. ~Author unknown, variation of an excerpt from "The Serenity Prayer" by Reinhold Neibuhr
A day is Eternity's seed, and we are its Gardeners. ~Erika Harris, lifeblazing.com
People cannot go wrong, if you don't let them. They cannot go right, unless you let them. ~Augustus William Hare and Julius Charles Hare, Guesses at Truth, by Two Brothers, 1827
Excess on occasion is exhilirating. It prevents moderation from acquiring the deadening effect of a habit. ~W. Somerset Maugham, The Summing Up, 1938
The vow that binds too strictly snaps itself. ~Alfred Lord Tennyson, "The Last Tournament," Idylls of the King
I make the most of all that comes and the least of all that goes. ~Sara Teasdale, "The Philosopher"
Every one should keep a mental wastepaper basket and the older he grows the more things he will consign to it - torn up to irrecoverable tatters. ~Samuel Butler
Do what you can, with what you have, where you are. ~Theodore Roosevelt
Whatever we worship, short of God, is sure to be our undoing. ~Mignon McLaughlin, The Neurotic's Notebook, 1960
Toss your dashed hopes not into a trash bin but into a drawer where you are likely to rummage some bright morning. ~Robert Brault, www.robertbrault.com
I think it pisses God off if you walk by the color purple in a field somewhere and don't notice it.... People think pleasing God is all God care about. But any fool living in the world can see it always trying to please us back. ~Alice Walker, The Color Purple, 1982
Be pleasant until ten o'clock in the morning and the rest of the day will take care of itself. ~Elbert Hubbard
On the bathing-tub of King T'ang the following words were engraved: "If you would one day renovate yourself, do so from day to day. Yea, let there be daily renovation." ~Confucian Analects
The difference between ordinary and extraordinary is that little extra. ~Jimmy Johnson
What a strange narrowness of mind now is that, to think the things we have not known are better than the things we have known. ~Samuel Johnson
To sensible men, every day is a day of reckoning. ~John W. Gardner
There is a time for departure even when there's no certain place to go. ~Tennessee Williams (Thomas Lanier)
Face what you think you believe and you will be surprised. ~William Hale White
Just remember, there's a right way and a wrong way to do everything and the wrong way is to keep trying to make everybody else do it the right way. ~M*A*S*H, Colonel Potter
Don't look where you fall, but where you slipped. ~African Proverb
One can enjoy a wood fire worthily only when he warms his thoughts by it as well as his hands and feet. ~Odell Shepherd
Langganan:
Postingan (Atom)
