Error Checking/Try Catch
Predict the Output
Mr. Lauder
Variables, Input and Computation
Loops
100

The 2 types of errors we will encounter in this course

What are Syntax and Logic Errors

100

System.out.println("hello, " + "world");

What is: hello, world
100

The key to success

What is consistency

100

What Mr. Lauder compare a variable to

What is a box

100

What is different about a do while loop compared to a regular while loop?

What is it must run at least once

200

int x = 9;

System.out.println(x + 5 + "5");

What is 145

200

Mr. Lauder's favourite motorcycle

What is BMW 1000 RR

200

x = 3 / 3 + (3+3)

What is 7

200

What are the three components in a for loop statement?

What is Start, Stop, Keep Going

300

int x = 10;

if (x >= 10) {

     x *= 3;

}

System.out.println(x + 3);

What is 33

300

The mother of all skill

What is practice

300

What Scanner console = must equal in order to initialize the scanner


What is Scanner console = new Scanner(System.in);

400

The food Mr. Lauder compared ICS3U to

What is kale with a side of your favourite meat

400

The 8 primitive data types

What are Int, Byte, Short, Long, Double, Float, Char, and Boolean

500

The first page on which Mr. Lauder could answer a question on the electromagnetics 315 exam

What is page 8

500

You call console.nextLine() after console.nextInt() before asking for user input again

What is to clear the console from \n