Application for a mid , Programming Languages

Assignment Help:

The assignment has two parts: first you generate a simple application for a MID that operates independently of other MIDs. As a second part, the application is extended to keep some history of its activity and to interact with a web site.

For both parts, submit a listing of the program and a short description of the design in the standard submission box outside the Student Office 1.24. You should also demonstrate your code to me at a subsequent lab session. Write a simple midlet that generates random arithmetic problems for the user and records the time that it takes to answer 10 correctly.

First Part

The problems should use single digit numbers, and the operations + - or *. When a problem is answered, whether correctly or incorrectly, a new problem is produced. The midlet should indicate how many problems remain to be solved correctly. The time should be recorded to the nearest millisecond.

Second Part

Extend your MIDlet from part 1 to include the recording of the fastest
time achieved so far. This should be stored so that even if the MIDlet exits, the time is not lost.

Further extend the MIDlet so that whenever a previous best time is exceeded, the MID contacts the web page and updates the global list of fastest times. In order to do this, the page should be access with a GET specifying a nickname and the time. The nickname should have no spaces. Since there is no way of checking whether a nickname is taken --- use your login. The time should be given in milliseconds.

The page will respond with your position in the global list of all fastest times!


Related Discussions:- Application for a mid

Temperature Calculation system, Detailed Description: • The program will t...

Detailed Description: • The program will take temperature readings as input from user for specified number of consecutive days. • Program will store these temperature values into

Develop an application for airraid game, Extend the AirRaid game, so that t...

Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives

Recursion function, Use recursion to de ne a function position which has as...

Use recursion to de ne a function position which has as input an integer, a character and a string and returns the result of inserting the character in the string at the position s

Query a SPARQL endpoint using JENA JAVA API, program the following exercise...

program the following exercises using JAVA and JENA API: SPARQL endpoint to be queried: QUERY:">http://services.data.gov.uk/education/sparql QUERY: What are the school’s names th

.net class libraries in .net, .NET class libraries in .NET Whether you c...

.NET class libraries in .NET Whether you create value in C# or VB.NET, you are getting in touch with techniques in the same .NET category your local library. The same .NET str

Perl scripting, Am unable to write to file of type=file in perl script.It d...

Am unable to write to file of type=file in perl script.It does not have any extension.Help me..

Create application for a book store, You need to create a simple applicatio...

You need to create a simple application for the Note Plus book Store. The interface for the application is shown below:   REQUIRED: 1)  Create all necessary contro

Example of undetermined coefficients, Example :  Solve the following differ...

Example :  Solve the following differential equation. y (3)   -  12 y''+48 y' + 64 y = 12 - 32 e -8t + 2 e 4t Solution :    We first require the complementary solution

Discuss about wap architecture, Question 1 How to call a WML Script from a...

Question 1 How to call a WML Script from a WML Page? Question 2 Write short notes on WML Script Operators and Expressions Question 3 Write short notes on WML Script Statements

Example of arithmetic involving matrices, Example- Arithmetic :  Given th...

Example- Arithmetic :  Given the subsequent two matrices, So calculate A-5B. Solution There isn't much to do now other than the work. We first multiplied

Write Your Message!

Captcha
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