What is the method to find a certain character in a string?
.charAt()
int i = 5;
int j = 2;
System.out.println(i + j);
7
When should you turn in your practices to Mrs. Koegler to get checked?
What statement runs when something is true?
if statement
What college runs the CHS credit for programming?
Pitt
What kind of sort do you use to get corresponding arrays?
Bubble Sort
for(int i = 0; i < 5; i++)
{
int j = i;
System.out.println(j + "\t");
}
0 1 2 3 4
Do I need to take the Pitt Credit?
Which loop would you use when you are unsure how many times something will run.
While loop
What is the nickname for Mondays in this class?
Mingle Monday
What number do array indexs start at?
int x = 0;
for(int y = x; y < 5; x++)
{
System.out.println(x);
y++;
}
2
3
4
5
6
7
8
What should I study for written exams?
Study the notes that Mrs. Koegler has linked in teams and do the reviews in class.
Which loop runs a specific amount of times?
for loop
What app is used in CHS Programming in Seneca Valley?
Text Pad
What is the name of the number sets that only use 1's and 0's?
Binary
String fName = "Dylan", lName = "Kunk", home = " 104 Southridge DR";
System.out.println(home + "\n" + lName + "\t" + fName);
104 Southridge DR
Kunk Dylan
What is the easiest way to lose points on a program?
Lack of spacing, comments, or not reading the rubric
Which loop runs at least once.
Do - while loop
What college does Mr Robertson's son golf at?
Coastal Carolina
Fill in the blank public static void main (String [] ____)?
args/anything
int [] array = {43, 35, 85, 44, 23};
System.out.println(array[5]);
OutOfBoundsException
What is Mrs. Koegler pet peeve?
What loop do you use for Corresponding arrays
Bubble Sort
What is Mr. Robertson's birthday?
April 15th