Describes the mode of working of the java programs

Assignment Help Software Engineering
Reference no: EM131928255

Select a criteria-based testing strategy for the Java program Software Program in this unit's media.

You may choose to refresh your memory about how this program works by reviewing the Program Descriptions document.

Review the NetBeans Download and Testing Instructions for Java Program for an illustration of how run a test using JUnit.

Design tests based on the chosen strategy for the Java program and run the tests using JUnit.

Write a 4- to 6-page report on the testing exercise.

In your report, include the following points:

Explain the criteria-based testing strategy you chose.

Explain the designs of the tests that you ran.

Explain the failures that you found through testing. Identify and explain the errors in the source code of the software program.

Note: You do not have to correct the errors.

Program Descriptions

This document describes the mode of working of the Java programs that you will be testing during this course

Description of Software Program for Weeks 2, 3, and 4

The program will accept an arbitrary string of up to 1,000 characters. The user can choose one from among six options:

Option 1) Break the string into substrings (words) using spaces as separators
example
input: tremendous humongous result: tremendous
humongous

Option 2) Count the number of characters, numeric digits, alphabetic characters, and other characters (includes space).
example
input: The 4 ducks quacked 9 times, then flew! result: Alphabetic: 28
Numeric: 2
Other: 9

Option 3) Invert the string.
example
input: ridiculous result: suolucidir

Option 4) Count the number of occurrences of each unique word. Spaces and punctuation characters should be used as separators.
example
input: The vending machine had three diet drinks, three chocolate bars, and three granola bars. The drinks cost one dollar, and the bars cost 75 cents.
result: 3 three
3 bars
2 cost
2 drinks
2 and
2 The
1 vending
1 diet
1 the
1 one
1 machine
1 had

1 granola
1 dollar
1 chocolate
1 cents

Option 5) Convert all vowels that are in lowercase to uppercase. Convert all consonants that are in uppercase to lowercase.
example
input: The Box was Gray! output: thE bOx wAs grAy!

Option 6) Convert all alphabetic characters to lower case.
example
input: Chicago, IL, USA result: chicago, il, usa

Description of Modified Software Program for Week 6

In the initial program, options 1 and 4 used a space as a separator. The modified version of the program lets the user provide a character, which is used as a separator.
Example (for option 1)
input string: vehicle#hybrid car#sports car#minivan#truck#limousine input character: #
result: vehicle
hybrid car sports car minivan truck limousine

NetBeans Download and Testing Instructions for Java Program

The following steps will guide you to install NetBeans IDE with JUnit, to open the concerned project on which you will run tests during Units 2, 3, and 4 of this course, and to initialize running the project

1) Visit the NetBeans Download page:

2) Download the JDK with NetBeans IDE Java SE bundle, at the bottom of the following screenshot and circled around to your computer:

3) You will reach the following screen. Click the Accept License Agreement button.

4) Download the bundle for Windows x86. The download will require several minutes.

5) Run the downloaded package to install it. When you arrive at the following screen, click the first button to install JUnit and click Next.

6) Uncheck the Contribute to the NetBeans project by providing anonymous usage data and click Finish.

7) Download and unzip the file Software Program.zip from this unit's Learning Resources.

This will create a folder Software Program containing a NetBeans Project with the java program. Note the location of this folder.

8) Launch the NetBeans IDE. Upon launching for the first time, you will probably see the following screen. Close the screen by clicking on the Start Page tab on the top left-hand corner.

9) Click on the File drop-down menu, select Open Project, and click.

10) Navigate to the project folder Software Program, select it, and click on Open Project.

11) The concerned project should now appear on the Projects pane on the left.

12) The Java program with the six options should now appear on the Output pane on the right.

13) Increase the size of the Output pane by dragging the top margin up.

14) Bring the cursor at the bottom of the 6th option and type the option number you wish to test. Here, option 1 is typed. Once you enter the number, hit Enter or Return key in your keyboard. You will be asked to enter an input string upto 1,000 characters.

15) Based on your test design, enter the appropriate input and hit Enter or Return key in your keyboard to display the results.

Attachment:- NetBeans Download And Testing Instructions.rar

Reference no: EM131928255

Questions Cloud

Find monthly contribution to retirement account need to be : After a 42 year career, you hope to accumulate enough savings to be able to withdraw $7,000 per month for 28 years for living expenses during retirement.
Compute the monthly break-even for the new toy in unit sales : Compute the monthly break-even for the new toy in unit sales and in dollar sales. How many units must be sold each month to make a monthly profit of $11, 616?
How much will their monthly mortgage payment be : How much will their monthly mortgage payment be? Ignore property taxes and home insurance.
What is the portfolio expected returns : The expected returns are 14.7%, 35.2%, and 10.3% respectively. What is the portfolio's expected returns?
Describes the mode of working of the java programs : ITEC 6670 - describes the mode of working of the Java programs that you will be testing during this course - Count the number of characters, numeric digits
What is their yield to maturity : They are currently selling for Rs 935.15. What is their yield to maturity?
Given this graph your profits from arbitrage as x goes : The price of a share of IMF Global is X. The call option at 200 sells for 12.975 while the put option sells for 5.037.
How much interest will be from the investment : $850 was invested in an bank account at interest 3.6% compounded quarterly for four years.(1)How much money will be in the account at the end of four years?
Why fama and french suggest that the capm should be : Why Fama and French suggest that the CAPM should be augmented with Book-to-Market to describe stock returns in the cross-section.

Reviews

len1928255

4/4/2018 7:15:34 AM

Select a criteria-based testing strategy for the Java program Software Program in this unit’s media. You may choose to refresh your memory about how this program works by reviewing the Program Descriptions document. Review the NetBeans Download and Testing Instructions for Weeks 2_3_4 Java Program for an illustration of how run a test using JUnit. Design tests based on the chosen strategy for the Java program and run the tests using JUnit. Write a 4- to 6-page report on the testing exercise. In your report, include the following points: Explain the criteria-based testing strategy you chose. Explain the designs of the tests that you ran. Explain the failures that you found through testing. Identify and explain the errors in the source code of the software program. Note: You do not have to correct the errors.

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd