Computer Science
What is the Output?
Tips for Success
Loops
Random Facts
100

What is the method to find a certain character in a string?

.charAt()

100

int i = 5;

int j = 2;

System.out.println(i + j);

7

100

When should you turn in your practices to Mrs. Koegler to get checked?

During the school day to best convene her
100

What statement runs when something is true?

if statement

100

What college runs the CHS credit for programming?

Pitt

200

What kind of sort do you use to get corresponding arrays?

Bubble Sort

200

for(int i = 0; i < 5; i++)
{

int j = i;

System.out.println(j + "\t");

}

   

0 1 2 3 4

200

Do I need to take the Pitt Credit?

No but I would,  you have to take the pitt exams either way so why not
200

Which loop would you use when you are unsure how many times something will run.

While loop

200

What is the nickname for Mondays in this class?

Mingle Monday

300

What number do array indexs start at?

Zero
300

int x = 0;

for(int y = x; y < 5; x++)

System.out.println(x);

y++;

}

2

3

4

5

6

7

8

300

What should I study for written exams?

Study the notes that Mrs. Koegler has linked in teams and do the reviews in class.

300

Which loop runs a specific amount of times?


for loop

300

What app is used in CHS Programming in Seneca Valley?

Text Pad

400

What is the name of the number sets that only use 1's and 0's?

Binary

400

String fName = "Dylan", lName = "Kunk", home = " 104 Southridge DR";

System.out.println(home + "\n" + lName + "\t" + fName);

104 Southridge DR

Kunk      Dylan

400

What is the easiest way to lose points on a program?

Lack of spacing, comments, or not reading the rubric 

400

Which loop runs at least once.

Do - while loop

400

What college does Mr Robertson's son golf at? 

Coastal Carolina

500

Fill in the blank public static void main (String [] ____)?

args/anything

500

int [] array = {43, 35, 85, 44, 23};

System.out.println(array[5]);

OutOfBoundsException

500

What is Mrs. Koegler pet peeve?

Asking questions that the rubric answers for you
500

What loop do you use for Corresponding arrays

Bubble Sort

500

What is Mr. Robertson's birthday?

April 15th