cop 4610l: applications in the enterprise fall 2005 final exam review

9
COP 4610L: Final Exam Review Page 1 Mark Llewellyn © COP 4610L: Applications in the Enterprise Fall 2005 Final Exam Review School of Computer Science University of Central Florida Instructor : Mark Llewellyn [email protected] CSB 242, 823-2790 http://www.cs.ucf.edu/courses/ cop4610L/fall2005

Upload: mark-price

Post on 30-Dec-2015

17 views

Category:

Documents


2 download

DESCRIPTION

COP 4610L: Applications in the Enterprise Fall 2005 Final Exam Review. Instructor : Mark Llewellyn [email protected] CSB 242, 823-2790 http://www.cs.ucf.edu/courses/cop4610L/fall2005. School of Computer Science University of Central Florida. New Material (since mid-term exam) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 1 Mark Llewellyn ©

COP 4610L: Applications in the EnterpriseFall 2005

Final Exam Review

COP 4610L: Applications in the EnterpriseFall 2005

Final Exam Review

School of Computer ScienceUniversity of Central Florida

Instructor : Mark Llewellyn [email protected]

CSB 242, 823-2790http://www.cs.ucf.edu/courses/cop4610L/fall2005

Page 2: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 2 Mark Llewellyn ©

Topics CoveredNew Material (since mid-term exam)

• MySQL class notes part 1 and 2. Chapter 8 in textbook covers straight SQL not MySQL. Ignore Sections dealing with Cloudscape.

• JDBC class notes (one section). Corresponding chapter in textbook is Chapter 8.

• Servlets class notes parts 1, 2, 3, 4, and 5. Corresponding chapter in textbook is Chapter 9.

• JSP class notes part 1, 2, and 3. Corresponding chapter in textbook is Chapter 10.

• PHP class notes part 1, 2, and 3. No corresponding chapter in textbook.

Page 3: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 3 Mark Llewellyn ©

Topics Covered (cont.)

Old Material (material covered on mid-term exam)

Review midterm exam for suitable questions on previous material.

Page 4: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 4 Mark Llewellyn ©

Structure of the Exam

• The exam will consist of approximately 30 multiple choice/fill-in the blank questions and 2-3 written answer problems.

• Expect about 70-80% of the material on the final will be new material covered since the mid-term exam.

• There will be no questions where you will be required to write Java code on the exam. There may be a problem where you will need to determine what is accomplished by some code. This could include Java, servlets, JSPs, and/or PHP.

Page 5: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 5 Mark Llewellyn ©

Example Questions

1. A special feature of the JSP action <jsp: setProperty> is matching of request parameters to bean properties of the same name.

2. All servlets must implement the interface.

3. Class HttpServlet defines methods doGet and doPost to respond to and requests from a client, respectively.

4. PHP code is inserted into an XHTML document between the delimiters and .

Page 6: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 6 Mark Llewellyn ©

Example Questions (cont.)

5. Threads run within a program and make use of that program’s resources in their execution. For this reason threads are also called:

a) Heavyweight processes (HWP).b) Lightweight processes (LWP).c) Middleweight processes (MWP).

6. JSPs normally execute as part of a Web server that is referred to as the:

a) JSP server.b) JSP script.c) JSP container.d) None of the above.

Page 7: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 7 Mark Llewellyn ©

Example Questions (cont.)

7. The WEB-INF directory in Tomcat is required to contain at least…

a) A directory named classes.b) A directory named lib.c) A file named web.xml.d) All of the above.e) Only (a) and (c).

8. Implicit JSP objects have four possible scopes. Which of the following is not one of these scopes.

a) Application.b) Page.c) Request.d) Session.e) None of the above

Page 8: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 8 Mark Llewellyn ©

Example Questions - SOLUTIONS

1. A special feature of the JSP action <jsp: setProperty> is automatic matching of request parameters to bean properties of the same name.

2. All servlets must implement the Servlet interface.

3. Class HttpServlet defines methods doGet and doPost to respond to get and post requests from a client, respectively.

4. PHP code is inserted into an XHTML document between the delimiters <?php and ?>.

Page 9: COP 4610L: Applications in the Enterprise Fall 2005  Final Exam Review

COP 4610L: Final Exam Review Page 9 Mark Llewellyn ©

Example Questions - SOLUTIONS (cont.)

5. Threads run within a program and make use of that program’s resources in their execution. For this reason threads are also called:

b) Lightweight processes (LWP).

6. JSPs normally execute as part of a Web server that is referred to as the:

c) JSP container.

7. The WEB-INF directory in Tomcat is required to contain at least…

e) Only (a) and (c).

8. Implicit JSP objects have four possible scopes. Which of the following is not one of these scopes.

e) None of the above