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

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

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

Related Questions

A healthy marriage: What genre is it? How do you know (what are its

Ephesians 5:21 – 33 answer the following questions (please use the same numbering). Questions should be answered from a scholarly perspective without the use of first person 2) What genre is it? How do you know (what are its characteristics)? *For this question, you MUST use a Bible dictionary. Find

Administer a safety survey (e.g., the Injury Prevention Program [TIPP]

Administer a safety survey (e.g., the Injury Prevention Program [TIPP] from the American Academy of Pediatrics, or develop your own) to assess the home environment of a 6-month-old and a 5-year-old. 1.  Develop a plan of education and anticipatory guidance for the family. 2. How would you apply this information

In this article, you will figure out how to run

   In this article, you will figure out how to run PDF Repair or Component Repair and what each instrument does. Lacerte gives the PDF Repair device and the Component Repair instrument to assist you with settling issues you might experience infrequently. Steps to Run the PDF Repair instrument Stage

Purcell, N., & Cutchen, L. (2013). Diabetes self-management education for

  Purcell, N., & Cutchen, L. (2013). Diabetes self-management education for African Americans: Using the PEN-3 model to assess needs. American Journal of Health Education, 44(4), 203-212   You will use the information in the selected publication as you go through the phases of applying the PEN-3 model to develop a hypothetical

After reading about juries and trials in chapter 12 of

After reading about juries and trials in chapter 12 of your text, offer your ideas for improving the jury trial procedure in the United States.  For example, do you believe there are ways to promote more objective decision-making by juries? 300 words. Discuss the methods of preventing prejudicial pretrial publicity. 

After you have learned about the different types of dashes,

 After you have learned about the different types of dashes, read Emily Dickinson’s poem below. Answer the following questions in a complete paragraph. How does the speaker use diction and figurative language to portray what it’s like to be a “somebody”? What tone does this create? Use evidence from the

A 32-year-old female presents for an evaluation of a lump

A 32-year-old female presents for an evaluation of a lump in her right breast that she found on breast self-examination. The lump is found to be 2cm in size, firm, and mobile. No Adenopothy noted. What are two questions you would ask this patient? When did you first notice this

Reaction to “A New State of Mind”

write 2-3 page essay that summarizes the main issues of the video, the key characters and their stories, and how the various individuals and their stories influenced your thoughts about mental illness and stigma. Consider the following in your reaction: Which character surprised you the most? Can you identify with

Insurance, including all of the types of insurance listed below

  Insurance, including all of the types of insurance listed below in #1 and all of the insurance factors below in #2. Investing, including all of the investment factors listed in #3 below. Insurance Types of Insurance to be discussed (make a heading for each of the types of insurance

Research on Music and Infants

 Research on Music and Infants: ◦ This research tries to answer the following question: What are the musical/sound features (pitch, volume, texture, duration and form) connected to the early years (0-6 years old; infants/toddlers/children/babies) brain development research? ◦ Find at least 50 relevant articles ◦ You have to search only

This assignment requires you to write a Literature Review draft

This assignment requires you to write a Literature Review draft based on the credible academic sources you have read and evaluated about your topic.  The assignment must be double-spaced, in 12-point font, and at least 5-pages in length. It should draw from at least 6 peer-reviewed sources. It should cite

Create a 12-15 slide informative digital presentation for special education

  Create a 12-15 slide informative digital presentation for special education and/or early intervention staff in-service. Include the following: The purpose and benefits of assessments in the early childhood environment. The purpose and benefits of collaborating with related service providers during the assessment process. Define and discuss formative and summative

Hispanic/Latino

Select an ethnic minority group that is represented in the United States (American Indian/Alaskan Native, Asian American, Black/African American, Hispanic/Latino, Native Hawaiian, or Pacific Islander). Using health information available from Healthy People, the CDC, and other relevant government websites, analyze the health status for this group. In a paper of

Research project about the scientific human impact on the Ozone

  Research project about the scientific human impact on the Ozone layer like 4 slides in PowerPoint about it provide some pictures and chemical formula  scientific research presentation using PowerPoint that addresses the human impact on ozone layer . research focusing on the Chemistry aspects of the human impact of

Scenario: You are responsible for selecting candidates to interview for

Scenario: You are responsible for selecting candidates to interview for the Project Manager position you advertised. Below are the responsibilities, requirements, and skills for a successful candidate. With over 100 resumes submitted, your task is to develop a checklist of criteria that you will use in screening the resumes to

Design-Build Procurements and Projects

Objectives for Assignment: • Develop and improve written communication • Discover methods and resources for locating credible references • Use the APA writing style correctly • Effectively document the differences in one-step and two-step procurement methods for D-B 1. Seminar Report #1 must be a minimum of 750 typed words.

Biopsychosocial diagnostic assessment of military trauma

Description You are asked to write a final 10-12 -page research-based paper that is designed for the demonstration of your individual mastery of the possible significant trauma consequences of military service and your individual ability to: (a) assess and offer a viable and accurate biopsychosocial diagnostic assessment of military trauma

Discussion #1 After reviewing all the material for the week,

  Discussion #1 After reviewing all the  material for the week, share in your own words (with at least two  in-text citations to indicate the origin of your information), the  meaning of the concept of Total Rewards, describe how it differs from  the traditional approach to compensation, and why this