110 likes | 126 Views
Final Exam Review. Closed book Closed laptop One sheet of notes permitted. 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
E N D
Final Exam Review Closed book Closed laptop One sheet of notes permitted SE-0010 Dr. Mark L. Hornick
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) SE-0010 Dr. Mark L. Hornick
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. SE-0010 Dr. Mark L. Hornick
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 SE-0010 Dr. Mark L. Hornick
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 SE-0010 Dr. Mark L. Hornick
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 (<datatype>) to do explicit type conversions on numeric data and expressions CS-1010Dr. Mark L. Hornick
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 CS-1010Dr. Mark L. Hornick
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 SE-0010 Dr. Mark L. Hornick
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 CS-1010Dr. Mark L. Hornick
Be able to describe the elements of a class: SE-0010Dr. Mark L. Hornick
Be able to describe the elements of a method: SE-0010 Dr. Mark L. Hornick