Week 7 only: Instructions: The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test

Week 7 only:

Instructions:

The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test Matrix including Actual Output column.  Below the table are screenshots verifying the actual output for each case.

FOUR TEST PLANS!!!  Really?!  This is also an Announcement in our classroom.

For Week 7, we have TWO Chapters – 7 and 8!    We have 4 Projects, Test Plan for each project as usual, along with our Quizzes on Chapters 7 and 8, and one Discussion on Arrays.

(1) Week 7 Discussion, (2) Chap 7 Quizzes, Projects 2 & 5, (3) Chap 8 Quizzes, Projects 3 & 5, (4) Test Plans for all 4 Projects

Each Test Plan has 5 parts, in order:  (1) Pseudocode, (2) Flowchart, (3) Goals & Objectives, (4) Functional Requirements, the (5) Test Matrix/table (simplified), and Output (screenshots from your own output).   Your Output also appears under your table to verify Actual Output.   Please make it clear that all 5 tasks are covered for each of your projects.

Our Projects this Week —  We have FOUR!

The algorithms this week will be our focus.  In working on a project in which the algorithm (steps) is not immediately clear to us, we may want to do the task by hand first, modeling the problem to SEE more clearly what the task is and how we may create the solution.  You’re working like a pro!  Also, we’ll be using loops again.   See full Instructions in our textbook for each project.

Chapter 7:  Project 2   Read integers from user.  For all integers between 1 and 100, count occurrences of each.

Sample run:

Enter the integers between 1 and 100:   2  5  3  2

2 occurs 2 times     <–  Note when to show “time” versus “times”

3 occurs 1 time

5 occurs 1 time

Chapter 7:  Project 5   Write a method that returns true if list is already sorted in increasing order, false if not. Write a test program.  There can be more than one way of solving some tasks.

Sample run:

Enter list: 8 10 1 5 16 61 9 11 1        <– 1st number tells us how many

The list is not sorted

Chapter 8:  Project 3  Find the largest element in a 2-dimensional array.

Sample run:

Enter the number of rows and columns of the array: 3 4

Enter the array:

23.5  35  2   10

4.5   3    45  3.5

35   44   5.5  9.6

The location of the largest element is at (1, 2)   <–

Note that (1,2) is the 2nd row and 3rd column, since array indices begin with 0.

Chapter 8:  Project 5   Find the Central City, the city with the shortest total distance to all other cities.

Sample run:

Enter the number of cities: 5

Enter the coordinates of the cities: 2.5  5  5.1  3  1  9  5.4  54  5.5  2.1

The central city is at (2.5, 5.0)

The total distance to all other cities is 60.81

Note:  We might model the problem on paper in order to better understand it.  I suggest a very simple problem such as cities (3,2),  (7,1),  (4,6)  and (6,4)  on graph paper. How would you find the Central City?  How will you tell the program to do these steps?

What are your questions?   Let’s finish Week 6 work quickly and begin Week 7!

Rebecca Rowson

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Write a plan for improving the way you eat. Please refer to the Centers for Disease Control and Prevention: Improving Your Eating Habits: to an

Write a plan for improving the way you eat. Please refer to the Centers for Disease Control and Prevention: Improving Your Eating Habits: to an external site. What do you currently eat during the day and where? What foods you could continue to eat or add to your diet

Lets get this started.BUSI 642 Written Case Study Assignment InstructionsOverview Employee compensation is one

Lets get this started. BUSI 642 Written Case Study Assignment Instructions Overview Employee compensation is one of the largest expenses a company has. It is important that compensation is well-designed and effective. Here you will read about how two different companies connect their total rewards to their organization values and

What ways would you choose to function as an advocate for vulnerable populations?

What ways would you choose to function as an advocate for vulnerable populations?

Identify three local organizations in your community that deliver healthcare services to vulnerable populations

Identify three local organizations in your community that deliver healthcare services to vulnerable populations

Writ a 3-5 page narrative essa  that answers one of the common interview questions. 1-Give me an example of a time that you felt you went above and beyond

Writ a 3-5 page narrative essa  that answers one of the common interview questions. 1-Give me an example of a time that you felt you went above and beyond the call of duty atwork.2) Tell me about a time when you had to give someone difficult feedback. How did youhandle

Choose a topic then write an essay. This essay is a 3-5 page narrative that answers one of the common interview questions. 1-Give me an example of a time

Choose a topic then write an essay. This essay is a 3-5 page narrative that answers one of the common interview questions. 1-Give me an example of a time that you felt you went above and beyond the call of duty atwork. 2-What is your greatest achievement outside of work?

FURTHER INFORMATION IN ATTACHMENTS-You will write an initial post, ideally 1 to 2 paragraphs in length, to the discussion topic and reply to at

FURTHER INFORMATION IN ATTACHMENTS -You will write an initial post, ideally 1 to 2 paragraphs in length, to the discussion topic and reply to at least two posts outside of your initial post thread during the module. -Read and critique the assigned article for this module tilted Association of E-Cigarette

please review the info below This assignment will be submitted to Turnitin. Submit the final revised draft of Essay 1. Remember to review, revise,

please review the info below  This assignment will be submitted to Turnitin™. Submit the final revised draft of Essay 1. Remember to review, revise, and check for all errors. Paper must be in MLA format with a Works Cited page and in a Word document.

please review the information below Course activity 5 This Module may have introduced you to many new concepts. This course activity is an attempt

please review the information below  Course activity 5 This Module may have introduced you to many new concepts. This course activity is an attempt to lighten the mood before we begin working on our final research paper.  Choose your all-time favorite movie and write a short argument persuading the reader

Adapt the concept map that you developed in the last module to now show the interrelationship between functional health patterns and functional,

Adapt the concept map that you developed in the last module to now show the interrelationship between functional health patterns and functional, potentially dysfunctional, and actually dysfunctional categories of behavior for the family. Use lines, shapes, and color creativity to show the relationships. Review the scoring rubric before you begin

Unit One • Discussion Question 1 (20 points)o Prompt: Discuss the strategic management process. The strategic management process includes communication,

Unit One • Discussion Question 1 (20 points)o Prompt: Discuss the strategic management process. The strategic management process includes communication, commitments, decisions, and actions required for a firm to compete globally. A goal is for the firm to obtain above average returns. Discuss the strategic management process for a firm to

Please answer the following questions pertaining to the scenario. Use the references above or other scholarly resources to augment your

Please answer the following questions pertaining to the scenario. Use the references above or other scholarly resources to augment your discussions.  Review the case scenario above and the associated referenced resources. Pay particular attention to the MD Anderson Cancer Center sepsis algorithm.  Select and research a different clinical issue. (DO

NSG/416: Theoretical Development And Conceptual Frameworks Summative Assessment: Applying Multiple Theories to Care Top of Form Bottom of

NSG/416: Theoretical Development And Conceptual Frameworks Summative Assessment: Applying Multiple Theories to Care Top of Form Bottom of Form Top of Form In this assessment, you will create a presentation or paper based on a given scenario in which you will apply Benner’s novice-to-expert theory. Then you will select another

Overview For this milestone, you will prepare a second draft of your final project that thoroughly addresses the items listed in the prompt. To

Overview For this milestone, you will prepare a second draft of your final project that thoroughly addresses the items listed in the prompt. To complete this assignment, you must complete the textbook reading assigned in Module Seven and review the materials presented in Modules One through Seven. As a criminal

Integration with traditional business models: Discuss the integration of VBM principles with traditional business strategies and management practices. How can businesses effectively align VBM values with their existing business frameworks?  reflecting on the following: Critically evaluate the Virtuous Business Model (VBM) in terms of its practical implementation and its

Answer the following questions based on the article below.  The deadline is Thursday at 9 pm Pacific Time. Critical and Theoretical Perspective on

Answer the following questions based on the article below.  The deadline is Thursday at 9 pm Pacific Time. Critical and Theoretical Perspective on Scapular Stabilization.pdf 1. What are these articles telling us? 2. Are we able to reliably assess the shoulder using the tools at our disposal? If the tools

Power point presentation   For this assignment you will consider your dream job as a PMHNP based on what you have learned about the role. What Specific

Power point presentation   For this assignment you will consider your dream job as a PMHNP based on what you have learned about the role. What Specific Age Group or Population you would like to treat. Choose one age group or population that is of the most interest to you

See instructions attachedFor your week 4 assignment, evaluate drug treatment plans for patients with various disorders and justify drug therapy

See instructions attached For your week 4 assignment, evaluate drug treatment plans for patients with various disorders and justify drug therapy plans based on patient history and diagnosis. To Prepare: · Review the case studies and answer ALL questions. · When recommending medications, write out a complete prescription for each medication. What