programming and algorithm

User Generated

nebfr523

Computer Science

Description

There is 2 parts to this. Below is the first part I have attached the second which is another algorithm verification however this is on others. Appendix K revised.doc Test cases week 6.doc peers.doc 

 Input names of students from the user, terminated by ”ZZZ”,0,0,0, and create a data file grades with records of the following form: student (String), test1 (Integer), test2 (Integer), test3 (Integer)

 Display the contents of the file grades created in Part a. Each student’s record should appear on a separate line and include the total score (the sum of the three tests) for that student. For example, a line of output might be as follows: R. Abrams 76 84 82 242


Unformatted Attachment Preview

Appendix K IT/210 Version 5 Associate Program Material Appendix K Revised Currency Conversion Test Cases Peer Review Design Inspection Report Date of Inspection Inspector’s Name: List of Defects Identify defects and observed errors, but do not include any corrective action. Please include issues and/or errors with not using the test case template, inputs and expected results. 1 IT/210 Week 6 Assignment Test Cases and Expected Results 3/16/2014 Revision 2 Each submodule in the Currency Conversion Project has a set of test cases to test your program. The Main Module (called Main Control in the flowcharts in Appendix I) will not be tested using these test cases. The four submodules are listed below. You need to complete the test cases by using this attachment and filling in where indicated with . The first test case provides an example of what it would look like. 1. Test Cases for Display Menu Module Test Case 1: Valid CurrencyType Input: CurrencyType = 1 (Canadian) Expected Output: CurrencyType = 1 Test Case 2: Valid CurrencyType Input: CurrencyType = Mexican Pesos Expected Output: Currency Type = 2 Test Case 2: Invalid CurrencyType Input: CurrencyType = Euros Expected Output: Invalid currency type 2. Test Cases for Get Input Module Test Case 1: Valid CurrencyValue Input: CurrencyValue = 456 Expected Output: CurrencyValue = 456 Test Case 2: Invalid CurrencyValue Input: CurrencyValue = 15000000 Expected Output: Invalid Currency Value 3. Test Cases for Convert Currency Module IT/210 Week 6 Assignment Test Cases and Expected Results 3/16/2014 Revision 2 Test Case 1: Conversion #1 Input: CurrencyType = 3 = (*.5853) CurrencyValue = 3 Expected Output: 1.7558 Test Case 2: Conversion #2 Input: CurrencyType = 4 = (*101.3550) CurrencyValue = 567 Expected Output: 57,468.2850 4. Test Cases for Display Results Module Test Case 1: Results #1 Input: Nation = Mexico Currency = Peso CurrencyValue = 30 USDollars = 12.9485 Expected Output: 388.455 Test Case 2: Results #2 Input: Nation = England Currency = Pounds CurrencyValue = 45 USDollars = .5853 Expected Output: 26.3374
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Related Tags