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

  Các Thương Hiệu Kính Nam Nổi Tiếng Trên Thế Giới Trong thế giới thời trang, kính mắt không chỉ là một vật dụng bảo vệ mắt khỏi những tác động bên

  Các Thương Hiệu Kính Nam Nổi Tiếng Trên Thế Giới Trong thế giới thời trang, kính mắt không chỉ là một vật dụng bảo vệ mắt khỏi những tác động bên ngoài mà còn là một phụ kiện thời trang thể hiện phong cách cá nhân. Đối với nam

attached Comment to your peer: When B.F. Skinner introduced radical behaviorism, he argued that an individual’s behavior and surrounding

attached Comment to your peer: When B.F. Skinner introduced radical behaviorism, he argued that an individual’s behavior and surrounding environmental factors that influence said behavior are more crucial to the fundamental understanding of a person’s psychological state of mind. Taking a radical behavioral perspective, I would not consider an individual

1 Spring 2024 Assessment Brief Managing Performance through People 2 Spring 2024 Managing Performance through

1 Spring 2024 Assessment Brief Managing Performance through People 2 Spring 2024 Managing Performance through People 5HR515 Contents Module Leader …………………………………………………………………………………………………………………. 3 Key dates and details …………………………………………………………………………………………………………. 3 Description of the assessment …………………………………………………………………………………………….. 3 Assessment Content ………………………………………………………………………………………………………….. 4 Assessment Rubric ……………………………………………………………………………………………………………. 5 Anonymous Marking …………………………………………………………………………………………………………. 8 Assessment Regulations …………………………………………………………………………………………………….. 8

   THE VALUE OF NURSING INFORMATICS AND PROJECT MANAGEMENT FOR NURSING PRACTICE Transforming Nursing-Spring THE VALUE OF

   THE VALUE OF NURSING INFORMATICS AND PROJECT MANAGEMENT FOR NURSING PRACTICE Transforming Nursing-Spring THE VALUE OF NURSING INFORMATICS AND PROJECT MANAGEMENT FOR NURSING PRACTICE Read a selection of your colleagues’ responses and respond to two of your colleagues by expanding upon their responses or sharing additional or alternative perspectives.  PEER #1 · Kimberly Riley TuesdayMay

Medicine and Islam have a rich and intertwined history. From ancient times to modern advancements, Islamic civilization has contributed significantly to

Medicine and Islam have a rich and intertwined history. From ancient times to modern advancements, Islamic civilization has contributed significantly to medical knowledge and practice. Discover the profound influence of Islamic teachings on health and medicine, which continue to shape the healthcare landscape today. Unlock the power of compassion and