Java Beans
Name That Algorithm!
Java Talk
Schemers
the answers are not "Justin Lim"
100
This method is required in all Java programs: public static void ______ (String[] args) { ... }
What is main?
100
This search method involves looking at the middle of a sorted list, then narrowing down where to look by halves
What is binary search?
100
'c' is an example of this primitive data type
What is char?
100
(* 2 (+ 4 1 (- 10 3)) (- 8 (* 3 2)) 0)
What is 0?
100
former programming club webmaster in fall 2013
Who is Justin Lim?
200
if (5 * 7 < 4 * 9) return true; else return false;
What is true?
200
This method splits the array values into halves recursively until each half has one element, and then combines values in the halves (in order) to sort the list.
What is merge sort?
200
What is b in the following code? int[] b = new int[10];
What is an integer array of size 10?
200
((lambda (x y z) (y z x)) 14 - 7)
What is -7?
200
father of the Java programming language
Who is James Gosling?
300
this prints out something to the console
What is System.out.println (or System.out.print)?
300
characterized by O(n^2) and usually has an inner-loop and outer-loop to sort an array.
What is bubble sort?
300
what the main method always returns
What is void?
300
the name for programming without any use of assignments.
What is functional programming?
300
the highest award in computer science is named after him
Who is Alan Turing?
400
the length of the string of “computer science is cool”
What is 24?
400
The name of a graph search algorithm that solves the shortest path problem and produces a shortest path tree
What is Dijkstra's algorithm?
400
url of programming club website
400
Programming that makes extensive use of assignment
What is imperative programming?
400
A Dutch computer scientist who received the 1972 Turing Award
Who is Edsger Dijkstra?
500
Name at least 3 primitive data types for numbers
What is short/int/long/float/double?
500
Name 3 algorithms with performance of O(n^2)
What is insertion/selection/bubble?
500
when a function calls itself
What is recursion?
500
Name a basic operation on pairs.
What is cons/car/cdr?
500
Justin Lim
What is Justin Lim?
M
e
n
u