You are here: Home >Archive for March, 2014

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