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

  Build the gui layout of the game

Build the Build the GUI layout of the game in java.

  Java application to permit user to enter ten numbers

Write down Java application which permits a user to enter 10 numbers (double precision) into the array and then sorts and displays numbers from lowest to highest.

  Implement a fish-lake simulation

Implement a Fish/Lake simulation similar to the previous assignment. You will then make adjustments to accommodate class hierarchies and make use of inheritance as well as a JAVA interface.

  Technical community blog

Write a blog article for a coding/technical community blog

  Creating the gui for the game interface

A GUI-based application that allows a user to play a simple trivia game

  Communication with an smtp server

Develop a graphical user interface based java program that can communicate with a real SMTP email server for sending emails

  Implementation activities of software development

Analysis, design, and implementation activities of software development

  Create system in java using agile approach

You are a software manager in company which designs critical control software for aircraft. Create system in Java using agile approach with a user involved in the development team.

  Java-s ability to derive new fonts from existing ones

Find out where on your system these font libraries are located. When you do, please specify the operating system and the location (folder/directory) where you found them. Discuss Java's ability to derive new fonts from existing ones.

  Implement the application using a singly linked list

Implement the following application using a singly linked list. This application accepts from console and stores a list of 10 names of your friends in the singly linked list

  Java problem - g queue

A queue is an ordered collection of items in which the removal of items is restricted to the FIFO ( rst in rst out) principle.

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