Develop java applet that will help elementary school student

Assignment Help JAVA Programming
Reference no: EM1353670

1) Develop a Java applet that will help an elementary school student learn multiplication. Use the Math.random method or a Random object to produce two positive one-digit integers. The program should then display a question, such as:

How much is 6 times 7?

This question can be posted anywhere on the applet window you want. You can easily have it go to the status line at the bottom via the showStatus method.

The student then types the answer into a JTextField. Next the program checks the student's answer. If the answer is correct, draw the string "Very good!" on the applet and ask another multiplication question. If the answer is wrong, draw the string "No. Please try again." on the applet and let the student try the same question repeatedly until the student finally gets it right. A separate method should be used to generate each new question. This method should be called once when the applet begins execution and each time the user answers the question correctly. All drawing on the applet should be performed by the paint method (usually indirectly through the repaint method).

Three scenarios are required! You must run your application for three different successive multiplication results. On the first problem, make two deliberate mistakes before providing the correct result. Then on the second problem, make one deliberate mistake before providing the correct result. Finally on the third problem provide the correct result on the first try. Note that zero is not a positive number.

You must show all of the program's prompts for input, all of the actual user's inputs, and all of the program's responses to all user's inputs. Do not just show a sample of the program/user interaction.

Reference no: EM1353670

Questions Cloud

Write three items contained in fat database : What does CHS stand for? List three items contained in the FAT database. List two features NTFS provides that FAT does not.
Key microeconomic messages to communicate the board : Suppose you are sitting in your office one evening, you begin to think about some of the key microeconomic messages you want to communicate to the Board.
Modern-day work environment : In the modern-day work environment, organizations are increasingly relying on team-based work.
Artifacts in organizational culture : Organization depends upon a unified regime of versatility consisting of a diverse range of cultural collaboration of innovative concepts that might not take form quickly on an individual bases.
Develop java applet that will help elementary school student : Develop a Java applet that will help an elementary school student learn multiplication. Use the Math.random method or a Random object to produce two positive one-digit integers.
Describe how the philosophy of milton friedman played a role : Describe how the philosophy of Milton Friedman played a role in management's decision and Identify one other ethical framework that influenced management during this event
Organizational culture and its effect on individuals : Organizational culture and its effect on individuals - How does organizational culture affect individual values, motivation, or job satisfaction?
Influence of economic downturn : How do you think the economic downturn has affected this issue? Or has it?
Organizational culture-u.s. army : Briefly analyze the effects of organizational culture on organizational development and change. As a part of your analysis,

Reviews

Write a Review

JAVA Programming Questions & Answers

  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.

  Rock-paper-scissors :- java problem

Design decision marks are based on how you implemented our programs/classes.

  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.

  A jsp expression can contain any java expression

A JSP expression can contain any Java expression that evaluates to a

  Implement a class quiz

Implement a class Quiz that implements the Measurable interface.

  User session mgr - socket and thread programs

User Session Mgr - Socket and Thread Programs

  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..

  Dijikstra for undirected graph using simple scheme

Dijikstra for undirected graph using simple scheme with array and fibonacci heap and compare the performance/results, preferably in java.

  Create a driver class in java

Your project is to create a driver class that uses SuperJavaIceCreamClass.

  Design a course registration system

Create an application which represents a simplified course registration system using ArrayLists and HashMaps.

  Java program to compute invoice for client

You need a java program to compute the invoice for client and then print out invoice to the screen. The consulting rate is $200 per hour.

  Create a project in eclipse

Create a new project

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