COP 4610 L Applications in the Enterprise Fall

  • Slides: 9
Download presentation
COP 4610 L: Applications in the Enterprise Fall 2005 Final Exam Review Instructor :

COP 4610 L: Applications in the Enterprise Fall 2005 Final Exam Review Instructor : Mark Llewellyn markl@cs. ucf. edu CSB 242, 823 -2790 http: //www. cs. ucf. edu/courses/cop 4610 L/fall 2005 School of Computer Science University of Central Florida COP 4610 L: Final Exam Review Page 1 Mark Llewellyn ©

Topics Covered New Material (since mid-term exam) • My. SQL class notes part 1

Topics Covered New Material (since mid-term exam) • My. SQL class notes part 1 and 2. Chapter 8 in textbook covers straight SQL not My. SQL. 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. COP 4610 L: Final Exam Review Page 2 Mark Llewellyn ©

Topics Covered (cont. ) Old Material (material covered on mid-term exam) Review midterm exam

Topics Covered (cont. ) Old Material (material covered on mid-term exam) Review midterm exam for suitable questions on previous material. COP 4610 L: Final Exam Review Page 3 Mark Llewellyn ©

Structure of the Exam • The exam will consist of approximately 30 multiple choice/fill-in

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. COP 4610 L: Final Exam Review Page 4 Mark Llewellyn ©

Example Questions 1. A special feature of the JSP action <jsp: set. Property> is

Example Questions 1. A special feature of the JSP action <jsp: set. Property> is matching of request parameters to bean properties of the same name. 2. All servlets must implement the interface. 3. Class Http. Servlet defines methods do. Get and do. Post to respond to and requests from a client, respectively. 4. PHP code is inserted into an XHTML document between the delimiters and. COP 4610 L: Final Exam Review Page 5 Mark Llewellyn ©

Example Questions (cont. ) 5. Threads run within a program and make use of

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) b) c) d) JSP server. JSP script. JSP container. None of the above. COP 4610 L: Final Exam Review Page 6 Mark Llewellyn ©

Example Questions (cont. ) 7. The WEB-INF directory in Tomcat is required to contain

Example Questions (cont. ) 7. The WEB-INF directory in Tomcat is required to contain at least… a) b) c) d) e) A directory named classes. A directory named lib. A file named web. xml. All of the above. Only (a) and (c). 8. Implicit JSP objects have four possible scopes. Which of the following is not one of these scopes. a) b) c) d) e) Application. Page. Request. Session. None of the above COP 4610 L: Final Exam Review Page 7 Mark Llewellyn ©

Example Questions - SOLUTIONS 1. A special feature of the JSP action <jsp: set.

Example Questions - SOLUTIONS 1. A special feature of the JSP action <jsp: set. Property> is automatic matching of request parameters to bean properties of the same name. 2. All servlets must implement the Servlet interface. 3. Class Http. Servlet defines methods do. Get and do. Post 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 ? >. COP 4610 L: Final Exam Review Page 8 Mark Llewellyn ©

Example Questions - SOLUTIONS 5. Threads run within a program and make use of

Example Questions - SOLUTIONS 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) 6. JSP container. The WEB-INF directory in Tomcat is required to contain at least… e) 8. Lightweight processes (LWP). JSPs normally execute as part of a Web server that is referred to as the: c) 7. (cont. ) Only (a) and (c). Implicit JSP objects have four possible scopes. Which of the following is not one of these scopes. e) None of the above COP 4610 L: Final Exam Review Page 9 Mark Llewellyn ©