|
| |
Topics You Should Know for the Upcoming Test
Note: 1 book (textbook or a substitute), course notes, and
labs/assignments are allowed. Be prepared!
Why Java? (know and understand the characteristics!)
OO Programming Using Java
final, static, etc.
Class/Object/Method/Constructor definitions
abstract methods
Interface, implementing interfaces
Inheritance
Encapsulation
Overloading vs. Overriding
Writing applets and event handlers in Java
Command-Line Arguments
Building GUI Java programs (know the major steps involved)
Servlets
Why
servlets?
get and post and their doGet and doPost methods
getParameter, getParameterValues, etc.
HttpSession
JDBC
loading driver
getting a connection
preparing SQL statements
running the query/update
getting the results
XML
Why
XML?
XML
vs. HTML
well-formed
vs. valid
DTD

Exam Questions/Format
- Give the __________________ Java characteristics, comment on ...
- Study the following code and answer the questions
given below. ... What would the code produce when compiled and run? Explain.
- Given a class A, write a class B that inherit A, add the method C and override the
method D.
- Study the following code and answer the questions given below. ...
In general, what does the program do? Dont give line-by-line analysis, give the
overall effect.
- Compare and contrast___________ with respect to _____________ (e.g., Compare and contrast abstract classes and interfaces)
- an applet that ... Involves event-handling, something comparable to the
ToDoWhat
example.
- Given an HTML form, write a servlet that processes the form.
Given a DTD and XML document, determine if the document is well-formed
and/or valid.
- Using a session object, validate a user's access to ______
[Old Test Questions]
Click Here
[New Test Questions]
Click Here
|