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

  Java program to declares integer array

Write a complete Java program to declares integer array, intArray, and initialize it to {1, 2, 3, 4, 5, 6, 7}.

  Cascading style sheet to a website

Compare and contrast the process of adding JavaScript and a Cascading Style Sheet to a Website. Determine if they can be used simultaneously in a page.

  Data structures and algorithms

Code analysis and programming.

  Create a driver class in java

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

  Determine if strings are equal

Complete the recursive method match in the code below which will determine whether or not two strings match.

  Design and implement a small and simple email server

Design and implement a small and simple email server using the concept of web based information system (WBIS).

  Write a program that assigns seats on an airplane

Prepare a program that teaches arithmetic to a young child. The program tests subtraction and addition. Write a program that assigns seats on an airplane.

  Design a course registration system

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

  Design and implementation of a hangman game

Design and Implementation of a Hangman game

  Create four classes

Create four classes: Account.java, Checking.java, Savings.java, and AccountArray.java.

  Uml exercise

UML Exercise: Automated Teller Machine (ATM),   1. To allow authorized card holders to make transactions,   Brief Summary of Requirements:

  Java program which demonstrates cellular automata

Using the internet, locate a Java program (or Java applet) which demonstrates "Cellular Automata", in particular "the Game of Life".

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