Basics (Half)
Variables
Methods
Conditions
not code :(
100

what is java

Coding language

100

how to assign values to a variable

= sign

100

What do methods usually do?

Run repeatable code and sometimes return things

100

int x = 1; System.out.print(x==1);

What does this print out?

true

100

name the presidents of the club

nityer and alex

200

what does (almost) every statement end with

;

200

what is a variable (don't say x)

something that stores a value

200

public static [x] [y]([z] [w]) {}

What do you put in position w?

parameter name

200

What is the difference between = and ==?

= is assignment

== is comparison

200

Which country is the leading spender on the military in the world?

US

300

how to print to the console

System.out.println();

300

what is the datatpye of this:

"Hello"

String

300

Will this compile?

public static String method1(int x) {

    return x + 5;                             

}                                                  

No

300

What does this print out?

int x = 100;               

if (x > 50) {               

System.out.print("x");

}                               

if (x > 90) {               

System.out.print("y");

}                               

xy

300

What is the second letter of the second sentence in Tips in the second prompt of the second file in Java Koans?

 - t

 - i

 - a

 - r

t

400

List all the uses of the + operator

addition

String concatenation

400
List all the ways you can modify any variable value

Assignment/Replacement (x = 0;)

Self Addition (x = x + 1;)

Arithmetic Assignment (x *= 2;)

400

Can you call other methods inside a method?

Yes

400

a && (b || c && a)

what does this return if a, b, c are true, false, true

true

400

What is the 67 kid's name

Maverick Trevillian

500

what are datatypes and give 3 examples

Designate the type of variable
int, String, boolean, double, etc.

500

Which statements will compile?

a. String x = Hello;                           

b. int x = Integer.parseInt("100-99");

c. String y = readLine();                   

   int x = Integer.parseInt(y);            

d. int x;                                           

   System.out.print(x==x);                

c

500

What is calling a method in itself called?

Recursion

500

!c == b || !(c && b)

Can this possibly return true?

Yes

b and c are false

500

What is the background sentence said in the chorus of diddyblud on the calculator

What is this diddyblud doing on the calculator, is blud Einstien (------)

banana phone ding ding dong

M
e
n
u