Posts

Showing posts from September, 2018

PBKK - EAS Contribution Based Evaluation

Image
Pendahuluan Puji syukur kehadirat Tuhan YME yang selalu memberi kami dorongan untuk bekerja ikhlas dan selalu bersemangat dalam belajar, belajar dan belajar. Karya ini kami persembahkan di masa pandemi. Semoga dapat memudahkan khalayak ramai dalam memberikan bantuan dan info seputar COVID-19. Sekian dan terimakasih Kelompok SIP Darfi Sultoni 05111740000063 Bima Satria Ramadhan 05111740000081 Yudhistiro Adi Nugroho 05111740000165 Kevin Ashil Faadilah 05111740000178 Web CodeIgniter Site :  http://fp-pbkk.notlusss.xyz/ Source :  https://github.com/maybefunny/fp-pbkk Link Youtube :  https://youtu.be/6yzQWtwJetM Deskripsi Aplikasi Web ini bernama SIP atau Sistem Informasi Pandemi dimana web ini berfungsi untuk memberi tahu kepada masyarakat umum keperluan apa saja yang dibutuhkan pada masa pandemi seperti ini dan web ini juga menyediakan fitur untuk donasi. Pada tampilan ini memiliki beberapa fitur, di antaranya :  Home / Landing P...

Tugas PBO Jam Digital

Image
 Jam Digital  Tampilan  Hasil Output Display Display GUI Source Code Number Display /** * Write a description of class Number_Display here. * * @author (Yudhis) * @version (29/09/2018) */ public class NumberDisplay { private int batas; private int nilai; public NumberDisplay(int Maksimal) { batas = Maksimal; nilai = 0; } public int getValue() { return nilai; } public void increment() { nilai = (nilai + 1) % batas; } public String getDisplayValue() { if(nilai < 10) { return "0" + nilai; } else { return "" + nilai; } } public void setValue(int replacementValue) { if((replacementValue >= 0) && (replacementValue < batas)) { nilai = replacementValue; } } } ...

Tugas 4 PBO-A Membuat Remote AC

Image
MEMBUAT REMOTE AC MENGGUKAN JAVA Nama   : Yudhistiro Adi Nugroho NRP    : 05111740000165 Kelas  : PBO A Tampilan  Gambar 1. Tampilan Awal & Suhu Gambar 2. Menaikkan Suhu Gambar 3. Turunkan Suhu Gambar 4. Mode AC Gambar 5. Swing ON/OFF Gambar 6. Tampilan di Blue-J Source Code  intMain /** * Program Remote AC. * * @author (Yudhistiro Adi Nugroho) * @version (9.19.2018) */ import java.util.Scanner; public class IntMain { public static void main(String[]args){ Scanner scan = new Scanner(System.in); int Temp,menu,menu2; String simpan = " "; simpan = "Cool"; String tmp="OFF"; System.out.println("Input Angka 1 untuk mengaktifkan AC\n"); Temp=scan.nextInt(); while(true) { if(Temp==1) { RemoteAc remote=new RemoteAc(Temp); System.out.println("||SELAMAT DATANG||");...

Tugas PBO - Ticket Machine

Image
Membuat Program Mesin Tiket   Class Main //Main import java.util.Scanner; public class IntMain { public static void main(String args[]) { Scanner scan= new Scanner(System.in); int cost,menu; System.out.println("Masukkan harga tiket \n"); cost=scan.nextInt(); TicketMachine ticket=new TicketMachine(cost); System.out.println("Selamat datang, silahkan tekan:"); while(true) { System.out.println("1. Get Price"); System.out.println("2. Get Balance"); System.out.println("3. Insert Money"); System.out.println("4. Print Ticket"); System.out.println("5. Keluar"); menu=scan.nextInt(); switch(menu) { case 1: cost=ticket.getPrice(); System.out.println("Harga Tiket :Rp."+cost); break; case 2: System.out.printl...

Tugas Rumah PBO - Membuat Gambar Rumah

Image
Project ini menggunakan 5 class : Canvas Picture Circle Triangle Square Canvas import javax.swing.*; import java.awt.*; import java.util.List; import java.util.*; public class Canvas { // Note: The implementation of this class (specifically the handling of // shape identity and colors) is slightly more complex than necessary. This // is done on purpose to keep the interface and instance fields of the // shape objects in this project clean and simple for educational purposes. private static Canvas canvasSingleton; /** * Factory method to get the canvas singleton object. */ public static Canvas getCanvas() { if(canvasSingleton == null) { canvasSingleton = new Canvas("BlueJ Shapes Demo", 900, 700, Color.blue); } canvasSingleton.setVisible(true); return canva...

Tugas PBO-2

Image
MyMain public class MyMain { public static void main() { circle acircle; // creating reference acircle = new circle(); // creating object acircle.x = 10; // assigning value to data field acircle.y = 20; acircle.r = 5; double area = acircle.area(); // invoking method double circumf = acircle.circumference(); System.out.println("--Circle--"); System.out.println("Radius="+acircle.r+"Area="+area); System.out.println("Radius="+acircle.r+" Circumference ="+circumf); square asquare; // creating reference asquare = new square(); // creating object asquare.s = 20; // assigning value to data field double luas = asquare.area(); // invoking method double keliling = asquare.circumference(); System.out.println("--Square--"); System.out.println("Sisi="+asquare.s+"Area="+luas); System.out.println("Sisi="+asqua...

Tugas 1-PBO A

Image
Source Code /** * Write a description of class Tugas1 here. * * @author (Yudhis) * @version (0.1) */ public class Tugas1 { public Tugas1 () { System.out.println("Nama : Yudhistiro Adi Nugoroho"); System.out.println("Kelas : PBO A"); System.out.println("Alamat Rumah : Keputih Tegal Timur Gg II No.36"); System.out.println("Email : yudhistiro56@gmail.com"); System.out.println("Blog : http://yudhistrann.blogspot.com/"); System.out.println("No HP/WA : 081388481520"); System.out.println("Twitter : yudhistiroa"); } } Screenshot Tugas