Friday, September 26, 2014

Virtual Class ..at Telkom University

Hi..every one, this semester I teach virtual class at Telkom University, for university Students who take Visual Programming there are some rules that you must know. Firstly..the class usually at 12.30 up to 14.30, it means at that time you all must join at the groups http://groups.google.com/d/forum/PVisual08 and then you must fill in the attendance list by chat online with me via Google Hangout blog.ader@gmail.com password is your ID's number_Present_OK.

in the virtual class..I prepare material which we can be discussed real timely, ask online via the tools above (Google hangout, or email) after each virtual class section there will be always some tasks that you should do such as make application with Java tools..that always be checked and scored every Tuesday before we start class for Visual programming.

any questions...

would Read More..!

Saturday, March 15, 2014

Quiz answers of OOP

At this occasion, will be showed the answers of the quiz of OOP,  to understand much, we had better write the codes here in Java's tool: first of all create the Java project, that is ObjekGeometri, in the ObjekGeometri.Java , write the codes bellow:

package objekgeometri;

public abstract class ObjekGeometri {
    private String warna ="putih";
    private boolean terisi;
    private java.util.Date tanggalDiciptakan;
   
    /**menciptakan suatu objek gometri */
    protected ObjekGeometri(){
        tanggalDiciptakan = new java.util.Date();
    }
   
    /**menciptakan suatu objek geometri dengan warna nilai terisi tertentu **/
    protected ObjekGeometri(String warna, boolean terisi) {
        tanggalDiciptakan = new java.util.Date();
        this.warna = warna;
        this.terisi = terisi;
    }
    /** mengembalikan warna*/
    public String dapatWarna() {
        return warna;
    }
    /**mendaftarkan suatu warna baru*/
    public void dapatWarna(String warna){
        this.warna = warna;
    }  
    /**Mengembalikan terisi karena terisi is a boolean, name is apaTerisi**/
    public boolean apaTerisi(){
        return terisi;
    }
    /**menetapkan suatu nilai terisi yg baru*/
    public void tetapkanTerisi(boolean terisi){
        this.terisi = terisi;
    }
    /**mendapatkan tanggal diciptakan*/
    public java.util.Date dapatTanggalDiciptakan(){
        return tanggalDiciptakan;
    }
    /**mengembalikan a representasi string atas objek ini*/
    public String keString(){
        return "diciptakan pada " + tanggalDiciptakan + "\nwarna: "+ warna +
                "dan nilai terisi: " +terisi;
    }
    /**metode abstract dapatLuas*/
    public abstract double dapatLuas();
   
    /**metode abstract dapatKeliling*/
    public abstract double dapatKeliling();
   
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    }
}

the questions is? is the code running if we run the program? off course not..., then we create new Java class which is the name Lingkaran.Java ,here is the code that you should code :

would Read More..!

Thursday, February 13, 2014

How to code with OOP concept

This section, I try to give the sample on how to code in Java using object oriented concept (we'll talk OOP concept). we must have known at least four concept to code in pure object oriented concept. encapsulation, in this sample program, how we add private as acces specifier for the variables sisi, panjang and lebar (see more in the program that you can download at the link). 



The second, we add inheritance see (class persegiPanjang extend BangunDiatar), so the class of BangunDatar can get the met hod from class both Persegipanjang and BujurSangkar. here is the link to download code recommendedOOPSample

Finally, we add inheritance see (class persegiPanjang extend BangunDatar), so the class of BangunDatar can get the method from class both Persegipanjang and BujurSangkar. Now please try the code usign editors of Java (e.g : NetBeathen, Eclipse or others).

would Read More..!

Tuesday, January 28, 2014

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek bertujuan untuk mengajarkan mahasiswa teknik pemrograman menggunakan konsep berorientasi objek selain dari teknik prosedural. pada mata kuliah ini, difokuskan menggunakan bahasa pemrograman JAVA. Java sendiri selain open source memiliki banyak kelebihan dengan fitur-fitur yang dimiliki Java. 

download materi berikut PengenalanPemrograman1Java Bahasa pemrograman Java memiliki konsep-konsep yang dikategorikan berorientasi objek seperti Abstrak, Polymorphism, Inheritance dan Encapsulation. 

would Read More..!

Thursday, December 19, 2013

Tujuh Kalimat Terbaik

Allah Maha Melihat dan Allah Maha Mendengar, apapun yang terlontar dan terucap manusia semua akan tercatat dan akan diminta pertanggung jawaban. Bahkan gerak niat dalam hatipun sudah diketahui oleh Allah. Bedanya adalah jika niat dalam hati berupa kebaikan sudah dicatat sebagai kebaikan, sedangkan niat keburukan/maksiyat tetapi belum terwujud dalam perbuatan masih belum dicatat oleh Allah swt.

Kalimah thayyibah atau perkataan yang baik merupakan perkataan yang direstui oleh Allah SWT (QS Ibrahim [14]: 24-25).
أَلَمْ تَرَ كَيْفَ ضَرَبَ اللَّهُ مَثَلا كَلِمَةً طَيِّبَةً كَشَجَرَةٍ طَيِّبَةٍ أَصْلُهَا ثَابِتٌ وَفَرْعُهَا فِي السَّمَاءِ (٢٤)تُؤْتِي أُكُلَهَا كُلَّ حِينٍ بِإِذْنِ رَبِّهَا وَيَضْرِبُ اللَّهُ الأمْثَالَ لِلنَّاسِ لَعَلَّهُمْ يَتَذَكَّرُونَ

"Tidakkah kamu perhatikan bagaimana Allah telah membuat perumpamaan kalimat yang baik[786] seperti pohon yang baik, akarnya teguh dan cabangnya (menjulang) ke langit. Pohon itu memberikan buahnya pada Setiap musim dengan seizin Tuhannya. Allah membuat perumpamaan-perumpamaan itu untuk manusia supaya mereka selalu ingat." [786] Termasuk dalam kalimat yang baik ialah kalimat tauhid, segala Ucapan yang menyeru kepada kebajikan dan mencegah dari kemungkaran serta perbuatan yang baik. kalimat tauhid seperti laa ilaa ha illallaah.

Ia punya akar kebenaran yang kuat dan menimbulkan maslahat bagi umat; laksana pohon yang subur, rimbun, dan berbuah lebat. Di dalam Alquran, setidaknya disebutkan ada 7 jenis perkataan yang sesuai dengan ajaran Islam.

Pertama, qawlun ma'ruf (perkataan yang baik). Perkataan jenis ini identik dengan kesantunan dan kerendahan hati. Alquran menerangkan bahwa mengucapkan qawlun ma'ruf lebih baik daripada bersedekah yang disertai kedengkian (QS Albaqarah [2]: 263).

قَوْلٌ مَعْرُوفٌ وَمَغْفِرَةٌ خَيْرٌ مِنْ صَدَقَةٍ يَتْبَعُهَا أَذًى وَاللَّهُ غَنِيٌّ حَلِيمٌ

"Perkataan yang baik dan pemberian maaf[167] lebih baik dari sedekah yang diiringi dengan sesuatu yang menyakitkan (perasaan si penerima). Allah Maha Kaya lagi Maha Penyantun." [167] Perkataan yang baik Maksudnya menolak dengan cara yang baik, dan maksud pemberian ma'af ialah mema'afkan tingkah laku yang kurang sopan dari si penerima.

would Read More..!

Wednesday, November 13, 2013

White Box Testing or Glass Box Testing

Test case design method that uses the control structure of the procedural design to derive test cases. SW Engineer can derive test cases that guarantee that all independent paths within a module have been exercised at least once. Software Engineer also can exercise all logical decisions on their true and false bounds, execute all loops at their boundaries and within their operational bounds, another thing software engineer can exercise internal data structures to assure their validity.
Why not just validate the requirement ?

Logic errors and incorrect assumptions are inversely proportional to the probability that a program path will be executed, We often believe that a logical path is not likely to be executed when, in fact, it may be executed on a regular basis and Typographical errors are random.

Here is the Task's answer Pembahasan Case Study WhiteBox Testing

would Read More..!

Friday, November 08, 2013

PKM-IF for Next Year

PKM stands for "Program Kreatifitas Mahasiswa" whinch is hold each year by DIKTI. every years each universities try to send some proposals from their university students to compete. I support the students to apply or send the proposals. there are at least five majors of PKM such as PKM-T for technology, PKM-K for Entrepreneurship, PKM-PM for "Pengabdian pada Masyarakat", PKM-AI for "Artikel Ilmiah". I asked the
students who take "Logika Infomartika" to send the proposals, some of the students really interested in doing research. perhaps if we coudln't send the proposal this year, we can send it for next year (2014), I hope Informatic's students of Islamic state Universities SUnan Gunung Djati Bandung will send not only 40 proposals as I hope but also send at least for 100 proposals, insya allah.

would Read More..!

Saturday, September 07, 2013

Algoritma dan Praktek Pemrograman

Download material kuliah : Sesi1 Android, what is it? Android is an open source mobile operating system that combines and builds upon parts of many different open source projects. What does this mean to you as a developer? You have access to the source code of the platform that is running on the phone. This can help you better understand how interface controls and the various other pieces work. If you happen to find a bug, you can also submit a patch for the issue, though this is a more advanced practice. Google has also pulled together a large group of companies (called the Open Handset Alliance) that both contribute to and use the Android OS in their hardware devices. 


This means that there is industry-wide support for Google’s OS, promising wide adoption across well-known vendors. some benefits using Android are: Zero startup costs to begin development. The development tools for the platform are free to download, and Google only charges a small fee to distribute applications on the Android Market. Freedom to innovate. The Android OS is an open-source platform based on the Linux kernel and multiple open-source libraries. In addition to building applications to run on Android devices, developers are free to contribute to or extend the platform as well. Freedom to collaborate. Android developers are not required to sign an NDA and are encouraged to collaborate and share source code with each other. According to a survey by Black Duck Software, the number of open source mobile apps and libraries grew at a rate of 168% from 2008 to 2009, faster on Android than any other platform. This means more code that you can reuse in your own projects to bring them to market much faster. 

would Read More..!

  © Blogger template 'External' by Ourblogtemplates.com 2008

Back to TOP