UMBC CS 104
UMBC CMSC 104 CSEE | 104 | current 104

CMSC 104, Spring 2002

Project 2 - Basic Algorithms

Due Date:

Midnight, Tuesday February 26

Note that late projects will NOT be accepted.

Point Value:

This project is worth 30 points

Objectives:

Assignment:

Solve each of the problems below for their specific solutions. Just do this on a piece of paper (do not hand it in). Then determine the generic solutions to the problems. Write the generic solutions in pseudocode. Type the pseudocoded solutions in to a single text file using the xemacs editor. Send the file as an e-mail attachment to Zhipeng (zhipeng1@cs.umbc.edu). Do NOT send a copy to me. Make the subject of your e-mail "Project 2 - Basic Algorithms".

Make sure that your pseudocoded solutions include, as discussed in class:

Here are some tips:

Problem 1 (10 points)

Ellen went on a shopping spree with her Visa credit card and lost the receipts. She remembers the prices of the items that she bought and now needs to compute the total amount that she spent. These are the prices of the items:

A pair of shoes for $62 Sunglasses for $23 A CD for $15 There was a 5% sales tax on all items.

Problem 2 (20 points)

It is the end of the semester and Jeremy wants to compute his final numeric score for CMSC 104. His grades during the semester were as follows:

Project 1 = 20/20 Project 5 = 50/50 Exam 1 = 92/100 Project 2 = 18/20 Project 6 = 63/75 Exam 2 = 78/100 Project 3 = 20/25 Project 7 = 82/100 Exam 3 = 81/100 Project 4 = 15/25 Project 8 = 75/100

The eight projects are worth 40% of Jeremy's final grade and the exams are worth 20% each.



Tuesday, 19-Feb-2002 10:54:22 EST