Find the count for a particular boy name or girl name

Assignment Help Programming Languages
Reference no: EM131651437

Programming Assignment

Located on the Instructor drive in the I:\kopp\outbox\CS 222 01\Program Assignments folder are two text files: boys.txt and girls.txt. Use these files to write a program to do the following:

• Create a dictionary from the boys.txt file that uses the boys' names as the key and the number of boys that were named that name as the value. The names and counts are delimited by a comma.

• Create a dictionary from the girls.txt file that uses the girls' names as the key and the number of girls that were named that name as the value. The names and counts are delimited by a comma.

• Create a menu that contains the following choices:

o Add a name and count for either a boy or girl
o Delete a name and count for either a boy or girl
o Find the count for a particular boy name or girl name
o Find the boy name with the highest count
o Find the girl name with the highest count
o Quit the program

Use methods where appropriate. Use descriptive identifier names. Use comments to describe each method.

BE SURE TO USE DICTIONARIES AS THE ONLY MEANS TO COMPLETE THE MENU CHOICES. DO NOT USE LISTS OR ANY OTHER DATA TYPE OR DATA STRUCTURE TO SOLVE THIS PROBLEM.

Program Description: You write a short description of what the program will do

When you complete the program, do the following.

1. Create a folder with the following name: ProgramAssignment01
2. Copy your program and all appropriate files to this folder
3. Copy the folder to your folder in the I:\kopp\inbox\CS 222 01 folder.

Reference no: EM131651437

Questions Cloud

Discuss the need for managerial control : Define the term control? Discuss the need for managerial control.
In what ways did carnival fail to apply walkers three a : In what ways did carnival fail to apply walkers three A's? What should the company have done in order to apply walkers three A's?
How about your attitude toward the cruise industry as whole : As a consummer how has your attitude towards carnival been affected by your understanding of this case? How about your attitude toward the cruise industry?
Relationship between terrorism and violent extremism : Explain the difference between a left-wing terrorist group and a right-wing terrorist group. What is unique about each of their histories?
Find the count for a particular boy name or girl name : Find the count for a particular boy name or girl name. Find the boy name with the highest count. Find the girl name with the highest count.
Prepare an unadjusted trial balance : Throughout this course, you have learned various components of accounting. Prepare an unadjusted trial balance
Searching on a protean career : Class, do some searching on a "protean career". Out text does not discuss it specifically
Manufacturer of spool components used in audio cassette tape : It’s 1991. Joe, Larry and Bill are employees of Speed of Sound, Inc., the manufacturer of spool components used in audio cassette tapes.
What are facebook resources and capabilities : What are Facebook's resources and capabilities? What is Facebook's core competency? Can its resources and capabilities form the basis of a competitive advantage

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd