Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Week8_Test Plan Instructions: The Test Plan for each project includes the Pseudocode, Flowchart, Goals and Objectives, Functional Requirements, and Test Matrix including Actual Output column. Below t

Week8_Test Plan

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.

Note:  Your programming projects should be submitted in the Revel environment for grading.

Week 8 Notes:   Objects and Classes, Chapter 9

For Week 8, we have Chapter 9, with Projects 1 and 3. 

Tasks:     (1) Discussion, (2) Quizzes and Projects 1 and 3,  and (3)  Test Plans for  Projects 1 and 3

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

All tasks in our Test Plan are for Design and planning, before we write any code, except for the Actual Output, which permits us to complete the test matrix/table, verifying that our program works as expected.

Our Projects this Week

What are Objects?  Why bother with them?! 

We can reuse much of our code, saving time and megabucks for our company, if we use Objects.  Imagine writing a large program for a company’s Human Resources department, with Adding, Editing, Deleting… everything we might ever want to do with this program.  We sell it at a large price to that company.   Other companies would also like us to do that same great job for them.  We can use nearly all the same code.  We called it our Employee “class” in Java, to represent an Employee “object.”  Writing reuseable code is expected of programmers everywhere.

We are normally writing TWO JAVA FILES – one is the Object (“class” in Java, with no main method) and one is the tester file (with main).  Once we have created both files, we can RUN the tester file only.  It will automatically find the class file located in the same path with your tester.

See full Instructions in our textbook for each of our two projects.

Chapter 9:  Project 1   

Sample run: 

The area of a rectangle with width 4.0 and height 40.0 is 160.0

The perimeter of a rectangle is 88.0

The area of a rectangle with width 3.5 and height 35.9 is 125.64999999999999

The perimeter of a rectangle is 78.8

NOTE:   We may see the sample run and imagine that we’re calculating area and perimeter of a rectangle in our usual way.    This NOT the case.  We are using a completely different way of writing our code this time. See our new Chapter 9 material, and you’ve got this!

Chapter 9:  Project 3  

Sample run:

Enter the number of rows and columns in 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 largest element is 45, located at (1, 2)

NOTE:  Looks like something we’ve done before – maybe in Chapter 8?     Trust me, this will not be the same program, although we can use some of that same code.   We will write a Location class, with attributes (variables) and behaviors/actions (methods).   It has no main method.   Then we will write our tester class, with the main method, to get user input and to create the output by using the Location class.

Another Object Example:

 One “object” we may want to write is the Dog class.   We think about what attributes a dog has – name, breed, color, sex, birthday, etc.   What behaviors/actions does a dog have?    Eat, sleep, run, play, swim, etc.   You’re ready to write your Dog class.  It has no main method.  This class can be reused for other purposes. 

Testing your class:  this includes the main method and sometimes other methods as well.   You may have 3 Dogs with names, breeds, etc defined.   You may then compare age to see the youngest and oldest, for example, or to compare other attributes for breeding, for showing, for purchase.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

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

Related Questions

HTML Basics: A Beginner’s Guide HTML (HyperText Markup Language) is the standard language used to create web pages. It provides the structure for web content, allowing you to define elements like head

HTML Basics: A Beginner’s Guide HTML (HyperText Markup Language) is the standard language used to create web pages. It provides the structure for web content, allowing you to define elements like headings, paragraphs, links, images, and more. Here’s a concise guide to help you get started with HTML. 1. Structure

Introduction to Python: A Beginner’s Guide Python is a powerful, versatile programming language that has gained immense popularity among developers, data scientists, and educators. Its simple syntax a

Introduction to Python: A Beginner’s Guide Python is a powerful, versatile programming language that has gained immense popularity among developers, data scientists, and educators. Its simple syntax and readability make it an ideal choice for beginners. In this tutorial, we’ll cover the basics of Python, including variables, data types, and

Unit VII PowerPoint Presentation Question Your manager at work is extremely impressed with your computer skills since you took a computer course. The company is installing computers in its production

Unit VII PowerPoint Presentation Question  Your manager at work is extremely impressed with your computer skills since you took a computer course. The company is installing computers in its production facility, and she has asked you to create a brief PowerPoint presentation that shows tips for working in the new

Hide Assignment InformationTurnitinThis assignment will be submitted to Turnitin.InstructionsFor this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle

Hide Assignment InformationTurnitinThis assignment will be submitted to Turnitin.InstructionsFor this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle Hudson Fisher Associates Help Desk Tickets. There are three groups of tickets, Level 1, Level 2, and Level 3. You will pick two tickets from

This week's module covered some of the cloud monitoring and autoscaling techniques. You were able to use CloudWatch, one of the AWS cloud monitoring tools. Think about how you might use Clou

This week's module covered some of the cloud monitoring and autoscaling techniques. You were able to use CloudWatch, one of the AWS cloud monitoring tools. Think about how you might use CloudWatch in your deployment as you answer the following questions. In addition to your primary forum response, post at

For this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle Hudson Fisher Associates Help Desk Tickets. There are three groups of tickets, Level 1, Leve

For this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle Hudson Fisher Associates Help Desk Tickets. There are three groups of tickets, Level 1, Level 2, and Level 3. You will pick two tickets from each group. As you prepare to analyze and hopefully

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation to the assignment folder. As you are writing your recommendation, ensure your analysis and recommendations align with your manager’s priorities and concerns.

The CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders started with the CompTIA A+, and that led t

The CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders started with the CompTIA A+, and that led them to higher-paying, more complex jobs in both IT and cybersecurity. Many large corporations such as Apple, Cisco, Microsoft, and

Comparing and contrasting space and time complexity in algorithm analysisWhen performing an algorithm analysis, **time complexity** and **space complexity** are two of the most significant variables t

Comparing and contrasting space and time complexity in algorithm analysisWhen performing an algorithm analysis, **time complexity** and **space complexity** are two of the most significant variables to consider. Although they both gauge an algorithm’s efficiency, they focus on distinct areas of performance.**Time complexity** is the relationship between an algorithm’s execution

Career Focus (Required/Graded) SubscribeThe CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders sta

Career Focus (Required/Graded) SubscribeThe CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders started with the CompTIA A+, and that led them to higher-paying, more complex jobs in both IT and cybersecurity. Many large corporations such as Apple, Cisco,

CompTIA’s T/S Methodology (Required/Graded) SubscribeFor this discussion, you will be assessing the following help desk ticket below from Chikako (connectivity issue). Use the CompTIA 6-step troublesh

CompTIA’s T/S Methodology (Required/Graded) SubscribeFor this discussion, you will be assessing the following help desk ticket below from Chikako (connectivity issue). Use the CompTIA 6-step troubleshooting process below to help figure out the connectivity issue. CompTIA 6-Step Troubleshooting Process: Identify the problem. Establish a theory of probable cause. Evaluate the theory