Paris Van Java Techno
Wednesday, 23 May 2018
KISI KISI SOAL UJIAN MASUK UNIVERSITAS KOMPUTER (UNIKOM) TA.2017/2018
oke guys itu aja semoga bermanfaat bagi kalian yang akan masuk ke unikom , Good Luck!!!
Sunday, 6 May 2018
Privacy Policy
Privacy Policy for parisjavatechno
If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at Privacy.
At parisjavatechno.blogspot.co.id we consider the privacy of our visitors to be extremely important. This privacy policy document describes in detail the types of personal information is collected and recorded by parisjavatechno.blogspot.co.id and how we use it.
Log Files
Like many other Web sites, parisjavatechno.blogspot.co.id makes use of log files. These files merely logs visitors to the site - usually a standard procedure for hosting companies and a part of hosting services's analytics. The information inside the log files includes internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date/time stamp, referring/exit pages, and possibly the number of clicks. This information is used to analyze trends, administer the site, track user's movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable.
Cookies and Web Beacons
parisjavatechno.blogspot.co.id uses cookies to store information about visitors' preferences, to record user-specific information on which pages the site visitor accesses or visits, and to personalize or customize our web page content based upon visitors' browser type or other information that the visitor sends via their browser.
DoubleClick DART Cookie
→ Google, as a third party vendor, uses cookies to serve ads on parisjavatechno.blogspot.co.id.
→ Google's use of the DART cookie enables it to serve ads to our site's visitors based upon their visit to parisjavatechno.blogspot.co.id and other sites on the Internet.
→ Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL - http://www.google.com/privacy_ads.html
Our Advertising Partners
Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include .......
While each of these advertising partners has their own Privacy Policy for their site, an updated and hyperlinked resource is maintained here: Privacy Policies.
You may consult this listing to find the privacy policy for each of the advertising partners of parisjavatechno.blogspot.co.id.
These third-party ad servers or ad networks use technology in their respective advertisements and links that appear on parisjavatechno.blogspot.co.id and which are sent directly to your browser. They automatically receive your IP address when this occurs. Other technologies (such as cookies, JavaScript, or Web Beacons) may also be used by our site's third-party ad networks to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on the site.
parisjavatechno.blogspot.co.id has no access to or control over these cookies that are used by third-party advertisers.
Third Party Privacy Policies
You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. parisjavatechno.blogspot.co.id's privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites. You may find a comprehensive listing of these privacy policies and their links here: Privacy Policy Links.
If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites. What Are Cookies?
Children's Information
We believe it is important to provide added protection for children online. We encourage parents and guardians to spend time online with their children to observe, participate in and/or monitor and guide their online activity.
parisjavatechno.blogspot.co.id does not knowingly collect any personally identifiable information from children under the age of 13. If a parent or guardian believes that parisjavatechno.blogspot.co.id has in its database the personally-identifiable information of a child under the age of 13, please contact us immediately (using the contact in the first paragraph) and we will use our best efforts to promptly remove such information from our records.
Online Privacy Policy Only
This privacy policy applies only to our online activities and is valid for visitors to our website and regarding information shared and/or collected there.
This policy does not apply to any information collected offline or via channels other than this website.
Consent
By using our website, you hereby consent to our privacy policy and agree to its terms.
Update
This Privacy Policy was last updated on: Sunday, May 6th, 2018.
Should we update, amend or make any changes to our privacy policy, those changes will be posted here.
Privacy Policy for parisjavatechno
If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at .
At parisjavatechno.blogspot.co.id we consider the privacy of our visitors to be extremely important. This privacy policy document describes in detail the types of personal information is collected and recorded by parisjavatechno.blogspot.co.id and how we use it.
Log Files
Like many other Web sites, parisjavatechno.blogspot.co.id makes use of log files. These files merely logs visitors to the site - usually a standard procedure for hosting companies and a part of hosting services's analytics. The information inside the log files includes internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date/time stamp, referring/exit pages, and possibly the number of clicks. This information is used to analyze trends, administer the site, track user's movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable.
Cookies and Web Beacons
parisjavatechno.blogspot.co.id uses cookies to store information about visitors' preferences, to record user-specific information on which pages the site visitor accesses or visits, and to personalize or customize our web page content based upon visitors' browser type or other information that the visitor sends via their browser.
DoubleClick DART Cookie
→ Google, as a third party vendor, uses cookies to serve ads on parisjavatechno.blogspot.co.id.
→ Google's use of the DART cookie enables it to serve ads to our site's visitors based upon their visit to parisjavatechno.blogspot.co.id and other sites on the Internet.
→ Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL - http://www.google.com/privacy_ads.html
Our Advertising Partners
Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include .......
While each of these advertising partners has their own Privacy Policy for their site, an updated and hyperlinked resource is maintained here: Privacy Policies.
You may consult this listing to find the privacy policy for each of the advertising partners of parisjavatechno.blogspot.co.id.
These third-party ad servers or ad networks use technology in their respective advertisements and links that appear on parisjavatechno.blogspot.co.id and which are sent directly to your browser. They automatically receive your IP address when this occurs. Other technologies (such as cookies, JavaScript, or Web Beacons) may also be used by our site's third-party ad networks to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on the site.
parisjavatechno.blogspot.co.id has no access to or control over these cookies that are used by third-party advertisers.
Third Party Privacy Policies
You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. parisjavatechno.blogspot.co.id's privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites. You may find a comprehensive listing of these privacy policies and their links here: Privacy Policy Links.
If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites. What Are Cookies?
Children's Information
We believe it is important to provide added protection for children online. We encourage parents and guardians to spend time online with their children to observe, participate in and/or monitor and guide their online activity.
parisjavatechno.blogspot.co.id does not knowingly collect any personally identifiable information from children under the age of 13. If a parent or guardian believes that parisjavatechno.blogspot.co.id has in its database the personally-identifiable information of a child under the age of 13, please contact us immediately (using the contact in the first paragraph) and we will use our best efforts to promptly remove such information from our records.
Online Privacy Policy Only
This privacy policy applies only to our online activities and is valid for visitors to our website and regarding information shared and/or collected there.
This policy does not apply to any information collected offline or via channels other than this website.
Consent
By using our website, you hereby consent to our privacy policy and agree to its terms.
Update
This Privacy Policy was last updated on: Sunday, May 6th, 2018.
Should we update, amend or make any changes to our privacy policy, those changes will be posted here.
Wednesday, 2 May 2018
CONTOH PROGRAM KASIR PIZZA + TOPING + LOOPING
=======================================================================================================================================================================
Class:
package Algosequence17111048;
/**
*
* @author ASUS
*/
public class Pizza {
//declaring variables
private int id;
private String nama;
private String phoneNumber;
private String order;
private String type;
float discount;
//constructor
public Pizza() {
setId (1000);
setNama ("testname");
setPhoneNumber ("xxxx");
setOrder ("testorder");
setType ("testtype");
}
//setters
public void setId(int id) {
this.id = id;
}
public void setNama(String name) {
this.nama = nama;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public void setOrder(String order) {
this.order = order;
}
public void setType(String type) {
this.type = type;
}
//getters
public int getId() {
return id;
}
public String getNama() {
return nama;
}
public String getPhoneNumber() {
return phoneNumber;
}
public String getOrder() {
return order;
}
public String getType() {
return type;
}
//declaring variables for methods of cost and total cost of pizza
double totalCost; //c is the total cost (in dollars)
double price; //p is the cost of the pizza
double deliveryCost; //t is cost of the delivery
//method for determining pizza price
public double determinePizzaPrice(){
if (getOrder().equals("Hawaiian")){
price = 150000;
}//end if for order Hawaiian
else if (getOrder().equals("Meat Lovers")){
price = 120000;
}//end else-if for order Meat Lovers
else if (getOrder().equals("Aussie")){
price = 130000;
}
//end else-if for order Aussie
else if (getOrder().equals("Supreme")){
price = 140000;
}//end else-if for order Supreme
else if (getOrder().equals("Pepperoni")){
price = 130000;
}//end else-if for order Pepperoni
else {
System.out.println("Error: Incorrect Order name has been entered. Please ensure it is spelt correctly");
}//end else
return price;
}
public double totalCost(){
if (getType().equals("Pick-up")){
deliveryCost = 0;
}//end if delivery
else if (getType().equals("Delivery")){
deliveryCost = 7;
}//end else-if delivery
if (getType().equals("Discount")){
discount=(float)(price*0.10);
}else{
discount=0;
}
return totalCost = price + deliveryCost;
}
}
===============================================================================================================================================================================
Main Class:
public class Pizzatester {
public static void main(String[] args) {
// Declare Variables
int numberOfPizzasOrdered;
int numberOfCurrentPizza = 1;
//Declare input Scanners
Scanner numberOfPizzasOrderedScanner = new Scanner(System.in);
Scanner scanner = new Scanner(System.in);
//Adding a new Order
System.out.println("Pesan Pizzanya Bos Kuuu");
System.out.println("=======menu========");
System.out.println(" *1. Pizza Hawaiian");
System.out.println(" *2. Pizza Meat Lover");
System.out.println(" *3. Pizza Aussie");
System.out.println(" *4. Pizza Supreme");
System.out.println(" *5. Pizza Pepperoni");
System.out.println("===================");
System.out.println(" note!!!! pastikan yang anda isi sama dengan yang di menu perhatikan huruf kapital");
System.out.println("");
System.out.print("Masukkan Jumlah Pizza Yang Akan Di Pesan: ");
numberOfPizzasOrdered = numberOfPizzasOrderedScanner.nextInt();
System.out.println("");
//declaring a counter
int i = 1;
//creating a loop to display entry details for pizzas
while (i<=numberOfPizzasOrdered){
System.out.println("Pilih Pizza Yang Anda Inginkan nomor Ke- " + numberOfCurrentPizza + ":");
System.out.println("===================");
//Details of the new order
Pizza p1 = new Pizza();
System.out.print("ID: ");
p1.setId(scanner.nextInt());
if (p1.getId() <= 1000) {
System.out.print("Tolong Masukkan ID Angka-nya lebih dari 1000: ");
p1.setId(scanner.nextInt());
}
scanner.nextLine();
System.out.print("Nama: ");
p1.setNama(scanner.nextLine());
System.out.print("No Telfon: ");
p1.setPhoneNumber(scanner.nextLine());
System.out.print("Order: ");
p1.setOrder(scanner.nextLine().trim());
System.out.print("Tipe (Pick-Up atau Delivery): ");
p1.setType(scanner.next());
//Display Pizza Order Details
System.out.println("");
System.out.println("Details of Pizza Order " + numberOfCurrentPizza + ":");
System.out.println("=======================");
System.out.println("ID: " + p1.getId());
System.out.println("Nama: "+ p1.getNama());
System.out.println("No Telfon: "+ p1.getPhoneNumber());
System.out.println("Order: "+ p1.getOrder()); //Type of Pizza eg; Peperoni
System.out.println("Tipe (Pick-up atau Delivery): "+ p1.getType()); // Pickup or Delivery
System.out.println("Harga Pizza (Rp): "+ p1.determinePizzaPrice());
// System.out.println("Delivery cost($): " + p1.deliveryCost());
System.out.println("Total Harga Pizza (Rp): " +p1.totalCost());
int bil;
char lagi;
String input;
lagi = 'y';
while (lagi=='y') {
System.out.println("di Order Lagi ? (y/t) ");
input = scanner.next();
lagi= input.charAt(0);
}
numberOfCurrentPizza = numberOfCurrentPizza + 1;
i++;
} //end while
}
}
=====================================================================================================================================================================
Hasil Output Program Pizza Hatsss:
CONTOH PROGRAM KASIR UANG KEMBALIAN
Class:
package AlgoSequence17111048;
/**
*
* @author ASUS
*/
public class ProgramBelanjaan17111048 {
public double Berberas;
public double Berdaging;
public double Bersayur;
public double Berkentang;
public double Beras=7000;
public double TotBer;
public double Daging=12000;
public double TotDaging;
public double Sayuran=5000;
public double TotSayur;
public double Kentang=4500;
public double TotKen;
public double Uang;
public double Angsulan;
public double Total;
public void setUang (double Uang) {
this.Uang=Uang;
}
public double getUang () {
return Uang;
}
public void setBerberas (double Berberas) {
this.Berberas=Berberas;
}
public double getBerberas () {
return Berberas;
}
public void setBerdaging (double Berdaging) {
this.Berdaging=Berdaging;
}
public double getBerdaging () {
return Berdaging;
}
public void setBersayur (double Bersayur) {
this.Bersayur=Bersayur;
}
public double getsayur () {
return Bersayur;
}
public void setBerkentang (double Berkentang) {
this.Berkentang=Berkentang;
}
public double getBerkentang () {
return Berkentang;
}
public double totalberas() {
TotBer = Berberas*Beras;
return TotBer;
}
public double totaldaging() {
TotDaging = Berdaging*Daging;
return TotDaging;
}
public double Totalsayuran() {
TotSayur = Bersayur*Sayuran;
return TotSayur;
}
public double TotalKentang() {
TotKen = Berkentang*Kentang;
return TotKen;
}
public double Totalsemua() {
Total = TotBer+TotDaging+TotSayur+TotKen;
return Total;
}
public double Kembalian() {
Angsulan = Uang-Total;
return Angsulan;
}
}
====================================================================================================================================================================
MaincClass:
package AlgoSequence17111048;
import java.util.Scanner;
/**
*
* @author ASUS
*/
public class ProgramBelanjaantester17111048 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println ("note!!!, isi dengan benar ");
System.out.println ("===============================");
System.out.println ("Beras/(kg) : Rp.7.000,-");
System.out.println ("Daging/(kg) : Rp.12.000,-");
System.out.println ("Sayuran/(ikat) : Rp.5.000,-");
System.out.println ("Kentang/(kg) : Rp.4.500,-");
System.out.println ("===============================");
System.out.print("Masukan Berat Beras : ");
double Berberas = input.nextDouble ();
System.out.print("Masukan Berat Daging : ");
double Berdaging = input.nextDouble ();
System.out.print("Masukan Berat Sayur : ");
double Bersayur = input.nextDouble ();
System.out.print("Masukan Berat Kentang : ");
double Berkentang = input.nextDouble ();
System.out.print("Masukan Nominal Uang : ");
double Uang = input.nextDouble ();
ProgramBelanjaan17111048 Pasar = new ProgramBelanjaan17111048 ();
Pasar.setUang(Uang);
Pasar.setBerberas(Berberas);
Pasar.setBerdaging(Berdaging);
Pasar.setBersayur(Bersayur);
Pasar.setBerkentang(Berkentang);
System.out.println();
System.out.println("Total Beras : "+Pasar.totalberas());
System.out.println("Total Daging : "+Pasar.totaldaging());
System.out.println("Total Sayur : "+Pasar.Totalsayuran());
System.out.println("Total Kentang : "+Pasar.TotalKentang());
System.out.println("Total : "+Pasar.Totalsemua());
System.out.println("Total Kembalian : "+Pasar.Kembalian());
if (Uang > '0')
System.err.println("B A R O K A H !!");
else {
System.err.println("Maaf Uang Anda Tidak Mencukupi !");
}
}
}
===========================================================================================================================================================
Hasil Output nya :
CONTOH PROGRAM JAVA MENGHITUNG NILAI TOTAL & RATA-RATA
kali ini gw mau nambahin program lagi , sesuai judull , yak ini adalah contoh sourcode/ coding program penghitung nolai total dan rata-rata seperti biasa ada Class & MainClass nyaaa , ok langsung aja cusss
=====================================================================================================================================================================
Class:
package AlgoSequence17111048;
/**
*
* @author ASUS
*/
public class NilaitotalNilairatarata17111048 {
public double nis;
public double nilaibindo;
public double nilaibingg;
public double nilaimtk;
public double nilaikimia;
public double nilaifisika;
public double nilaibiologi;
public double nilaitotal;
public double nilairata;
String nama_siswa = "";
public void setNis(double nis) {
this.nis = nis;
}
public void setNilaibindo(double nilaibindo) {
this.nilaibindo = nilaibindo;
}
public void setNilaibingg(double nilaibingg) {
this.nilaibingg = nilaibingg;
}
public void setNilaimtk(double nilaimtk) {
this.nilaimtk = nilaimtk;
}
public void setNilaikimia(double nilaikimia) {
this.nilaikimia = nilaikimia;
}
public void setNilaifisika(double nilaifisika) {
this.nilaifisika = nilaifisika;
}
public void setNilaibiologi(double nilaibiologi) {
this.nilaibiologi = nilaibiologi;
}
public double getNis() {
return nis;
}
public double getNilaibindo() {
return nilaibindo;
}
public double getNilaibingg() {
return nilaibingg;
}
public double getNilaimtk() {
return nilaimtk;
}
public double getNilaikimia() {
return nilaikimia;
}
public double getNilaifisika() {
return nilaifisika;
}
public double getNilaibiologi() {
return nilaibiologi;
}
public double NilaiTotal(){
nilaitotal = nilaibindo + nilaibingg + nilaimtk + nilaikimia + nilaifisika + nilaibiologi;
return nilaitotal;
}
public double NilaiRata(){
nilairata = nilaibindo + nilaibingg + nilaimtk + nilaikimia + nilaifisika + nilaibiologi / 6;
return nilairata;
}
}
===================================================================================================================================================================
MainClass:
package AlgoSequence17111048;
import java.util.Scanner;
/**
*
* @author ASUS
*/
public class NilaitotalNilairataratatester17111048 {
/**
* @param args the command line arguments
*/
public static void main(String[] args){
System.out.println ("Program Penghitung Nilai NEM ");
Scanner input = new Scanner(System.in);
System.out.print("Masukkan Nama : ");
String nama = input.nextLine();
System.out.print("Masukkan Nis : ");
double nis = input.nextDouble();
System.out.print("Masukkan Nilai Bindo : ");
double nilaibindo = input.nextDouble();
System.out.print("Masukkan Nilai Bingg : ");
double nilaibingg = input.nextDouble();
System.out.print("Masukkan Nilai Mtk : ");
double nilaimtk = input.nextDouble();
System.out.print("Masukkan Nilai Kimia : ");
double nilaikimia = input.nextDouble();
System.out.print("Masukkan Nilai Fisika : ");
double nilaifisika = input.nextDouble();
System.out.print("Masukkan Nilai Biologi : ");
double nilaibiologi = input.nextDouble();
NilaitotalNilairatarata17111048 meja = new NilaitotalNilairatarata17111048() ;
meja.setNis(nis);
meja.setNilaibindo(nilaibindo);
meja.setNilaibingg(nilaibingg);
meja.setNilaimtk(nilaimtk);
meja.setNilaikimia(nilaikimia);
meja.setNilaifisika(nilaifisika);
meja.setNilaibiologi(nilaibiologi);
System.out.println();
System.out.println("Nama : "+nama+"");
System.out.println("Nis : "+meja.getNis());
System.out.println("Nilai Bindonesia : "+meja.getNilaibindo());
System.out.println("Nilai Binggris : "+meja.getNilaibingg());
System.out.println("Nilai Matematika : "+meja.getNilaimtk());
System.out.println("Nilai Kimia : "+meja.getNilaikimia());
System.out.println("Nilai Fisika : "+meja.getNilaifisika());
System.out.println("Nilai Biologi : "+meja.getNilaibiologi());
System.out.println("Nilai Totalnya : "+meja.NilaiTotal());
System.out.println("Nilai Rata-ratanya : "+meja.NilaiRata());
}
}
=============================================================================================================================================================
Hasil Output nya:
Oke Sekian Dulu..
Keep Calm and Ngopii :D
CONTOH PROGRAM MENGHITUNG LUAS PERMUKAAN DAN VOLUME BOLA
Kali Ini Saya Akan Memberikan contoh Program Java , ini tugas Kuliah prgram penghitung luas permukaan dan volume bangun ruang kalo ga salah wkwk .. .
dibawah ini source code/ coding nya ya .. oiya ini ada dua bagian yang pertama class dan main class nya ..
__________________________________________________________________________________________________________________________________________________________________________________________
Class:
package AlgoSequence17111048;
/**
*
* @author ASUS
*/
public class LuasPermukaanVolumeBola {
public double jarijari;
public double luaspermukaan;
public double volume;
public void setJarijari(double jarijari) {
this.jarijari = jarijari;
}
public double getJarijari() {
return jarijari;
}
public double HitungLuasPermukaan() {
luaspermukaan = 3.14 * jarijari * jarijari * 4 ;
return luaspermukaan;
}
public double HitungVolumeBola() {
volume = 4 * 3.14 *jarijari * jarijari * jarijari / 3;
return volume;
}
}
__________________________________________________________________________________________________________________________________________________________________________________________
Main Class:
package AlgoSequence17111048;
import java.util.Scanner;
/**
*
* @author ASUS
*/
public class LuasPermukaanVolumeBolatester {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner input = new Scanner (System.in);
System.out.print("Masukkan Jarijari : ");
double jarijari = input.nextDouble();
LuasPermukaanVolumeBola meja = new LuasPermukaanVolumeBola();
meja.setJarijari(jarijari) ;
System.out.println();
System.out.println("Jarijari : "+meja.getJarijari());
System.out.println("LuasPermukaannya : "+meja.HitungLuasPermukaan());
System.out.println("Volumenya : "+meja.HitungVolumeBola());
}
}
__________________________________________________________________________________________________________________________________________________________________________________________________________________________________
Dan Ini Hasil Output nya :