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

Week 4:

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.

Week 4 Notes – Mathematical Functions;  Characters and Strings

Recalling our Week 3 Notes:   We are using conditions – if/else and switch statements, and we use the diamond in flowcharting to show a condition, a question to be answered true or false or with multiple answers.  Section 3.5 of our textbook helps us with the flowcharting.

For Week 3, we have graded items due this week:

  1. Week 3 Discussion, (2) Week 3 Quizzes and Projects 3 & 5 from text, (3) Test Plan

WEEK 4 TASKS

We are working with (1) Mathematical Functions, and with (2) Characters & Strings.

We have our graded tasks as usual: 

        (1) Week 4 Discussion,  (2) Week 4 Quizzes and Projects 1 & 5, (3) Test Plan

Mathematical Functions from the standard Math Library, which we can find here, for example – Java Math Library.   We see the Math class, with methods/functions such as sqrt, pow, and round about 1/3 way down the page.  Almost anything you’d like to do with Math functions has already been written for you as a method/function in the Library. (In your next Java course, you’ll see much more use of Library classes as a tremendous time saver. No need to reinvent the wheel.   List of Standard Java Classes

Characters and Strings are also found in the standard Java Library – Character class, with methods such as equals, toUpperCase and toLowerCase (about ½ way down the page), and String class, with methods such as equals, equalsIgnoreCase, and contains (about ½ way down again, since methods/functions are below other information).

Then you have graded Projects 1 and 5, in which you will use what you have learned. 

Flowcharts – Our Test Plan flowcharts will be much easier in Week 4, without conditions.  In Week 5 we’ll work with Loops and will need conditions once again, with the diamond symbol. 

For Project 1: 

You will find this short, with input, calculation and output.  Look for the Math functions such as Math.sin (for the sine) and Math.PI for the constant PI.  

For Project 5:

We have another short program recognizing valid and invalid Social Security numbers.  Note that the Character class in Java has a method called isdigit().  

NOTE:  The Java Library contains more than 4400 classes such as the Math, Character and String classes.   These can provide functions/methods to do many tasks for you, just by using the method, such as:   answer = Math.sqrt(4444);

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

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

Related Questions

The obvious differences between males and females are in the

The obvious differences between males and females are in the anatomy of the reproductive system; however, males and females also differ in other ways. Reflect on all the eleven organ systems of the body and discuss the questions that follow. Please complete the following steps for your discussion post and

Select any example data visualization or infographic the is appropriate

 Select any example data visualization or infographic the is appropriate for the course. You will : Fully describe and detail the visualization or infographic. Describe what you feel is wrong with the example. Describe changes you will make to the work  If the selected project was a static work, what

Please note: Although there are many business plans to choose

   Please note: Although there are many business plans to choose from in this link, you want to select one that addresses all ten of the components listed below. Most of the plans will have subtopics that identify the components. However, it is also important to note that some of

How important are reference groups to the purchase of the

Answer the following questions using: (a) shoes, (b) barbecue grill, (c) car, (d) toaster, (e) iPad, and (f) adopting a pet from a shelter.  Questions: 1. How important are reference groups to the purchase of the above-mentioned products or activities? Would their influence also affect the brand or model? Would their influence

Book Review #1- “The Spirit Catches You and You Fall Down”Chapters 1-3 Explain why Foua Yang’s birthdate may have been different in various locations in the medical charts? Describe how the history o Nursing Assignment Help

Book Review #1- “The Spirit Catches You and You Fall Down”Chapters 1-3 Explain why Foua Yang’s birthdate may have been different in various locations in the medical charts? Describe how the history of the Hmong people as discussed in chapter two may have influenced Foua and Nao Kao’s perception of

Work Lesson 3 Patricia is a 17-year-old, Caucasian female who

Work Lesson 3    Patricia is a 17-year-old, Caucasian female who was referred to a Social Worker by her probation officer. Patricia was arrested after she and a few friends attempted to rob a neighborhood store and Patricia was court-ordered to meet with a Social Worker. Patricia has a history

Globalization refers to the increasing integration of national and regional

Globalization refers to the increasing integration of national and regional markets and economies and the domination of the world economy by massive multinational firms.  It has affected nearly every organization, and industry, in the competitive marketplace today. Detail the following in relation to the changing nature of global competitiveness: Define

Options Identified are Creative & Realistic

For each case study you need to prepare a Report 4 pages, including an appendix with Tables and other data. Executive Summary – clear and concise on key issues and recommendations Industry Dynamics Performs an insightful Situation Analysis using appropriate tools or concepts Description of criterion Specifies Opportunities Available or

1) What was the significance of Bacon’s Rebellion? How did

1) What was the significance of Bacon’s Rebellion?  How did it fuel the decline of indentured servitude and the creation of a slave society in the southern British colonies? 2) Based on your viewing of A Midwife’s Tale (week 4), what were the main aspects of Martha Ballard’s work as

Alterrain is hiring a new computer administrator who will have

Alterrain is hiring a new computer administrator who will have computer efficiency and resource reliability as one of her job duties. In preparation for her arrival, the IT director asks you to prepare an overview for her of Windows Server 2016 monitoring tools, which includes: Task Manager Performance Monitor Data

PowerPoint • 3-6 slides that provide an evaluation of what

PowerPoint  • 3-6 slides that provide an evaluation of what each organization did right and what it did wrong; and compare and contrast the organizations • 1-4 slides on positioning of these case studies for their ability to enable the architecture (i.e. are the “hooks” in place to enable EA?)

Part 4: Stakeholder Plan For the project selected in Unit

  Part 4: Stakeholder Plan For the project selected in Unit I, create an abbreviated stakeholder management plan. Your plan should follow the process for planning stakeholder management, as referred to in Table 4.1 in the textbook.The deliverable for this element of the project is a table that you may

HDS-SLP-3 Nursing Assignment Help

Note: I need complete 2-3 pages paper on the following assignment. HALF PAGE LENGTH IS NOT ACCEPTED. Must address the all steps properly.  Must include 3 credible references from required readings and cited in APA.  Must provide 100% original work. DO NOT PROVIDE THE PREVIOUSLY USED WORK. DO NOT WRITE QUESTIONS IN ANSWER! Assignment  Watch the following video in preparation for this assignment:  Harding, J. (2014).

Development of clothing during the 17th century

Review the differences and write a short synopsis on the development of clothing during the 17th century (1600-1700). -must provide historical references as covered during the lectures, together with names and terminology of actual garment pieces as worn in different parts of Europe. -should also consider different cultural, political, religious

   Networks have changed drastically over the last 30 years.  With

   Networks have changed drastically over the last 30 years.  With the first introduction of the 56k modem, which was about 3 typewriter pages per second, to speeds well over 1Gbps these days, the ability to use networks globally, has changed the way we do business.  Using research, determine where

In your journal entry, your aim is to use this

  In your journal entry, your aim is to use this process to explore your own thought on the problem of knowledge and certainty after thinking through the material in Chapter 5 of our textbook. Thus, for step 1, you are to explain your position on the most certain source

Management Theories

Reflect on the theories of management you chose in the assignment in Module 5 (see attached). You selected theories that would help you either develop a solution to problems that make the initiative infeasible or make the process of implementing the new initiative a smooth transition. Conduct a mini-feasibly study.