Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS201 Fall 2016 George Koutsogiannakis

Similar presentations


Presentation on theme: "CS201 Fall 2016 George Koutsogiannakis"— Presentation transcript:

1 CS201 Fall 2016 George Koutsogiannakis
Exam 2 Information CS201 Fall 2016 George Koutsogiannakis

2 Final Exam. Dae: MONDAY 10/ :25 A.M. TO 12:55 P.M. Format: Close book/Close notes/Computers limited to Notepad++, No laptops

3 Final Exam Submission Use Notepad++ (no other files are allowed to be opened on your computer). Create a separate file for each question. zip all files and submit it on Blackboard under assignment: Final Exam. Caution: DO NOT USE ANY OTHER ZIP FORMAT !!!!!!!!!

4 Material To Study Text Chapter 3 : pages 126-161
Chapter 5 :entire chapter Chapter 6 : entire chapter Chapter 7 : up to page 416 Chapter 8 : beginning to page 489, pages and pages

5 Material To Study Go over Lectures Lecture 6, slide 43 to end

6 Material To Study Go over labs: Lab 1 Lab 2 Lab 3 Lab 4 Lab 5

7 Specific Knowledge YOY WILL BE GIVEN PROGRAMMING QUESTIONS
Create a template class (service class). Attributes (instance variables) Constructcors Default Non Default (what is the difference?) Accessor methods for the attributes. Mutator methods for the attributes. Know how to add a method (other than accessor and mutator) to the service class that will do certain calculations (certain functionality) and return a value. Know how to add a toString method in the service class. Know how to add an equals method.

8 Specific Knowledge Create a client class to the service class.
Know how to use the scanner class to get input from the user. Know how to get command line inputs from a user. Know how to read data from a text file. Know how to tokenize the data read from the file. You don’t have to know the JOptionPane Know how to create an object of the service (template) class. Know how to invoke a method (call a method) of the service class using the object you created. Know how to use if and if /else and be able to set up the logical conditions.

9 Specific Knowledge Know how to set up a while loop and specify the loop conditions. Know how to use for loops. Know how to use embedded loops. Know how to use arrays of primitive data types. Know how to use arrays of objects. Know how to find the object with the highest (or smallest) value of a given attribute from an array of objects. Know how to use the StringTokenizer class.

10 Specific Knowledge Know how to work with the API classes. The API classes are called library classes or pre defined classes. The classes that a programmer writes are called user-defined classes. Know how to work with the Math library class and its methods. Know how to work with the String library class and its methods. Scanner class. Use try and catch when a File object is used. NumberFormat. StringTokenizer Information on Library classes will be provided if needed.


Download ppt "CS201 Fall 2016 George Koutsogiannakis"

Similar presentations


Ads by Google