Presentation is loading. Please wait.

Presentation is loading. Please wait.

Final Exam Review Closed book Closed laptop One sheet of notes permitted SE-0010 Dr. Mark L. Hornick 1.

Similar presentations


Presentation on theme: "Final Exam Review Closed book Closed laptop One sheet of notes permitted SE-0010 Dr. Mark L. Hornick 1."— Presentation transcript:

1 Final Exam Review Closed book Closed laptop One sheet of notes permitted SE-0010 Dr. Mark L. Hornick 1

2 2 General Study tips Use past quizzes and labs as study guides Problems will be of a similar nature Know the material (code) you used in your labs Review the code samples published on the website Read the assigned material in the textbook (again)

3 SE-0010 Dr. Mark L. Hornick 3 Object-Oriented Programming concepts Explain the concepts of class and object, and how an object differs from a class. Describe how classes and objects work in order to accomplish tasks in an object-oriented program. Describe the relationship between methods and messages.

4 SE-0010 Dr. Mark L. Hornick 4 Basic Java concepts Declare and instantiate objects of a given class Describe the structure of a simple Java program Explain the significance of the main method in a Java program Create different types of comments in Java programs. Explain why you use comments in a Java program Describe the purpose of the import statement. Explain what is contained in a.class file as opposed to a.java file Give examples of Java naming conventions for classes, methods, attributes, objects, and variables Explain why you would structure a program to make use of methods instead of putting all code in the main() method

5 SE-0010 Dr. Mark L. Hornick 5 Basic Java datatypes Name the various datatypes that represent integer values Name the various datatypes that represent real (or floating-point) values Explain why certain datatypes (like byte) cannot express numbers as large as others (like long) Explain the difference between a String and a char datatype State the values that the boolean datatype can represent Explain the void datatype, the value it represents, and where it is typically used

6 CS-1010 Dr. Mark L. Hornick 6 Variables and Expressions Determine the proper datatype to use to represent specific numerical values Declare and initialize various numeric variables Write arithmetic expressions in Java Write boolean expressions using relational and boolean expressions Evaluate given boolean expressions correctly Use the typecast operator ( ) to do explicit type conversions on numeric data and expressions

7 CS-1010 Dr. Mark L. Hornick 7 Java Programming (1) Be able to Implement repetition control in a program using while statements. Implement repetition control in a program using do-while statements. Implement repetition control in a program using for statements. Describe the difference between while and do-while statements Describe the elements of a for statement

8 SE-0010 Dr. Mark L. Hornick 8 Java Programming (2) Know how to use DecimalFormat to convert numerical values to String values of a specific precision Wrapper classes, such as Integer, Double, etc for converting Strings to numeric values JOptionPane methods for Prompting the user for a yes-no reply using the showConfirmDialog method of JOptionPane Prompting the user to enter some input Presenting results to the user

9 CS-1010 Dr. Mark L. Hornick 9 Java programming (3) Be able to write short methods that Accept arguments of specified datatypes Return a value of a specified datatype Or not return anything at all Review the work you did in past labs

10 SE-0010 Dr. Mark L. Hornick 10 Be able to describe the elements of a class:

11 SE-0010 Dr. Mark L. Hornick 11 Be able to describe the elements of a method:


Download ppt "Final Exam Review Closed book Closed laptop One sheet of notes permitted SE-0010 Dr. Mark L. Hornick 1."

Similar presentations


Ads by Google