How many test cases did you use to test your application

Assignment Help JAVA Programming
Reference no: EM13941628

A local middle school hired you to write a quiz program that answers questions about Math, Science and the Arts. The program user should be able to select from these topics by entering an option when the program starts. For example, you may use M for Math, S for Science, A for the Arts, and X to exit the program. After the student selects the topic, the program presents a series of questions. The student should answer the question with a one character choice option. The program should provide four options for each question. One option should allow the user to exit from the quiz. Selecting the questions is up to you. If the user responds to a question correctly, the program displays a positive feedback message. If the user responds incorrectly to the question, the program displays the correct answer. The program continues to present questions within the selected topic, for a maximum of five questions, or until the students exits the questions menu. Exiting the questions menu returns the student to the topics menu. At the end of the quiz, the program displays the total number of correct and incorrect answers for each topic. Your code should be well commented.

HINT: This program will require nested loops, the outer loop asking students which category to choose from or selecting to exit the quiz. The inner loop, will cycle through asking the student questions on a particular topic. There are many ways to program these looping structures and terminate the loop when the student enters an "x". A useful feature to terminate a loop early is the break statement.

In addition to the above programming assignment, please also answer the following questions:

Did you use pseudo code to plan your quiz application? If yes, how did it help? If no, what did you use as a plan?

Address the following points about testing your application.

How many test cases did you use to test your application?

Did you perform exhaustive testing on your application? Justify your answer.

How confident are you that your application will not crash if given to a professional test organization to test?

Include your code and the answers to the questions

Reference no: EM13941628

Questions Cloud

Annual incentive fee according to black-scholes formula : A hedge fund with net asset value of $80 per share currently has a high water mark of $88. Suppose it is January 1, the standard deviation of the fund’s annual returns is 49%, and the risk-free rate is 5%. The fund has an incentive fee of 15%. What i..
What price should it set : Why will a monopolist's output increase if the government forces it to lower its price? If the government wants to set a price ceiling that maximizes the monopolist's output, what price should it set?
What effective annual interest rate does the firm earn : A firm offers terms of 1/10, net 35. What effective annual interest rate does the firm earn when a customer does not take the discount? What effective annual interest rate does the firm earn if the discount is changed to 2 percent? What effective ann..
Marketing environment and strategy of aesop : Describe the marketingbackground of the company that includes key information about the industry indicating where the company fits and/or positions itself paying special attention to sustainable practices- environment, society, resources use, etc ..
How many test cases did you use to test your application : How confident are you that your application will not crash if given to a professional test organization to test?
Key components to implementing change strategies effectively : What are some of the key components to implementing change strategies effectively? Describe a time when an organization for which you have worked underwent significant change
Will an increase in the supply facing a monopsonist : Will an increase in the demand for a monopolist's product always result in a higher price? Explain. Will an increase in the supply facing a monopsonist buyer always result in a lower price? Explain.
What is cost of common equity : COST OF COMMON EQUITY Percy Motors has a target capital structure of 40% debt and 60% common equity, with no preferred stock. The yield to maturity on the company's outstanding bonds is 9%, and its tax rate is 40%. Percy's CFO estimates that the comp..
What events can president of united states declare disasters : What events can the president of the United States declare disasters? Should there be stricter guidelines concerning what events the president of the United States can declare disasters? Why or why not?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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