You are here: Home >Archive for the ‘Uncategorized’ Category

Tugas Pertemuan 6

Describe the Java Throwable class, its subclasses, and the types of exceptions Answer : Throwble class yaitu keadaan yang tidak sesuai saat melakukan eksekusi program. Sub classes dari Throwable adalah Exception pengecualian yang memiliki beberapa klasifikasi, yaitu system errors (kesalahan sistem), exceptions (pengecualian) dan runtime exceptions(kesalahan yang dianggap sebagai pengecualian yang di jalankan atau diperiksa […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Tugas 5 Algo

What are the differences between a while loop and a do-while loop? Convert the following while loop into a do-while loop.                 Jawab : Hasil codingan dari ketiga diatas yang B menurut aya yang benar: Sebenernya semua bisa dijalankan akan tetapi tidak ada hasilnya. Do while adalah menjalankan sebuah statement dan kemudian mengecek apakah kondisi […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Algo 04.C

1. Suppose x = 3 and y = 2, show the output, if any, of the following code.What is the output if x = 3 and y = 4? What is the output if x = 2 and y = 2? Answer: Output dari x = 3 dan y = 2 tidak terdapat output yang […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Algo 04B

Assuming that x is 1, show the result of the following Boolean expressions. •       (true) && (3 > 4) •       !(x > 0) && (x > 0) •       (x != 1) == !(x == 1) •       (x >= 0) || (x < 0) List the precedence order of the Boolean operators. Evaluate the following expressions: […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Algo 04A

1.Can different types of numeric values be used together in computation? 2.Assume that int a = 1 and double d = 1.0 and that each expression is independent. What are the results of the following expressions? •a = 46 % 9 + 4 * 4 – 2 •A = 45 + 43 % 5 * […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Tugas Algo 3B

  1.    Does any method in the String class change the contents of the string? 2.   Create a program to determine whether a character is alphanumeric? 3.   Create a program to determine whether a character is in lowercase or uppercase? 4.   Describe how to convert hexadecimal to decimal? 5.   Evaluate the following method calls: a.   […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Jawaban Pertemuan 3A

1.  Why does the System class not need to be imported? 2.  What is the differences between the following two import statements: •     import java.util.Scanner; •     import java.util.*; 3.  Explain the output syntax: a.   System.out.println b.  System.out.print c.   System.out.printf 4.  If a NoClassDefFoundError occurs when you run a program, what is the cause of the […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Tugas Mandiri Algoritma 1

Question 1.   Describe about library in java! 2.   Specify the rules that can be used to create identifier ? 3.   What is the function of keywords in java: a.static b.final c.class d.package 4.   Explain the usage of “String[] args” in public static void main! 5.   What is JVM, JDK, source program, and compiler?     […]

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

Hello world!

Welcome to Binusian blog. This is the first post of any blog.binusian.org member blog. Edit or delete it, then start blogging! Happy Blogging 🙂

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS