Mempelajari konsep Objek oriented tidak berarti semata-mata mempelajari bahasa pemrogramannya saja. Idealnya, dengan memahami konsep Object Ortiented, maka bahasa apapun dapat dijadikan tools untuk memperjelas konsep tersebut. Adakalah, kita langsung mempraktekkan bahasa pemrograman, tanpa memahami konsep OO yang terkadung di dalamnya. Tulisan beriku tini merangkum kembali konsep OO yang harus dikuasai dengan baik oleh seorang pemrogram.

Terdapat 5 materi besar dalam mempelajari Pemrograman Beroientasi Objek. Yaitu:

  1. Kelas dan Objek
  2. Interaksi antar Objek
  3. Relasi antar Objek
  4. Collection
  5. Advance topics:
    1. Abstract dan Interface
    2. Polimorphism
    3. Static dan Final 

Menurut Grady Booch, objek adalah benda; yang memiliki id, state, dan behavior. State adalah kumpulan value untuk setiap atribut yang menempel pada objek tersebut. Sedangkan behavior menunjukkan perilaku objek, direpresentasikan dengan metode/fungsi yang dapat mengubah state. Sebagai contoh, kelas Student/Mahasiswa adalah objek. Mahasiswa memilik atribut nama dan nomor induk serta IPK. Mahasiswa memiliki perilaku belajar agar value dari IPK dapat berubah.

minions

Kelas digambarkan sebagai template atau cetak biru dari sebuah objek. Kelas menggambarkan struktur dari sebuah objek. Template atau cetak biru ini menjadi dasar pembuatan objek. Objek yang berasal dari Kelas yang sama, akan memiliki atribut dan metode/fungsi yang sama. DIkatakan bahwa objek adalah instansiasi dari Kelas.

Mengacu ke notasi Unified Modeling Language (UML), kelas digambarkan dalam bentuk diagram sebagai berikut. Terdiri dari 3 area. Area pertama menunjukkan Nama Kelas, area kedua menunjukkan kumpulan atribut, dan area ketiga menunjukkan kumpulan metode/fungsi

KelasMahasiswa

Kelas Mahasiswa, notasi UM
L

Berdasarkan digram kelas tersebut, kita dapat melakukan pemrograman dengan bahasa Java sebagai berikut:

public class Mahasiswa {

String nama;
String nim;
Double ipk;

}

Sedangkan di bahasa PHP, didapat kode sebagai berikut:

class Mahasiswa {

private $nama;
private $nim;
private $ipk;

}

Sedangkan dalam bahasa Pyhton:

class Mahasiswa:

nama = “”
nim = “”
ipk = 0

Advertisements

Info Beasiswa 2019

January 1, 2019

Terlampir:

Hokkaido University Summer Program 2019, Japan (Fully Funded)
Deadline: 28 February 2019
Info: https://bit.ly/2QRrjPv

StuNed Program Short Course Scholarship for Indonesian Citizen 2019, Netherlands
Deadline:27 January 2019
Info: https://bit.ly/2rxz9Q2

Korea University International Summer Campus 2019, South Korea (Partial Funded)
Deadline: 15 May 2019
Info: https://bit.ly/2Qt4Clu

ACU Summer School 2019 at University of Mauritius [Fully Funded]
Deadline: 13 January 2019
Info: https://bit.ly/2KS8UN4

CERN Senior Fellowship Programme 2019 [Fully Funded] in Switzerland
Deadline: 04 March 2019
info: https://bit.ly/2RxU0y3

ETH Internship 2019 [Fully Funded] Summer Internship in Switzerland
Deadline: 31 December 2018
Info: https://bit.ly/2Pif2Po

UTSIP Japan Summer Internship 2019 Kashiwa [Fully Funded]
Deadline: 31 January 2019
Info: https://bit.ly/2FW8TsL

University of Tokyo Summer Internship Program Japan 2019 /UTokyo Amgen Scholars Program 2019 [Fully Funded]
Deadline: 01 February 2019
Info: https://bit.ly/2QxMYvR

Asian Graduate Student Fellowships 2019, Singapore
Deadline: 15 December 2019
Info: https://bit.ly/2UhFufx

CERN Junior Fellowship Programme 2019 [Fully Funded] in Switzerland
Deadline: 04 March 2019
Info: https://bit.ly/2EdduoB

UNIL Summer Internship in Switzerland 2019 [Fully Funded]
Deadline: 20 January 2019
Info:https://bit.ly/2AU1OmD

CERN Short Term Internships in Switzerland 2019 [Fully Funded] in Switzerland
Deadline: Different Deadlines for Each Program
Info: https://bit.ly/2QCrQVw

CERN Openlab Summer Program 2019 [Fully Funded] in Switzerland
Deadline:31 January 2019
Info: https://bit.ly/2APE1nS

UTRIP Summer Internship in Japan 2019 at University of Tokyo [Fully Funded]
Deadline: 10 January 2019
Info: https://bit.ly/2AJYGtu

Japan Internship Program 2019 at Okinawa Institute of Science and Technology [Fully Funded]
Deadline: Next Deadline is 28 February 2018
Info:https://bit.ly/2UaRnnC

ASEAN-INDIA RESEARCH TRAINING FELLOWSHIP (AI-RTF), India
Deadline: 31 December 2018
Info: https://bit.ly/2DVi4ai

Future Global Leader Fellowship (Fully Funded), USA
Deadline: 31 January 2019
Info :https://bit.ly/2QwtvMa

Fully Funded Masters and Training Programmes in Belgium (150 Scholarships)
Deadline: 11 January 2019 and 08 February 2019
Info: https://bit.ly/2AIyGid

Young Leaders Access Program 2019 Leadership Program, USA (Middle East)
Deadline: 02 January 2019
Info: https://bit.ly/2PewNPk

2019 MEPI Student Leaders Program,USA [Fully Funded]
Deadline: 31 December 2018
Info: https://bit.ly/2KLzo2V

Young Leaders Access Program 2019, USA (All Country)
Deadline: 02 January 2019
Info: https://bit.ly/2RvdwuX

The New dance WEB Scholarship Program for EU and Non-EU Students in IMPULSTANZ
Deadline: 9 January 2019
Info: https://bit.ly/2DVxr33

Fully Funded for Journalist Fellowship in University of Oxford
Deadline: 11 February 2019
Info: https://bit.ly/2Aen6v7

Sedih itu adalah.. Lupa menyimpan program-program lama, yang ternyata  masih diperlukan untuk pekerjaan/penelitian terkini. Mau nangis, masak harus dikoding ulang semua? Koq bisa sih lupa. Rasanya saya rajin back up ke drive, atau dicopy ke hdd. Tapi dicari, ga ada. Programnya mungkin sederhana, anak tingkat II juga pasti bisa. Yaitu tentang Knapsack’s Problem, solusi dengan Brute Force dan Dynamic Programming. Sudah dicustom untuk persoalan Combinatorial Spectrum Auction.  Akan saya gunakan sebagai acuan dasar sebelum masuk ke algoritma Heuristic/Metaheuristic.

Baiklah, saya ulangi kodinganya. Untuk Brute Force, artinya kita harus membangkitkan Read the rest of this entry »

Bulan-bulan ini adalah masa-masa penerimaan siswa baru. Banyak dibicarakan, dari tahun ke tahun, selalu berulang yawn. Kadang, saya memutuskan tidak turut dalam perbincangan karena belum ada anak yang terlibat; tapi kadang justru merasa perlu tahu dari awal  hurry up!meski tahun-tahun ke depan sistem akan diubah. Terutama tentang aturan zonasi whew!.

Saya percaya, bahwa pertimbangan jarak dengan sistem zonasi adalah hasil dari grand design pemerintah. Bahwa terkait dengan pengaturan transportasi dan juga peningkatan mutu sekolah. Semoga saja, aturan tersebut menjadi enabler dari target peningkatan mutu tersebut, meski sekarang baru terasa pahit manisnya karena tidak semua pihak dapat diuntungkan dari aturan tersebut crying.

Read the rest of this entry »

IC-ICT4T 2018

May 23, 2018

EXTENDED Submission Deadline [IC-ICT4T] International Conference on Information and Communication Technology for Transformation (IC-ICT4T) 2018

Dear Sir,

We would like to invite you to submit a paper to the International Conference on Information and Communication Technology for Transformation (IC-ICT4T) 2018, to be held on October 3 – 5, 2018.
Please see the CFP below for details.

——————————————————————————————————————
Our apologies if you receive multiple copies of this CFP
——————————————————————————————————————
Call For Papers for IC-ICT4T 2018
Paper submission deadline: May 31, 2018

Paper Submission: http://www.ict4t.cms.net.my/ict4t2018/submission.html
Webpage: http://www.ict4t.cms.net.my/ict4t2018/

The International Conference on Information and Communication Technology for Transformation 2018 (IC-ICT4T 2018) is a conference platform which shares the state of the art of digital opportunities for the underserved communities. It is the 6th conference which previously known as Rural ICT Development (RICTD) Conference since 2007. IC-ICT4T 2018 will be held at Universitas Pasundan, Bandung, Jawa Barat, Indonesia from 3 to 5 Oktober 2018. This conference aims to share, exchange and extend the knowledge of digital opportunities for the underserved communities. Conference theme is:

Transforming Information Ecosystem towards Digital Economy

IC-ICT4T 2018 committee welcomes both academic and practitioner papers on a wide range of topics and scholarly approaches including theoretical and empirical papers employing qualitative, quantitative and critical methods. Case studies and research in progress are welcomed. IC-ICT4T 2018 invites full-paper submissions, which may address theoretical, methodological or practical aspects related to Digital Opportunities for Underserved Communities and should revolve around the conference theme. Papers not explicitly addressing the following topics are also welcomed.

Topics & Tracks

· Digital Economy

· Digital Inclusion

· Digital Content

· Universal Access and Service

· Internet of Things (IoT)

· Applications and Services

· Entrepreneurship transformation

· Policy and Regulations

· Disaster Management

· Community Transformation

· Smart Village/Smart City

· ICT for Underserved Community (rural, urban poor, disabled, senior citizen, youth, single parents, indigenous, and small and medium industries)

Important Dates

· Paper Submission Deadline (Extended): 31 May 2018

· Notification of Acceptance: Starting 30 June2018

· Camera Ready: 31 July 2018

· Registration Deadline: 30 August 2018

Authors can submit full paper(s) only. Authors MUST use the conference template to prepare papers. All submitted papers will go through a double blind peer review process by two to three competent reviewers.

Paper Format & Template

Journal publication (flowchart)
  1. [Template | Example] Information Systems Journal
  2. [Template | Example] Information & Management
  3. [Template | Example] Technology and Culture
  4. [Template | Example] Journal of Information Science
  5. [Template | Example] Rural and Remote Health
  6. [Template | Example] Malaysian Journal of Learning and Instruction (MJLI)
  7. [Template | Example] Journal Sampurasun
E-Proceedings (flowchart)

Template for E-Proceedings [Download].

Submit your paper online and choose publication category.

Publication Category

1. Poster

The participant(s) need to bring a poster to present in the IC-ICT4T 2018 poster session. All posters must be displayed at the conference. Poster presentations are to be reviewed by judges at the event. Awards will be given to the best poster (Three awards will be given for the first, second and third places).

2. E-Proceeding

All accepted papers at IC-ICT4T 2018 conference are reviewed and will be published in the IC-ICT4T 2018 conference e-proceeding with an e-ISBN number: 978-967-11768-X-X. The papers will be available in our website and other open source academic site (i.e. RePec, Google Scholar) for a wider view. All presenters will get the papers in digital version (pendrive form). The proceeding will be submitted to Google Scholars for evaluation and Indexing.

3. Journal

Upon acceptance by the reviewers and editors, paper submitted for journals will be published in ISI/Scopus indexed journals.

Special awards will be given to the Best Poster and Best Presenter.

For more information, please email ic_ict4t@uum.edu.my, ic_ict4t@unpas.ac.id, if@unpas.ac.id

This is an example for Sending and Receiving Program in MPJExpress. Overview about  sending and receiving with MPI will be added later 🙂

package MPJExpress;
import mpi.MPI;
/**
*
* @author pbasari
*/
public class SendReceive {
      public static void main (String args[]) {
          MPI.Init(args);
          int rank = MPI.COMM_WORLD.Rank();
          int size = MPI.COMM_WORLD.Size();
        // sending
        if (rank == 0) {
        int data [] = {1, 2, 3, 4};
               for (int i = 1; i < size; i++) {
                      System.out.println(“From 0 Send to ” +i);
                      MPI.COMM_WORLD.Send(data, 0, data.length, MPI.INT, i, 0);
              }
       }
       else { // receiving
             int data [] = new int[4];
             System.out.println(“Received From 0 “);
             MPI.COMM_WORLD.Recv(data, 0, data.length, MPI.INT, 0, 0);
             for (int i = 0; i < data.length; i++)
                    System.out.println(“Rank:” + rank + “; ” + data[i]);
             }
       MPI.Finalize();
}
}

MPJExpress Tutorials

December 21, 2017

Tutorials


Welcome to the MPIExpress tutorials! In these tutorials, you will learn a wide array of concepts about MPI (Message Passing Interface) from Wes Kendall and its implementation using Java, MPJExpress. Below are the available lessons, each of which contain example code.

The tutorials assume that the reader has a basic knowledge of Java Programming Language.

Introduction and MPI installation

  •  

    Blocking point-to-point communication

    • Sending and receiving with MPI.COMM_WORLD.Send and MPI.COMM_WORLD.Recv
    • Point-to-point communication application

    Basic collective communication

    • Collective communication introduction with MPI.COMM_WORLD.Bcast
    • Common collectives – MPI.COMM_WORLD.Scatter, MPI.COMM_WORLD.Gather, and MPI.COMM_WORLD.Allgather
    • Application example – Performing parallel rank computation with basic collectives

    Advanced collective communication

    • Using MPI.COMM_WORLD.Reduce and MPI.COMM_WORLD.Allreduce for parallel number reduction

    Groups and communicators

    • Introduction to groups and communicator

     

 

© 2017 MPJExpress Tutorial. All rights reserved.