1 / 11

Final Exam Review

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

jessier
Download Presentation

Final Exam Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  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) 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. 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 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 SE-0010 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 (<datatype>) to do explicit type conversions on numeric data and expressions CS-1010Dr. 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 CS-1010Dr. 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 SE-0010 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 CS-1010Dr. Mark L. Hornick

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

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

More Related