BCIS 3680 Enterprise Programming Instructor: Dr. Andy Wu Exam 3 Study Guide 1. Java Basics* 1.1 Be able to describe and use members of a class: instance variables, static variables, instance methods, static methods, constructors. 1.2 Know the correct syntax to instantiate an object. 1.3 Know what are included in method header, method signature, and parameter list. 1.4 Describe method overloading. Know how to call the different versions of an overloaded method. 2. Inheritance* 2.1 Know the correct syntax to write the class header of a subclass. 2.2 Know why and how to override a superclass’s method. What is polymorphism? 2.3 What is an abstract method? How does the header of an abstract method differ from that of a non‐abstract method? 2.4 How do you implement an abstract method? 2.5 What is the difference between an abstract class and a concrete class? How does that impact object instantiation? 3. JSP and Form Processing* 3.1 Name the four JSP elements: expression, scriptlet, declaration, and directive. For each element, know the tag it uses, how it differs from the others, and what it is best used for. 3.2 Know how to use a JSP directive to import classes from packages other than java.lang. 3.3 Be able to set the key attributes of a <form>: name, action, and method. 3.4 Describe how parameters are passed from one page to another and how POST and GET differ. 3.5 Be able to use JSP expressions and scriptlets to retrieve values of parameters and use them in variable assignments, creation of session variables, and HTML code generation. 3.6 Know how to create input fields, especially radio buttons and dropdown list. 3.7 Know how to redirect a user to another page using the sendRedirect() method. 3.8 Know how to set up an alias in Tomcat. Be able to tell the correlations between the attributes of the <Context> element and the components of the URL that accesses the context. 3.9 Be proficient in the use of WEB-INF folder: correct placement of custom‐made classes, correct placement of the JDBC connector, configuration of welcome page(s), creation of application variable, etc. 3.10 Know how to use JavaScript to perform validation of user input. 3.11 Know the proper way to compare strings in Java and be able to do case‐sensitive and non‐ sensitive comparisons. BCIS 3680 Enterprise Programming Exam 3 Study Guide 4. MySQL 4.1 Command to log in to and exit MySQL. 4.2 Command to select which database to work on. 4.3 Command to create a user other than root and assign privileges to it. 4.4 Command to display schema of a table. 5. SQL 5.1 Be able to describe a foreign key relationship and interpret its related ERD. 5.2 Be proficient in using SELECT. Know how to use it to select unique values in a column, to find the highest value in a column, and to select values from two or three tables. Know how to create and use column and table aliases in your query. 6. JDBC and Database-Driven JSPs 6.1 Know the steps involved in getting ready to perform database operations in JSP code. 6.2 Identify the components in a connection string and know what characters piece them together. 6.3 Be able to use: JDBC Connector, Connection, and Statement. 6.4 Be able to navigate a ResultSet, retrieve column values, and insert them into HTML. 7. Others 7.1 Know how to create and access session variables. 7.2 Know how to store components of a connection string as application variables and use them to achieve easier maintenance of JDBC connections. * Exam 3 is cumulative. You want to review study guides for Exams 1 and 2 as well, some of the more important objectives from those two exams are repeated here in Sections 1 through 3. BCIS 3680 Enterprise Programming Exam 3 Study Guide