14: Sampler Demos

What We Will Cover


14.1: Final Exam Preparation

Objectives

At the end of the lesson the student will be able to:

  • Discuss how to prepare for the final exam
  • Describe how to take the final exam

14.1.1: About the Final Exam

Important Final Exam Information


Date and Time:
  • Day section: Thursday, June 2 @ 10:00 A.M.- 12:50 P.M.
  • Eve section: 6/02/05 @7:00-9:50 P.M.
    • Location: regular classroom

  • You must attend the exam or you will receive a score of zero (0)
    • Except by prior arrangement with the instructor
  • I am using WebCT to administer the test
  • You can only work on the exam during the scheduled time
    • So do not be late to the exam
  • The exam is closed books and closed notes
    • However, you may have one 3" x 5" card of notes for the exam
    • Also, you may have one sheet of blank scratch paper
  • You must empty your student folder before the exam
  • If you keep your work in your student folder, make sure you save it somewhere else before the exam. You cannot take the exam until the instructor verifies your student folder is empty. Failure to empty the folder in advance may shorten your exam time.

  • You may use your computer for taking the exam using WebCT
  • Also, you may use the computer to compile or run programs
  • You may NOT use the computer to search the Internet
  • You may NOT communicate with anyone but the instructor during the exam

14.1.2: What the Final Exam Covers

  • The final exam is cumulative -- you should know everything we have covered
  • However, the focus is on newer material introduced since the midterm
  • The following is an outline of the most important topics covered since the last exam

Outline of Important Topics

  • Programming with arrays
  • Files and streams
    • Description of files and streams
    • Procedure for file I/O
    • Using strings for file names
    • Stream parameters
    • Testing for end of file
  • Formatting Output
  • Coding classes
  • Using objects in programs
  • Using access modifiers public and private
  • Local variables and shadowing
  • Using objects as instance variables
  • Arrays of objects
  • ADTs and separate compilation
  • Developing object-oriented programs
  • Using C-Strings
  • Using the string class
  • Handling string input
  • Pointers
  • Dynamic Arrays
  • Recursion

Code You Should be Capable of Writing

  • Opening a file stream for reading or writing
  • Reading different types of data from a file
  • Constructors with and without parameters
  • Set and get functions of classes
  • Loading data from a file and saving it in objects
  • Instantiating objects and calling their functions
  • Modifying (changing) values in an object
  • Storing objects in arrays
  • Processing arrays of objects using loops

14.1.3: Recommended Preparation

Find out Information About the Test

  • Review the questions from the midterm exam
  • Review your homework assignments and solutions
  • Review the instructor's posted solutions to assignments
    • Solutions are posted in WebCT
    • Understand how the instructor solved each problem
  • Look at the Prior Final questions in WebCT

Study for the Test

  • Study over several sessions instead of one cram session
  • Work through the Prior Final questions in WebCT
    • Work the problems in groups if it helps you
    • Get explanations for anything you do not understand
  • Review the topics and subtopics, taking notes or writing questions
    • One idea is to write your own test question for each topic or subtopic
    • Most times, your question and mine will be close enough for you to answer my question correctly
  • Review your notes and prepare your 3" x 5" card
  • Do a quick review just before bed to let your subconscious aid in long term memory.
  • Get plenty of rest before the exam

14.1.4: Exam Taking Tips

  • Arrive at examination room a little ahead of time.
  • Listen carefully to any oral instructions for taking the exam and read instructions carefully.
  • Read every word in each test question
  • Save after every answer -- you can always choose another answer
  • Attempt to answer all of the questions even if you are not sure of the answers.
    • I cannot give partial credit if you do not answer the question!
  • Make sure your code compiles
    • Code that does not compile will get a special score of one (1) point
  • Control the time spent on each question
    • If you get stuck on a question, make your best guess and return later
    • If you are equally uncertain between two choices, go with first impression
  • You do not need to comment code for tests and exams
    • Unless specifically instructed to in the exam question
  • Use the full time available
  • Double check your work for errors before clicking the Finish button
  • More quiz tips: TAKING MULTIPLE –CHOICE TESTS

14.1.5: End of Course Survey

  • Please take a few minutes to answer this short survey before you leave
  • This will help the instructor to improve future courses
  • Survey respondent answers are anonymous
  • The link to WebCT is here
  • You may want to rate the textbook at your favorite book seller, such as:

14.1.6: Questions and Answers

  • Questions on topics?
  • Questions on how to write code?

14.2: Sampler Demonstration

Objectives

At the end of the lesson the student will be able to:

  • Present their sampler assignment

14.2.1: Sampler Presentation

Before the Presentation

  • Submit the following to WebCT before the presentation:
    1. README.txt file
    2. All source code (i.e. .cpp files)
    3. Any other source code needed to make your program function.
  • Bring a paper copy of your written report and give to the instructor before your presentation

During the Presentation

Present the following information:

  • A brief introduction describing the purpose of your application
  • A demonstration of your sampler project
    • Include an explanation of all extra-credit features
    • Point out the extras so we can all appreciate them
  • Keep the presentation to 5 minutes or less

After the Presentation

  • Feel free to leave (or stay) after your presentation
  • You can present to the instructor alone after the other presentations are through

Wrap Up

  • When class is over, please shut down your computer
  • Study for the final!

Home | WebCT | Announcements | Day Schedule | Eve Schedule
Course info | Help | FAQ's | HowTo's | Links

Last Updated: May 27 2005 @14:32:31