Description
has to be done in visual studio
has to be done soon because its due soon
Unformatted Attachment Preview
CIS 112 – COMPUTER PROGRAMMING 1
Jacqueline A. Emslie, MS, Instructor
ASSIGNMENT 5 – HEADCOUNT
This is part of your Assignments Grade. This program will produce a headcount list using input records
and produce an output file. You may select which environment you wish to develop your program in.
Submit what you have completed in the Assignment 5 drop box by the due date. If developing in the IDE,
zip the folder and include the HeadcountReport.txt. If developing in Notepad, put the xxx.cs and
HeadcountReport.txt in the drop box.
INPUT
The input file is InputAsgn5.txt and is found in the Assignment 5 folder. The record layout is as follows:
FIELD NAME
Territory
Area
Department
LENGTH
2
2
2
TYPE OF DATA
string
string
string
PROCESSING
Read through each record.
When there is a change in the territory and/or area and/or department, make the appropriate
subtotals. See sample output below.
OUTPUT
Name the output text file HeadcountReport.txt.
Terr - 01
Area - 01
Department Number of Employees
01
1
05
15
06
3
Area - 02
Department Number of Employees
06
7
Terr - 02
Area - 01
Department Number of Employees
06
1
Purchase answer to see full attachment
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Review
Review
Anonymous
Excellent resource! Really helped me get the gist of things.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
Spanning trees and Spanning Minimum Trees Discussion
This question is about spanning trees, minimum spanning trees and Prim’s algorithm and assesses your skills in clear and ...
Spanning trees and Spanning Minimum Trees Discussion
This question is about spanning trees, minimum spanning trees and Prim’s algorithm and assesses your skills in clear and succinct communication, which are required for the last question in the exam. Moreover, explaining a topic to others is a good way to consolidate one’s own learning.Write a report that explains what the minimum spanning tree problem is and how it can be solved with Prim’s algorithm and Kruskal's algorithmphoto of what is required is attached, also is only 700 words so should not take long at all :)
CPT 307 Ashford University Features of ROI Calculator Program in Java
Prior to beginning work on this assignment read What is ‘Return on Investment – ROI’ (Links to an external site.). R ...
CPT 307 Ashford University Features of ROI Calculator Program in Java
Prior to beginning work on this assignment read What is ‘Return on Investment – ROI’ (Links to an external site.). Review Chapter 1 in Data Structures Essentials, as well as the following web pages from Week 3: Data Structure – Linked List (Links to an external site.); Java Examples – Get Elements of a LinkedList (Links to an external site.); Java – The LinkedList Class (Links to an external site.); Lesson: Implementations (Links to an external site.); List Implementations (Links to an external site.); and The List Interface (Links to an external site.).Students: Be sure to download and save a PDF version of your textbook for future reference. It will be used in later courses within your program, including the final, capstone course. Zybooks limits online access to your course textbooks to a 12-month period. (Zybook Download Instructions)For this assignment, you will take on the role of a member of an IT department. Your chief technology officer (CTO) has tasked your department with the replacement of IT equipment. Your manager does not want to buy a piece of equipment based on the brand name alone. Rather, your manager wants to know the return on investment for each piece in order to make a sound purchasing decision.Your task is to write a Java program that will be used to calculate ROI on three different pieces of equipment and sort it from best to least ROI. The program must prompt the user to enter the brand name of the equipment, the gain, and the cost for each piece of equipment.In this coding assignment, you will express searching and sorting algorithms to return the ROI best to least for each piece of equipment. You must apply algorithmic design techniques in developing your program so that you can ensure the user will receive a correctly sorted list. Utilize a LinkedList class to create the list. Include comments for each section of the program. You may select variable names as long as proper Java syntax is used. You will also submit your source code in a zip file.Utilize a Java LinkedList to input the brand name of the equipment along with the equipment’s corresponding gain and cost. The input should be completed by the user either via keyboard or via file. As a last resort, the data can be hard-coded into the program.The input for this calculation is in the Gains and Costs for Equipment table.Utilize the ROI calculation (below) with the data from the LinkedList. You may select any of the sorting algorithms from Chapter 1 of Data Structures Essentials to sort the ROI from best to least return.The calculation for Return on Investment Calculation (ROI) is as follows:ROI = (Gain from Investment – Cost of Investment) / Cost of InvestmentSort from the best to least ROI, and display to the screen the equipment name, gain, cost, and calculated ROI. The program must include the code to inform the user that the program has completed processing.Your code must include the following as comments at the top of the code:Name of programAuthor/student’s nameCourse name and numberInstructor’s nameDate submittedTake a screen shot of the results page and save the image. When you are finished with your Java program, zip the file(s). Next, submit the zip folder that contains the running source code to the Week 5 Zip File Submission page. If you need more guidance, review the Zip File Quick Start Guide. Be sure that you are sharing the zip folder with your instructor only. Your instructor will run your source code to ensure that the functionality runs correctly.In a Word document, describe the object-oriented features of your Java program in a minimum of 200 words. Paste the image of your results. Upload your zip file. Submit your Word document to Waypoint for grading.Carefully review the Grading Rubric (Links to an external site.) for the criteria that will be used to evaluate your assignment.
Pine Valley Furniture Company Databases SQL
Use the Pine Valley database to answer each of the questions. Each questionwithin deliverable 2 must begin on a new page a ...
Pine Valley Furniture Company Databases SQL
Use the Pine Valley database to answer each of the questions. Each questionwithin deliverable 2 must begin on a new page and be sure to document the questions the title ofeach item atthe top of each page. Also, using a 12-point font, include the SQL statement and then provide a screen shot of each query. The screen shots must includeboth the SQL statement and theresults for each item below based on the data entered in task 1. The screen shots must be large enough for the instructor to clearly read the results without a magnifying glass! Caution: Read the instructions carefully! Each question is based on a single SQL statement, and the single SQL statement might contain sub-queries (additional SELECT statements) within the statement.Provide a list all of the Customer ID, Customer Names, and States and sort the list in alphabetical order by Customer Name.Provide a list of all of the Customer ID, Customer Names, and States, and sort the list by state with the Customer Names in alphabetical order within each state.What is the full address of the customer named Kaneohe Homes? That includes the street, city, state, and zip codeProvide a list of the product name, product ID, and unit price for all of the products in the Product table, sorted in alphabetical order by product nameWhat is the standard price and standard price if increased by 15% for every product?What is the average standard price for the products with a product finish of natural ash?Provide a listing of all of the products that includes the difference between its standard price and the overall average standard price of all products.What is the product name, product ID and price of most expensive product in the product table?Which orders have been placed since October 20, 2005?List the product name, standard price, and finish for all tables that cost more than $300 and all desks that cost more than $300.Provide a listing of the unique product IDs for the products in the Order Line table. Which states have more than one customer? List the states and the number of customers for those statesBook Pine Valley Furniture Company (PVFC) Datasets Customer_T CustomerID, CustomerName, CustomerAddress, CustomerCity, CustomerState, CustomerPostalCode 1, 'Contemporary Casuals', '1355 S Hines Blvd', 'Gainesville', 'FL', '32601-2871' 2, 'Value Furniture', '15145 S.W. 17th St.', 'Plano', 'TX', '75094-7743' 3, 'Home Furnishings', '1900 Allard Ave.', 'Albany', 'NY', '12209-1125' 4, 'Eastern Furniture', '1925 Beltline Rd.', 'Carteret', 'NJ', '07008-3188' 5, 'Impressions', '5585 Westcott Ct.', 'Sacramento', 'CA', '94206-4056' 6, 'Furniture Gallery', '325 Flatiron Dr.', 'Boulder', 'CO', '80514-4432' 7, 'Period Furniture', '394 Rainbow Dr.', 'Seattle', 'WA', '97954-5589' 8, 'California Classics', '816 Peach Rd.', 'Santa Clara', 'CA', '96915-7754' 9, 'M and H Casual Furniture', '3709 First Street', 'Clearwater', 'FL', '34620-2314' 10, 'Seminole Interiors', '2400 Rocky Point Dr.', 'Seminole', 'FL', '34646-4423' 11, 'American Euro Lifestyles', '2424 Missouri Ave N.', 'Prospect Park', 'NJ', '07508-5621' 12, 'Battle Creek Furniture', '345 Capitol Ave. SW', 'Battle Creek', 'MI', '49015-3401' 13, 'Heritage Furnishings', '66789 College Ave.', 'Carlisle', 'PA', '17013-8834' 14, 'Kaneohe Homes', '112 Kiowai St.', 'Kaneohe', 'HI', '96744-2537' 15, 'Mountain Scenes', '4132 Main Street', 'Ogden', 'UT', '84403-4432' Order_T. OrderID, OrderDate, CustomerID 1001, '21/Oct/10', 1 1002, '21/Oct/10', 8 1003, '22/Oct/10', 15 1004, '22/Oct/10', 5 1005, '24/Oct/10', 3 1006, '24/Oct/10', 2 1007, '27/Oct/10', 11 1008, '30/Oct/10', 12 1009, '05/Nov/10', 4 1010, '05/Nov/10', 1 Product_T. ProductID, ProductDescription, ProductFinish, ProductStandardPrice, ProductLineID 1, 'End Table', 'Cherry', 175, 1 2, 'Coffee Table', 'Natural Ash', 200, 2 3, 'Computer Desk', 'Natural Ash', 375, 2 4, 'Entertainment Center', 'Natural Maple', 650, 3 5, 'Writers Desk', 'Cherry', 325, 1 6, '8-Drawer Desk', 'White Ash', 750, 2 7, 'Dining Table', 'Natural Ash', 800, 2 8, 'Computer Desk', 'Walnut', 250, 3 OrderLine_T. OrderID, ProductID, OrderedQuantity 1001, 1, 2 1001, 2, 2 1001, 4, 1 1002, 3, 5 1003, 3, 3 1004, 6, 2 1004, 8, 2 1005, 4, 4 1006, 4, 1 1006, 5, 2 1006, 7, 2 1007, 1, 3 1007, 2, 2 1008, 3, 3 1008, 8, 3 1009, 4, 2 1009, 7, 3 1010, 8, 10
Hoe to submit a final collection manager program?
In this module, you will submit the final project, the collection manager program responding the recipe scenario.As you pr ...
Hoe to submit a final collection manager program?
In this module, you will submit the final project, the collection manager program responding the recipe scenario.As you prepare your final project, be sure to use feedback from your instructor to revise your work from the final project milestones. You will also need to add a driver application to the program, such as the one you developed in Stepping Stone Lab Six.Note, too, that the final project requires two types of documentation not included in earlier stepping stones or the final project milestones:Inline comments directed toward software engineers about design decisions to facilitate the program's ongoing maintenanceApplication programming interface (API) documentation for your programmatic solution directed toward other software developersTo complete this assignment, review the Final Project Guidelines and Rubric document.
4 pages
Server And Network Security.edited
The boss is very concerned with the recent cyber-attacks. He wants to know how you plan For the company to have reliable p ...
Server And Network Security.edited
The boss is very concerned with the recent cyber-attacks. He wants to know how you plan For the company to have reliable protection of their servers ...
operating system Linux
everything you will need to know about the task is in the attache, there are 9 tasks in all. if you have any further ques ...
operating system Linux
everything you will need to know about the task is in the attache, there are 9 tasks in all. if you have any further questions please do ask.
Similar Content
TAFE NSW University Advanced Trees Worksheet
Advanced Trees
Advanced Trees
Aims
• To manually work through the algorithms for self-balancing trees:
– 2-3-4 Trees...
Java code programming
#1 Provide Java code to create and initialize an array of integers (Java primitive int), floats or any other Java primiti...
ITEC 6145 Walden University Week 5 Enterprise Database Design MySQL Assignment
To complete this Assignment, using (MySQL) OracelQuery for the following information:List all the customers from Ada, MI.L...
Middle East College Student Information System for Private College Discussion
This assignment based on this topic "Student Information System for Private College". Follow the instructions below:PROJEC...
AI Java Programming Displaying Prime Factors Questions
Do 10.1, 10.5, 10.10
...
University of New Haven Smart Phone Python Lab 7
Assignment:A smart phone has the ability to save contact information. In this assignment, you will simulate the contact li...
Business Analytic Program For Transportation Insight Company Final
Transport Insight Company is facing numerous challenges such as fluctuating prices, varying regulation requirements, and h...
Parts Service Oriented Systems Integration Design Solution 1 .edited
This project will consider a healthcare facility that has grown to deliver value and services to various consumers over th...
Software Development Questions
Discuss the four distinct layers of the conceptual framework of Extended Enterprise With emerging needs that could not be ...
Related Tags
Book Guides
The Hunger Games
by Suzanne Collins
The Fault in Our Stars
by John Green
The Lord of the Flies
by William Golding
Sense And Sensibility
by Jane Austen
The Glass Castle
by Jeannette Walls
Milkweed
by Jerry Spinelli
Shattered - Inside Hillary Clintons Doomed Campaign
by Amie Parnes and Jonathan Allen
Where the Crawdads Sing
by Delia Owens
The Great Gatsby
by Francis Scott Key Fitzgerald
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
Spanning trees and Spanning Minimum Trees Discussion
This question is about spanning trees, minimum spanning trees and Prim’s algorithm and assesses your skills in clear and ...
Spanning trees and Spanning Minimum Trees Discussion
This question is about spanning trees, minimum spanning trees and Prim’s algorithm and assesses your skills in clear and succinct communication, which are required for the last question in the exam. Moreover, explaining a topic to others is a good way to consolidate one’s own learning.Write a report that explains what the minimum spanning tree problem is and how it can be solved with Prim’s algorithm and Kruskal's algorithmphoto of what is required is attached, also is only 700 words so should not take long at all :)
CPT 307 Ashford University Features of ROI Calculator Program in Java
Prior to beginning work on this assignment read What is ‘Return on Investment – ROI’ (Links to an external site.). R ...
CPT 307 Ashford University Features of ROI Calculator Program in Java
Prior to beginning work on this assignment read What is ‘Return on Investment – ROI’ (Links to an external site.). Review Chapter 1 in Data Structures Essentials, as well as the following web pages from Week 3: Data Structure – Linked List (Links to an external site.); Java Examples – Get Elements of a LinkedList (Links to an external site.); Java – The LinkedList Class (Links to an external site.); Lesson: Implementations (Links to an external site.); List Implementations (Links to an external site.); and The List Interface (Links to an external site.).Students: Be sure to download and save a PDF version of your textbook for future reference. It will be used in later courses within your program, including the final, capstone course. Zybooks limits online access to your course textbooks to a 12-month period. (Zybook Download Instructions)For this assignment, you will take on the role of a member of an IT department. Your chief technology officer (CTO) has tasked your department with the replacement of IT equipment. Your manager does not want to buy a piece of equipment based on the brand name alone. Rather, your manager wants to know the return on investment for each piece in order to make a sound purchasing decision.Your task is to write a Java program that will be used to calculate ROI on three different pieces of equipment and sort it from best to least ROI. The program must prompt the user to enter the brand name of the equipment, the gain, and the cost for each piece of equipment.In this coding assignment, you will express searching and sorting algorithms to return the ROI best to least for each piece of equipment. You must apply algorithmic design techniques in developing your program so that you can ensure the user will receive a correctly sorted list. Utilize a LinkedList class to create the list. Include comments for each section of the program. You may select variable names as long as proper Java syntax is used. You will also submit your source code in a zip file.Utilize a Java LinkedList to input the brand name of the equipment along with the equipment’s corresponding gain and cost. The input should be completed by the user either via keyboard or via file. As a last resort, the data can be hard-coded into the program.The input for this calculation is in the Gains and Costs for Equipment table.Utilize the ROI calculation (below) with the data from the LinkedList. You may select any of the sorting algorithms from Chapter 1 of Data Structures Essentials to sort the ROI from best to least return.The calculation for Return on Investment Calculation (ROI) is as follows:ROI = (Gain from Investment – Cost of Investment) / Cost of InvestmentSort from the best to least ROI, and display to the screen the equipment name, gain, cost, and calculated ROI. The program must include the code to inform the user that the program has completed processing.Your code must include the following as comments at the top of the code:Name of programAuthor/student’s nameCourse name and numberInstructor’s nameDate submittedTake a screen shot of the results page and save the image. When you are finished with your Java program, zip the file(s). Next, submit the zip folder that contains the running source code to the Week 5 Zip File Submission page. If you need more guidance, review the Zip File Quick Start Guide. Be sure that you are sharing the zip folder with your instructor only. Your instructor will run your source code to ensure that the functionality runs correctly.In a Word document, describe the object-oriented features of your Java program in a minimum of 200 words. Paste the image of your results. Upload your zip file. Submit your Word document to Waypoint for grading.Carefully review the Grading Rubric (Links to an external site.) for the criteria that will be used to evaluate your assignment.
Pine Valley Furniture Company Databases SQL
Use the Pine Valley database to answer each of the questions. Each questionwithin deliverable 2 must begin on a new page a ...
Pine Valley Furniture Company Databases SQL
Use the Pine Valley database to answer each of the questions. Each questionwithin deliverable 2 must begin on a new page and be sure to document the questions the title ofeach item atthe top of each page. Also, using a 12-point font, include the SQL statement and then provide a screen shot of each query. The screen shots must includeboth the SQL statement and theresults for each item below based on the data entered in task 1. The screen shots must be large enough for the instructor to clearly read the results without a magnifying glass! Caution: Read the instructions carefully! Each question is based on a single SQL statement, and the single SQL statement might contain sub-queries (additional SELECT statements) within the statement.Provide a list all of the Customer ID, Customer Names, and States and sort the list in alphabetical order by Customer Name.Provide a list of all of the Customer ID, Customer Names, and States, and sort the list by state with the Customer Names in alphabetical order within each state.What is the full address of the customer named Kaneohe Homes? That includes the street, city, state, and zip codeProvide a list of the product name, product ID, and unit price for all of the products in the Product table, sorted in alphabetical order by product nameWhat is the standard price and standard price if increased by 15% for every product?What is the average standard price for the products with a product finish of natural ash?Provide a listing of all of the products that includes the difference between its standard price and the overall average standard price of all products.What is the product name, product ID and price of most expensive product in the product table?Which orders have been placed since October 20, 2005?List the product name, standard price, and finish for all tables that cost more than $300 and all desks that cost more than $300.Provide a listing of the unique product IDs for the products in the Order Line table. Which states have more than one customer? List the states and the number of customers for those statesBook Pine Valley Furniture Company (PVFC) Datasets Customer_T CustomerID, CustomerName, CustomerAddress, CustomerCity, CustomerState, CustomerPostalCode 1, 'Contemporary Casuals', '1355 S Hines Blvd', 'Gainesville', 'FL', '32601-2871' 2, 'Value Furniture', '15145 S.W. 17th St.', 'Plano', 'TX', '75094-7743' 3, 'Home Furnishings', '1900 Allard Ave.', 'Albany', 'NY', '12209-1125' 4, 'Eastern Furniture', '1925 Beltline Rd.', 'Carteret', 'NJ', '07008-3188' 5, 'Impressions', '5585 Westcott Ct.', 'Sacramento', 'CA', '94206-4056' 6, 'Furniture Gallery', '325 Flatiron Dr.', 'Boulder', 'CO', '80514-4432' 7, 'Period Furniture', '394 Rainbow Dr.', 'Seattle', 'WA', '97954-5589' 8, 'California Classics', '816 Peach Rd.', 'Santa Clara', 'CA', '96915-7754' 9, 'M and H Casual Furniture', '3709 First Street', 'Clearwater', 'FL', '34620-2314' 10, 'Seminole Interiors', '2400 Rocky Point Dr.', 'Seminole', 'FL', '34646-4423' 11, 'American Euro Lifestyles', '2424 Missouri Ave N.', 'Prospect Park', 'NJ', '07508-5621' 12, 'Battle Creek Furniture', '345 Capitol Ave. SW', 'Battle Creek', 'MI', '49015-3401' 13, 'Heritage Furnishings', '66789 College Ave.', 'Carlisle', 'PA', '17013-8834' 14, 'Kaneohe Homes', '112 Kiowai St.', 'Kaneohe', 'HI', '96744-2537' 15, 'Mountain Scenes', '4132 Main Street', 'Ogden', 'UT', '84403-4432' Order_T. OrderID, OrderDate, CustomerID 1001, '21/Oct/10', 1 1002, '21/Oct/10', 8 1003, '22/Oct/10', 15 1004, '22/Oct/10', 5 1005, '24/Oct/10', 3 1006, '24/Oct/10', 2 1007, '27/Oct/10', 11 1008, '30/Oct/10', 12 1009, '05/Nov/10', 4 1010, '05/Nov/10', 1 Product_T. ProductID, ProductDescription, ProductFinish, ProductStandardPrice, ProductLineID 1, 'End Table', 'Cherry', 175, 1 2, 'Coffee Table', 'Natural Ash', 200, 2 3, 'Computer Desk', 'Natural Ash', 375, 2 4, 'Entertainment Center', 'Natural Maple', 650, 3 5, 'Writers Desk', 'Cherry', 325, 1 6, '8-Drawer Desk', 'White Ash', 750, 2 7, 'Dining Table', 'Natural Ash', 800, 2 8, 'Computer Desk', 'Walnut', 250, 3 OrderLine_T. OrderID, ProductID, OrderedQuantity 1001, 1, 2 1001, 2, 2 1001, 4, 1 1002, 3, 5 1003, 3, 3 1004, 6, 2 1004, 8, 2 1005, 4, 4 1006, 4, 1 1006, 5, 2 1006, 7, 2 1007, 1, 3 1007, 2, 2 1008, 3, 3 1008, 8, 3 1009, 4, 2 1009, 7, 3 1010, 8, 10
Hoe to submit a final collection manager program?
In this module, you will submit the final project, the collection manager program responding the recipe scenario.As you pr ...
Hoe to submit a final collection manager program?
In this module, you will submit the final project, the collection manager program responding the recipe scenario.As you prepare your final project, be sure to use feedback from your instructor to revise your work from the final project milestones. You will also need to add a driver application to the program, such as the one you developed in Stepping Stone Lab Six.Note, too, that the final project requires two types of documentation not included in earlier stepping stones or the final project milestones:Inline comments directed toward software engineers about design decisions to facilitate the program's ongoing maintenanceApplication programming interface (API) documentation for your programmatic solution directed toward other software developersTo complete this assignment, review the Final Project Guidelines and Rubric document.
4 pages
Server And Network Security.edited
The boss is very concerned with the recent cyber-attacks. He wants to know how you plan For the company to have reliable p ...
Server And Network Security.edited
The boss is very concerned with the recent cyber-attacks. He wants to know how you plan For the company to have reliable protection of their servers ...
operating system Linux
everything you will need to know about the task is in the attache, there are 9 tasks in all. if you have any further ques ...
operating system Linux
everything you will need to know about the task is in the attache, there are 9 tasks in all. if you have any further questions please do ask.
Earn money selling
your Study Documents