About helpidoc


ITS 193 Unit 5

Project Instructions:

Piece workers are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher rate.

This project will input the number of pieces and calculate the pay for multiple employees. It must display a summary of the total number of pieces, the number of workers, the total amount paid, and the average pay for all employees.

Menu: The menu bar must have these items:

File Edit Help

Calculate Pay

Clear

About

Summary

__________

Exit

Font…

Color…

 

Form: Use text boxes to obtain the person’s name and the number of pieces completed. The Calculate Pay menu item calculates and displays the dollar amount earned. The Summary menu item displays the total number of pieces, the total pay, and the average pay per person. The Clear menu item clears the name and number of pieces for the current employee and resets the focus.

The Color and Font items should change the color and font of the information displayed in the Amount Earned control.

Use a message box to display the program name and your name for the About option on the Help menu.

Write a function procedure to find the pay rate and return a value to the proper event procedure.

Pieces Completed Price Paid per Pieces for All Pieces
1-199 .50
200-399 .55
400-599 .60
600 or more .65

 

Save the project into a zip file with the name IT193_YourName_Unit_5.zip.

 

Piece workers are paid by the piece. Workers who produce

 

PRICE  $29.00

    

 


complaint complaint





Posted in VB


ITS 193 Unit 6

 

Project Instructions:

Modify the Project from Unit 4 to include a Splash Screen, an About box, and menus as follows:

File Country Display Help

Exit

United States

Title

About

Canada

Country Name

Japan

Programmer

Mexico

 

Use a menu instead of instead of radio buttons, check boxes, and buttons. Include check marks next to the name of the currently selected country and next to the selected display options.

Save the project as YourName_Unit6Project.zip

 

Be sure to include comments at the top of each procedure and at the top of the file. Comments must be included at the top of your form and in each section of code to receive full credit.
•Be sure to use meaningful names for all buttons and labels.
•Be sure to follow programming conventions for all variable and form control fields.
*use a menu instead of radio buttons, check boxes, and buttons. Include check marks next to the name of the currently selected country and next to the selected display options:
Menu: Program has to look like image and run

File          Country                    Display                      Help
Exit       United States               Title                         about
Canada                  Country Name
Japan                    Programmer
Mexico

 

Modify the Project from Unit 4 to include a Splash Screen

 

 

PRICE  $29.00

    


complaint complaint





Posted in VB


ITS 193 Unit 7. Create a project for obtaining student information

 

Startup form controls are as follows:

 

Text boxes –for entering name and units completed

 

Radio buttons– for Freshman, Sophomore, Junior, and Senior

 

Check box– for Dean’s list

 

List box for the following majors:

    • Accounting

 

    • Business

 

    • Computer Information Systems

 

    • Marketing

Simple combo box for secondary school – initially loaded with Franklin, Highland, and Midtown. If the user types in a new school name, it should be added to the list.

 

Print button–prints data to from the form using the print preview dialog

 

An OK button clears the entries from the form and resets the focus. The button should be the Accept button for the form.

 

Menus

 

The File menu should have an item for Exit. The Edit menu should have an item for Add school. The Help menu should have an item for the About box.

 

Save the project into a zip file with the name IT193_YourName_Unit_7.zip.

 

Create a project for obtaining student information.

 

 

PRICE  $32.00

    


complaint complaint





Posted in VB


In this exercise, you modify the application from TRY THIS Exercise 1. Use Windows to make a copy of the Commission Solution folder. Save the copy in the ClearlyVB2010Chap21 folder. Rename the copy Modified Commission Solution. Open the Commission Solution (Commission Solution.sln) file contained in the Modified Commission Solution folder. Open the designer and Code Editor windows. The btnCalc control’s Click event procedure should prompt the user to enter the commission rate. It then should pass the
rate to the GetCommission function. Make the appropriate modifications to the code. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

 

In this exercise, you modify the application from

 

 

PRICE  $22.00

    


complaint complaint





Posted in VB


Create an application that reads the numbers from the file NumberSet. Your application should perform the following:

 

Display the total numbers

 

Display the average of the numbers

 

Display the highest number in the file

 

Display the lowest number in the file

 

Create an application that reads the numbers

 

 

PRICE  $32.00

    


complaint complaint





Posted in VB


Driver’s License Exam
The local Registry of Motor Vehicles office has asked you to create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple choice questions. Here are the correct answers to the questions:

1.B, 2.D, 3.A, 4.A, 5.C, 6.A, 7.B, 8.A, 9.C, 10.D, 11.B, 12.C, 13.D, 14.A, 15.D, 16. C, 17.C, 18.B, 19.D, 20.A

You application should store the correct answers in an array. A form, should allow the user to enter answers for each question.

When the user clicks the Score Exam button, the application should display another form showing whether each question was answered correctly or incorrectly, and whether the student passed or failed the exam. A student must correctly answer 15 of the 20 questions to pass the exam.

Input validation: Only accept the letters A, B, C, or D as answers.

 

The local Registry of Motor Vehicles office has asked you

 

 

PRICE  $29.00

    


complaint complaint





Posted in VB


Create a GUI program that allows users to ingest Mission Title and Adjusted Total Box Office Profit data from text files in to two 1d arrays.

1. Create a form that has a text area (or list box) that will hold Mission Title and Adjusted Total Box Office Profit data
2. Create buttons that allows users to sort the arrays by ‘Title’ from A-Z or ‘Adjusted total box office’ contents from low to high (0-9).
3. Create a ‘Load’ button that loads two 1d arrays with all file read info and then displays onto the text area.
4. The load button must load the arrays by ingesting user defined text files. Ensure the arrays are large enough to hold future data (>50 elements).4a. When the user clicks load, prompt the user with a OpenFileDialog to select the two files by highlighting the two files at once. You may not use other buttons to complete this task!
5. You must load the text files and ingest them by using the OpenFileDialog Do not hard code any location/file name!!
6. The user will select the unknown file names and locations, so set the default location of the OpenFileDialog to the Desktop
7. Create a clear button that clears the arrays and also all form items
8. If a user already clicked ‘Load’ and they click ‘Load’ again, clear all existing data. And perform the load as it’s the first time Load is clicked.
9. On the Summary Area, when there are >= 3 entries, display on a numbered label the top 1/3rd adjusted total box office mission titles listed from high to low.
10. On the Summary area, ensure that you round down a decimal point for the top 1/3. For example, if 7 entries are present, you will display 2. If 9 present, display 3
11. Ensure that sorting the arrays does not corrupt the relationship between the two arrays. You can perform the sort with one line of code.
12. You should be able to sort A-Z, Z-A, 0-9 and also 9-0 while still retaining the correct relationships.
13. Create a single Help menu item that launches a message box that displays valuable and meaningful information for the program and usage.
14. Create a single Help menu item that launches a message box that displays valuable and meaningful information for the program and usage.
15. Do not hard code the top/summary data! The data used in the top calc shall be used from the arrays.
16. To test this program, I am going to use the two supplied files and two additional custom files (a file 5 entries and a file with 49 entries)
17. You do not have to provide any error checking for the selected files except for ensuring the user selects two files.
18. If you have to hardcode a path/file name, please know that my configuration “will not” match your personal Windows login. If you must hardcode the path, please hardcode your program path relatively. Meaning don’t sell the entire path and reference the working directory
19. Option Strict must be on and coded.

 

Create a GUI program that allows users to ingest Mission Title

 

 

PRICE  $32.00

    


complaint complaint





Posted in VB


Create three classes: Shape, Rectangle, and Circle. Shape is a base class, and Rectangle and Circle are derived classes. You will use the exiting Point structure already defined in .Net, which has two properties named X and Y.

 

The Shape class has a single property named Name, a constructor with a Name parameter, and  a MustOverride method named GetArea that returns a Double. It has a ToString method that returns the name of the shape.

 

Rectangle class has a two private members of type Point that represent the upper left and lover right corners of a rectangle. It has a constructor that initializes that two corner points of a the rectangle. It overrides the GetArea method which calculates the rectangle area as the length times width.  It has a ToString method that displays the two point values.

 

The Circle class has two private members: the center of the circle, which is a Point object, and the radius of the circle, which is a Double. It has  a constructor that initializes the center and radius values. It overrides the GetArea method by computing the area as Math.PI times the radius squared. It has a ToString method that displays the center point and the radius.

 

In the application startup form, create Rectangle and a circle. Display the contents of both shapes as well as their ca)lculated areas, rounded to two decimal places

 

Create three classes

 

 

PRICE  $32.00

    


complaint complaint





Posted in VB


Create three classes: Shape, Rectangle, and Circle. Shape is a base class, and Rectangle and Circle are derived classes. You will use the exiting Point structure already defined in .Net, which has two properties named X and Y.

 

The Shape class has a single property named Name, a constructor with a Name parameter, and  a MustOverride method named GetArea that returns a Double. It has a ToString method that returns the name of the shape.

 

Rectangle class has a two private members of type Point that represent the upper left and lover right corners of a rectangle. It has a constructor that initializes that two corner points of a the rectangle. It overrides the GetArea method which calculates the rectangle area as the length times width.  It has a ToString method that displays the two point values.

 

The Circle class has two private members: the center of the circle, which is a Point object, and the radius of the circle, which is a Double. It has  a constructor that initializes the center and radius values. It overrides the GetArea method by computing the area as Math.PI times the radius squared. It has a ToString method that displays the center point and the radius.

 

In the application startup form, create Rectangle and a circle. Display the contents of both shapes as well as their ca)lculated areas, rounded to two decimal places

 

Create three classes

 

 

PRICE  $32.00

    


complaint complaint





Posted in VB


Course: IT193 Unit: 9 Points: 40

 

Rewrite the program from Unit 8 using a file to store the country names and abbreviations (Countries.txt). This will allow the user to search the more than 250 countries and abbreviations from the complete ISO list.

 

Read the country names and abbreviations in to the array of structures.

 

Note: Unless you include Open File dialog boxes, copy the file into the binDebug folder for the project.

 

Optional Extra: Allow the user to select the file using the Open File dialog box.

 

Save the Word project into a file with the name: IT193_YourName_Unit_9_Project.zip

 

IT 193 Unit 9. Rewrite the program from Unit 8

 

 

PRICE  $30.00

    


complaint complaint





Posted in VB


Write an application that sorts a List of Stock objects three different ways: by their

 

ticker symbols (such as MSFT), their prices, and their price-to-earnings (P/E) ratios.

 

The user can ask to sort in both ascending and descending order.

 

Create a class named Stock, with the following properties: Ticker (String), Price (Double),

 

Earnings (Double). Create a constructor that initializes these three values. Also, create

 

a ReadOnly property named PeRatio that returns the stock’s price divided by

 

earnings.

 

In your startup form, create comparator methods and pass them to the List.Sort

 

method.

 

Write an application that sorts a List of Stock objects three different

 

 

 

PRICE  $30.00

    


complaint complaint





Posted in VB


IT 193 Unit 8. Create a project that will allow a user to look up a country by its 2 letter abbreviation. The user will have the options to Look up the Abbreviation or Look up the Country Name. In the event that a match cannot be found for the input, display an appropriate error message.

 

Use radio buttons with a shared event procedure and a Select Case to determine which text box (country name or abbreviation) should have the focus and which should be set to read only.

 

Use the following ISO country abbreviations for your program.

 

IT 193 Unit 8. Create a project that will allow a user to look up a

 

 

PRICE  $26.00

    

 

 

 

AE United Arab Emirates

 

AF Afghanistan

 

AQ Antarctica

 

AR Argentina

 

AT Austria

 

AU Australia

 

BD Bangladesh

 

BE Belgium

 

BR Brazil

 

BS Bahamas

 

CA Canada

 

CH Switzerland

 

CL Chile

 

CM Cameroon

 

CN China

 

CO Colombia

 

CR Costa Rica

 

DK Denmark

 

DM Dominica

 

DO Dominican Republic

 

EC Ecuador

 

EE Estonia

 

EG Egypt

 

ES Spain

 

ET Ethiopia

 

EU European Union

 

FI Finland

 

FR France

 

GB Great Britain (UK)

 

GR Greece

 

HN Honduras

 

HT Haiti

 

HU Hungary

 

ID Indonesia

 

IE Ireland

 

IL Israel

 

IN India

 

IQ Iraq

 

IR Iran

 

IS Iceland

 

IT Italy

 

JO Jordan

 

JP Japan

 

KE Kenya

 

MX Mexico

 

NL Netherlands

 

NO Norway

 

NP Nepal

 

PK Pakistan

 

PL Poland

 

 

 

Save the project into a zip file with the name IT193_YourName_Unit_8.zip.

 


complaint complaint





Posted in VB


Array and Structure.

 

Create a project to analyze an income survey. The statistics tor each home include an identification code. The number of members in the household and the yearly income.
A menu will contain File the Reports and Help. The File menu will contain Enter Data and Exit. As the data are entered they should be assigned from the text boxes to the elements of` a structure.
The reports for the project will be sent to the printer and include the following:

(a) A report that displays the input data.
(b) A Listing of the identification number and income for each household that exceeds the average income.
(c) The percentage of households having incomes below the poverty level.

Poverty Guidelines
Family Size | Income
1 | 10210
2 | 13690
3 | 17170
4 | 20650
5 | 24130
6 | 27610
7 | 31090
8 | 34570

For each additional person add 3130

Test Data
ID Number |Number of Persons | Annual Income
2497 2 32500
3323 5 23000
4521 4 38210
6789 2 38000
5476 1 26000
6587 4 25000
3221 4 20500
5555 2 18000
0085 3 19700
4480 5 23400
0265 2 19700
8901 3 13000

 

Create a project to analyze an income survey

 

PRICE  $40.00

    


complaint complaint





Posted in VB


Create a project that contains a class for sandwich objects. Each sandwich object should have properties for Name, Bread, Meat, Cheese, and Condiments. Use a form for user input. Assign the input values to the properties of the object, and display, the properties on a separate form.

 

HINT: Use a ReadOnly property on the input form to pass the object to the second form.

 

Create a project that contains a class for sandwich objects

 

 

PRICE  $30.00

    


complaint complaint





Posted in VB


Create a project that will calculate the total of fat, carbohydrate, and protein calories. Allow the user to enter (in text boxes) the grams of fat, the grams of carbohydrate, and the grams of protein. Each gram of fat is nine calories while a gram of protein or carbohydrate is four calories. Display the total calories for the current food in a text box. Use two other text boxes to display an accumulated sum of calories and a count of items entered.
Include buttons to CALCULATE to CLEAR the text boxes and PRINT and EXIT buttons.

 

Create a project that will calculate the total of fat

 

 

PRICE  $35

    

 


complaint complaint





Posted in VB


A winter sports rentals store needs an application that will let the user (a store clerk) enter information about each customer’s rental. The user should be able to select multiple equipment items, a rental duration, and insurance.  Include a check box showing that a liability waiver was signed, and let the user input the deposit amount. use a combo box to list the rental durations, but do not let the user type in any arbitrary duration. When the user clicks the Calculate button, the application should calculate the subtotal, tax and balance due. Also, use a LinkLabel control (Weather forecast) to display a second form containing a WebBrowser control. The form containing the WebBroser control, should display a series of links to weather forecasts for the area near the winter sports rental sore. Place a ToolStrip container at the top of the form; it should contain a text box ( for entering a Web address), a Go button to navigate to the address typed into the text box, and Close button that closes the browser window.

 

Error Checking: When the user clicks the Calculate button, make sure that at least one item has been selected from the equipment list box. Also, a rental duration must have been selected, and the Deposit amount must be a positive number. use the ErrorProvider control t display all error message.

 

The following rental durations should appear in the combo box : 1day,  2days, 3days,  1weeek, 2 weeks.

 

Calculations: Each equipment item has a rental rate based on different durations. Create a two-dimensional array containing all possible rental rates. Each row shoed contain the rental rates for a single item, using the different rental durations. The following first row of the array for example, contains rental rates for Skis, beginner: 35, 45, 80, 150, 280

 

For this equipment, the rates are $35.00 for 1day, $45.00 for 2days, $80.00 for 3days, $150.00 for a week, and $280.00 for 2 weeks. Damage insurance costs 10 percent of the total rental charge before taxes.

 

A winter sports rentals store needs an application

 

 

 

PRICE  $40

    


complaint complaint





Posted in VB


Develop an abstract class Box that has height, width, and breadth properties associated with it. Extend the Box class to create the Cube and Cuboids classes. All sides must be equal, which is a constraint for a Cube class. The Cuboids class needs to accept a value that is within the specified range:
Width: 10–30 units
Height: 15–25 units
Breadth: 20–45 units

 

Develop an abstract class Box that has height

 

 

PRICE  26.99

    


complaint complaint





Posted in VB


A winter sports rentals store needs an application that will let the user (a store clerk) enter information about each customer’s rental. The user should be able to select multiple equipment items, a rental duration, and insurance.  Include a check box showing that a liability waiver was signed, and let the user input the deposit amount. use a combo box to list the rental durations, but do not let the user type in any arbitrary duration. When the user clicks the Calculate button, the application should calculate the subtotal, tax and balance due. Also, use a LinkLabel control (Weather forecast) to display a second form containing a WebBrowser control. The form containing the WebBroser control, should display a series of links to weather forecasts for the area near the winter sports rental sore. Place a ToolStrip container at the top of the form; it should contain a text box ( for entering a Web address), a Go button to navigate to the address typed into the text box, and Close button that closes the browser window.

 

Error Checking: When the user clicks the Calculate button, make sure that at least one item has been selected from the equipment list box. Also, a rental duration must have been selected, and the Deposit amount must be a positive number. use the ErrorProvider control t display all error message.

 

The following rental durations should appear in the combo box : 1day,  2days, 3days,  1weeek, 2 weeks.

 

Calculations: Each equipment item has a rental rate based on different durations. Create a two-dimensional array containing all possible rental rates. Each row shoed contain the rental rates for a single item, using the different rental durations. The following first row of the array for example, contains rental rates for Skis, beginner: 35, 45, 80, 150, 280

 

For this equipment, the rates are $35.00 for 1day, $45.00 for 2days, $80.00 for 3days, $150.00 for a week, and $280.00 for 2 weeks. Damage insurance costs 10 percent of the total rental charge before taxes.


complaint complaint





Posted in VB


java swing application


Program Week 3

 

Style RequirementsRefer to the Java Coding Style Document.
Add comments as required for all .java files.
10%
Overall RequirementsProvide a complete program that performs a simple substitution cipher. The program should take plain text and a shift value and produce the encrypted text. Then it should take encrypted text and a shift value and produce the plain text once again. A different encrypted text and shift can be entered so make sure to get input.

Example:
EASTER shifted by 3 to left would become HDVWHU
HDVWHU shifted by 3 to right would become EASTER

This is how the early Caesar Cipher worked.

YourNameProg3.javaProvide a main method. It should:

  • Get input for a string and a shift value
  • Convert to upper case
  • Only perform the following items on alphabetic characters between A and Z
  • Utilize a for loop which uses postfix incrementing operator
    • Convert character to its ASCII equivalent (type cast)
    • Shift buy shift value entered above
      • If you reach end of alphabet, wrap around
      • Example: A shifted to the left 2 would become Y
    • Convert back to its character equivalent (type cast)
    • Output the new character
  • Get input for a string and a shift value
  • Perform same steps above to convert the encrypted text back to plain text
  • Be sure to get input again as a different encrypted text may be entered

Utilize postfix increment/decrement operations and compound assignment operators for all math. Example: x++ or x+=2.

80%
Mimic the sample session precisely.
Upload your page to the Dropbox.NOTE: Complete your activity and submit it to the Dropbox. 5%
Total Points 100%
Sample Session:Please enter text to encrypt
easter
Please enter shift value
3
BXPQBO
Please enter text to decrypt
bxpqbo
Please enter shift value
-3
EASTER
Press any key to continue . . .Sample Session 2: : (Notice spaces removed from input)

Please enter text to encrypt
This Is A Test
Please enter shift value
3
QEFPFPXQBPQ
Please enter text to decrypt
qefpfpxqbpq
Please enter shift value
-3
THISISATEST
Press any key to continue . . .

Sample Session 3: (Notice the different shift and decrypt value)

Please enter text to encrypt
hello
Please enter shift value
3
EBIIL
Please enter text to decrypt
ebiil
Please enter shift value
5
ZWDDG
Press any key to continue . . .

 PRICE $ 19.99

    


complaint complaint







C++ – Rolodex Project


 

Necessary skills: STL container classes, iterators, stream I/O

Description

This goal of this project is to build an information manager similar to a rolodex (see http://en.wikipedia.org/wiki/Rolodex). A physical rolodex is made up of cards arranged in alphabetical order by [Last Name, First Name]. Each card contains some information, usually name, address, phone number and type of business (why the person is in the rolodex). The physical mechanism of using a rolodex is turning the group of cards and flipping through them. When the last card is read, the rolodex is then at the start of the list since a rolodex is built on a circular track.

Provide the following interactive commands in main() to work with your rolodex:

    • list – displays all the cards in the rolodex, in alphabetical order from beginning to end.
    • view – displays the card at the current position.
    • flip – updates the current position to the next card, and displays it. Flipping past the last card wraps around to the first card.
    • search – finds and displays a card, and makes it the current position in the rolodex. This command prompts for the last name  for searching. If a matching card is found, it is displayed and is set as the current position. If no matching card is found,  the card that immediately follows the lookup name is displayed and set as the current position (e.g. if “H” is entered as the last name, the first card with a last name following “H” in alphabetical order is displayed). If there is no following card, displays “Couldn’t find: name” and the current position remains unchanged.
    • add – adds a new card to the rolodex. Prompts for each field value, reads it, and enters the new card in the correct position in the rolodex (based on alphabetical order).  The new card is set as the current position.
    • remove – removes the card at the current position.  It displays the card and prompts for a confirmation for removal. The following card is set as the current position.
    • modify – updates the card at the current position. Enters a mode that requests the field to be updated (e.g. phone #), displays the existing value and prompts for the new value, reads it, and updates the card. Continues prompting for additional changes until all changes are done (e.g. a 0 is entered for the field # to change). If the last name is changed, the card must be moved to the correct position in the rolodex (and is set as the current position).
    • quit – exits the program.

Design Notes

A Card class is used to represent a single Rolodex card. This class has member functions to allow getting and setting of data values (e.g. first name), and a display function that knows how to display the card on the supplied ostream parameter.  Data members are std::string objects. This class does not know about Rolodex functionality, it just encapsulates a single card’s information.

The Rolodex class manages a collection of Card objects. It must have a data member that is an STL container class to hold the set of rolodex Card objects (i.e. not a C/C++ array), and an associated STL iterator object to reference the current Card. The container used must be able to handle the case of duplicate names (e.g.  two of Jim Smith, etc).  The Rolodex member functions just manage the collection of Cards, and may have parameters or return values that are a Card object. The Rolodex class does not have code to read data for new cards, get updated data for existing Cards, or printing Cards. Data input is done by code in main() and Card objects are passed into and out of the Rolodex object. Displaying cards is done by the Rolodex code calling the Card’s display member function, passing an ostream for it to display on. Some of your Rolodex member functions might include the following :

    • add(…) takes a Card object as a parameter, adds it to the Rolodex collection (in the appropriate spot by last name), and sets it as the ‘current card’ in the Rolodex (by setting the internal iterator).
    • remove() removes the current card from the Rolodex, returns it, and makes the following card the ‘current’ card. If the last card in the container is removed, the ‘current’ card should be set to the first card in the container (i.e. wraps around).
    • getCurrentCard() returns the current Card (actually, a copy of it).
    • flip() returns the next Card in the Rolodex, and updates the current card position.
    • search(…) takes a search parameter,  finds the requested card and sets it as the current card.
    • show(…) takes an ostream as a parameter, iterates through all the cards from beginning to end, invoking each card’s show() method, and passing the ostream parameter. The Rolodex show() doesn’t do any actual output – it just iterates through the collection and requests each card to display its contents by calling its show() member function. The current card remains unchanged.

The main() function creates and loads the Rolodex object with the starting data (by adding a series of Cards to it), and then acceptsinteractive requests that act on the Rolodex. For each interactive command, one or more member functions are invoked on the Rolodex from main(). For example, you might implement the interactive commands as follows:

    • ‘list’ can call Rolodex::show(…) to display the entire rolodex
    • ‘view’ can call getCurrentCard(), then call Card::show(…) on the returned Card.
    • ‘flip’ can call flip() to get the next Card, then call Card::show(…) on it.
    • ‘add’ prompts for all the info for a new Card, creates a new Card object with the information, then calls Rolodex::add(…) to add the new Card to the rolodex.
    • ‘remove’ gets the current Card from the Rolodex, calls Card::show(…) to display it as part of the confirmation prompt, and if ‘yes’ is entered, it calls remove() to remove the Card from the rolodex.
    • ‘search’ requests the name to search for, then calls search(…).
    • ‘modify’ gets the current Card, calls Card::show(…) to display it, prompts for the field to change, gets the new value from the user, updates the local Card object, and repeats until no more changes. The current (old) Card can then be removed by calling remove(), and the updated Card added by calling add(…). This will put the modified Card into the correct position in the rolodex (ie. the last name could have been changed), and set it as the current Card.

Note that some of the command processing code in main() requires several steps (like the add or modify commands) and may invoke several member functions on the Rolodex to complete a command. This keeps the Rolodex implementation *minimal*, and the Rolodex class doesn’t do all the prompting, input, output, etc. The Rolodex class has basic functionality to manage the collection of Rolodex cards (which is a better design).  The Rolodex class just maintains the collection of cards (in order), and provides functionality to add, remove, search for and get cards, list the collection of cards, maintains a ‘current’ card position, and can move the position to the next card. Specific output formatting, data entry, etc., is outside of the Rolodex class. When starting a class design, keep it as small as possible – it’s always easier to add a new member function when there’s a proven need, vs. trying to remove functions after the class is in use..

The Rolodex class must be able to handle the cases of adding or removing a card to the beginning or end of the collection, and ‘wrapping around’ from the end to the beginning of the collection when moving forward from the last card to the first card.

The Standard Library std::string class should be used for the character information (no char* or char arrays).

Test Data

Use the following information to provide the initial information to demonstrate the functionality of your rolodex program. You can hardcode these entries into your rolodex initialization in main() to simulate reading the information from a file..

First: Last: Occupation: Address: Phone:
Tony Hansen Writer 12 E. St. NY, NY 33333 555-9999
Jon Smyth Computer Hardware CMU
Computer Services
Pittsburgh, PA
555-1324
Alonza Heard Mechanic 123 Anyplace Ave
Malden, MA
555-5678
Jen Reyes Graphic artist 325 Oak Rd
Wilmington, MA
555-4950
Alan Lupine Vet 1 Bigelow Ave.
Lawrence, MA
555-7654
Jewel Proverb Landscaper 34 Washington St.
Waltham, MA
555-3333
Paul Revere Radical Revolutionary 45 Commonwealth Ave.
Boston, MA
555-1776
Adolf Coors Beer Manufacturer Boston MA 555-2337
Seymour Papert Lego Professor MIT 555-1111
Fred Milton Sales 12 Freedom Way
Nashua, NH
 555-9981

Test your program with the following sequence of actions:

    • list the rolodex
    • search for Alonza Heard
    • modify Alonza Heard – change phone number, occupation
    • view the current card (should be Heard)
    • search for  Jen Reyes
    • modify  Jen Reyes – change the phone number, address, and last name to Griffin (which will change the card’s position)
    • view the current card (should be Griffin)
    • flip to the next card (should be Tony Hansen)
    • list the rolodex
    • flip through the cards until Jon Smyth is displayed.
    • remove Jon Smyth
    • view the current card (should be Coors)
    • add Matthew Williams, Teacher, 69 Main St, Acton, MA,  555-9330
    • view the current card (should be Williams)
    • flip to the next card (should be Coors)
    • remove Adolf Coors
    • view the current card (should be Griffin)
    • add Jim Butler, Contractor, 33 Cedar Lane, Concord, MA, 555-8535
    • view the current card (should be Butler)
    • flip through the cards until Alan Lupine is displayed
    • modify Alan Lupine – change address and phone number
    • flip through the cards until Jewel Proverb is displayed
    • remove Jewel Proverb
    • view the current card (should be Revere)
    • flip through the cards until Jim Butler is displayed
    • add another Jim Butler, Consultant, 22 Minuteman St, Lexington, MA.  555-4422
    • add Dan Butler, Chauffeur, 68 Willow St, Westford, MA, 555-8493 (should sort before the Jim Butler cards)
    • list the rolodex
    • << add any further testing of your own >>

Since there is a lot of runtime output for this project, you may need to increase the buffer size of your Command Prompt window in order to retain all of it.  Do the following:

    • Click on the  C:\  icon on the top left of the window’s title bar
    • Click on ‘Properties’ in the pop up menu
    • Click on the ‘Layout’ tab.
    • For the Height setting in ‘Screen Buffer Size’, choose a large value (like 1000)
    • Click on the ‘Options’ tab.
    • Select and check the “QuickEdit mode” in Edit Options (allows selecting text in the window and hit Enter to copy to clipboard)
    • Click Ok.
    • Select “Modify shortcut that started this window”, and click Ok.
capture_6_73

 

 

PRICE $ 30.00

           


complaint complaint