CS182 -- Lab 3: Do You Have the Time?



->Courses
->CS182
-->Homework
-->Quiz 1
-->Lab 1
-->Lab 2
->Lab 3
-->Lab 4
-->Lab 5
-->Lab 6
-->Project
->Electronic Submission
->MSVC Info
->Tentative Schedule
->Course Policies

[Courses]
[Rich][Home][Rich]
[Author]

Winter Quarter 2000-2001

When people stop me on the street to ask for the time, I always add 30 minutes. Hey, I figure we can all use the exercise.
Sonya Binnewies

Overview

In this lab, you should develop skills using loops and further develop skills using conditional statements.

Procedures

Write a program that will ask the user to enter the current time. (Your program should be able to handle times entered in the following formats: 10:15 am and 9:52PM. Program should then display 30 minutes (into the future) from the time entered and ask the user if they would like to enter another time. This should repeat until the user enters no or No in response two the second question.

Lab report (due 11:00pm, the day prior to week 5 lab)

The lab report should be in your own words and self-contained. By self-contained I mean that it should be possible for someone to understand what you did and why without seeing anything other than your report. Your report should include:

  • Purpose (educational objectives)
  • Problem Statement
  • Procedure (the steps you used to design your program, reasons for your design decisions, etc.)
  • Documented source code for your program.
  • Discussion (sample program output, answers to any questions, problems you encountered (and how they were overcome), etc.)
  • A summary of your activity log indicating how much time you spent on each phase of the assignment. Please report the time in the following categories:
    • Design
    • Coding
    • Debug (before you think it's working)
    • Test (after you think it's working)
    • Documentation
    • Other
  • Conclusions (what you learned, suggestions of how the assignment could be improved, things you would have done differently, etc.)

As with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic submission guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well.

Your grade will depend on quality of design, clarity of code and documentation, as well as whether your program produces the correct results. If you have any questions, consult your instructor.

© 2001 Dr. Christopher C. Taylor Office: CC-27C Phone: 277-7339 Last Updated: January 3, 2001
I am responsible for all content posted on these pages; MSOE is welcome to share these opinions but may not want to.