Data Types
Methods
Symbols and Signs
Terms
Applied Coding Problems
100
A data type consisting of a series of characters (letters).
What is a string?
100
This method changes the color of all the items after it in the code.
What is setColor?
100
This sign returns the differences between two numerical values.
What is the minus sign (-)?
100
A program that translates coding languages into an output. Often points out problems in a code sequence.
What is a compiler?
100
What is the height of this rectangle created in the statement below? g.fillRect(5, 30, 10, 50);
What is fifty (50)?
200
A data type that is a whole number (no decimals).
What is an integer?
200
This method draws a line between two points.
What is drawLine?
200
This sign assigns a value to a variable.
What is the equal sign (=)?
200
A keyword that can be used in place of a string or a number
What is a variable?
200
Does the statement below create a horizontal or vertical line? g.drawLine(0, 0, 0, 10);
What is a vertical line?
300
A data type that is either true or false.
What is a boolean?
300
This method draws the text given by the specified string.
What is drawString?
300
This character is placed at the end of every statement.
What is the semicolon (;)?
300
A way for programmers to notate their code without affecting the output. In Java, it is notated by two forward slashes (//)
What is commenting?
300
Does the code below move the rectangle up, down, right, or left? g.drawRect(x, y, 40, 30); y = y - 3;
What is up?
400
A data type that is a number that can have a decimal.
What is a double?
400
This method creates the outline of a multi-sided figure and requires the use of arrays.
What is drawPolygon?
400
This symbol is often used in if/else statements and evaluates to true if one of the statements is true.
What is the "or" symbol (||)?
400
A blueprint for a program; can contain methods and variables
What is a class?
400
If x = 3, what is the value of x after this statement executes? x -= 2;
What is one (1)?
500
A data type that contains multiple items.
What is an array?
500
This method creates a filled-in figure in the shape of a semicircle.
What is fillArc?
500
This symbol adds the value of a variable to another value and assigns the returned variable to the original variable.
What is plus-equal (+=)?
500
A way to name variables and classes
What is Camelcase notation?
500
What is the value of x, after this code executes, if x = 0, y = 5, and z = false? if(y >= 5 && z == false) { x += y; } else { x = 1; }
What is five (5)?
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
Java Jeopardy
No teams
1 team
2 teams
3 teams
4 teams
5 teams
6 teams
7 teams
8 teams
9 teams
10 teams
Custom
Press
F11
Select menu option
View > Enter Fullscreen
for full-screen mode
Edit
•
Print
•
Download
•
Embed
•
Share
JeopardyLabs