1 / 10

Announcements & Review

Announcement for the upcoming exam in the programming course, including information on the exam format, topics covered, and review questions. Get prepared and ace the exam!

brewerm
Download Presentation

Announcements & Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exam 2 Wed 5/2 5:30-7:30 GEO 2.216 TRIPS Announcement Monday 4/30 5-6pm ACES 2.302 Wednesday: No class Friday: Exams returned Course Review: Exam format What have we learned? Topics you understand Things you can do Question/Answer Questions? A lot! Announcements & Review Lecture 37: Course Review

  2. Basic Exam Format Open book, open notes - No computers or cell phones - I suggest you print out your programming assignment solutions and my in class examples 5 questions: • 4 short answer • two dimensional arrays • Boyer Moore searching • GUI • I/O and ArrayList • Inheritance, Abstract Classes, & Interfaces Lecture 37: Course Review

  3. Topics you understand • for loops • while loops • I/O • conditionals • classes, objects, methods, instance variables • inheritance, abstract classes, & interfaces • arrays • Image manipulation • GUI Lecture 37: Course Review

  4. Things you can do • Allocate: base types, objects, arrays, arrays of objects, etc. • Copy versus Deep Copy • Pick the appropriate one: • for or while • Print & Read input from • stdin and from a file • Program with multi demensional arrays • Program with ArrayLists • Pick GUI elements • Solve simple problems such as those in the discussion section Lecture 37: Course Review

  5. Review Questions • What is object-oriented programming? • What is a base type? What is an object? What’s the difference? • What is a class? • When should you use a for loop? • When should you use a while loop? • What does public/private/protected mean? Lecture 37: Course Review

  6. Review Questions • What is the purpose of inheritance? • What is the purpose of an interface? • What is the purpose of an abstract class? • What GUI elements might you need to implement a nice user interface for the Set game? • What instances and methods would you need to implement the Checkers game? Lecture 37: Course Review

  7. Review Questions • How many references of type Items does the following create? Items[] myGrocery = new Items[100]; • How many objects of type Items does the following create? Items[] myGrocery = new Items[100]; Lecture 37: Course Review

  8. Review Questions • What does call-by-value mean? • What does call-by-reference mean? • Which does Java implement? Lecture 37: Course Review

  9. Review Questions • How does Java change objects even though it uses call-by-value? • What is a collection? What is an iterator? • Why use ArrayList<Type> instead of <Type>[]? Lecture 37: Course Review

  10. More Questions? Lecture 37: Course Review

More Related