Download presentation
Presentation is loading. Please wait.
Published byKathlyn Lloyd Modified over 9 years ago
1
Midterm 2 Review
2
Stars and why we use nested loops Matrix problems (stars) Other problems involving multiple dimensions Loops within a process that is in a loop (think Loopy 8 ball.
3
Exam 1 – Part 3 V1 A program that uses no variables. A program that includes the following print statement: System.out.println(“Hello World); A PA1 submission that calculates the average by summing the grades and dividing by 7. A program that fails to instantiate a Scanner object before using its nextLine() method.
4
Exam 1 Part 3 V2 A program that has no print statements (either println, print, or printf). A program that includes the following print statement: System.out.println(“Hello World); A PA1 submission that left aligns all of the output labels. A program that fails to instantiate a DecimalFormat object before using its format() method.
5
Exam 1 Part 3 V3 A program that contains a Scanner declaration but does not import the Scanner. A program that includes the following print statement: System.out.print(“Hello World”); A PA1 submission that calculates the average by summing the grades and dividing by 7. A program that fails to declare the variable, abc, before initializing it.
6
Quiz 6 - Terminology
7
WQ7 – Question 3 In Java, when a character is stored in memory, it is actually as a(n) ________. Unicode character An object An int A String Unicode chart
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.