
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Instructions for homework 10 in the data structures ii course offered by wentworth institute of technology in the fall of 2005. Students are required to create a map application that reads in parameter-value pairs from a file and allows users to enter a parameter name to retrieve its value. The program should be case insensitive.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!
COMP385 Section 71 - Data Structures II - Fall, 2005
Instructor: Bob Goldstein (617) 912- bobg@vision.eri.harvard.edu http://webpages.charter.net/tlgcreations/Courses/index.html http://goldstein.eri.harvard.edu/courses/index.html http://myweb.wit.edu/goldsteinr/Courses/index.html Due Date: November 22, 2005 Hand In: Printout of program code and dialogue of how it runs. Purpose: Make an application that uses a Map structure Description: A good use of a map is to read in parameter-value pairs for a complex simulation. For example, in a simulation of a building elevator system, the parameters to be loaded are: numElevators elevatorCapacity numFloors peoplePerHour The datafile that is loaded has the parameter-value pairs separated by an equal sign, with one parameter-value pair per line as follows: numElevators= elevatorCapacity= numFloors= peoplePerHour= Make a program that reads in such a file, and builds a Map that relates the parameter name to it’s value. The program should read in the file and then enter a loop where the user types in a parameter name and the program gives it’s value. Make the parameter names case Insensitive. Remember, the object is to use a Map data structure, so construct this program in such a way, even though you can do it with other structures. /app/work/qkd4d0-442140-2765044-homework10-doc.doc 1 11/29/2020 11/29/