Application for a mid , Programming Languages

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!

Posted Date: 2/23/2013 7:39:46 AM | Location : United States







Related Discussions:- Application for a mid , Assignment Help, Ask Question on Application for a mid , Get Answer, Expert's Help, Application for a mid Discussions

Write discussion on Application for a mid
Your posts are moderated
Related Questions
Return a new picture with each pixel''s color values made up of 80% of the color values of the corresponding pixel in the first picture and 20% of the color values of the

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

NOTE: You will only submit the University.java and EmptyFileException.java files (inside P3.zip/tar) NOTE on null objects:. From Project 1: Since the array of students in the Cou

Most popular news websites publish their RSS ( Really Simple Syndication ) feeds. If you haven 't heard of RSS, you may have a look at this article on Wikipedia. In this assignm

Define a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

ASP.NET and ASP.NET AJAX ASP.NET AJAX, formerly known as "Atlas", is an Enthusiasm rendering of an AJAX centered structure, designed for ASP.NET (although it can be used on other s

Create a single page that demonstrates an XHTML form. The form should include all the fields you feel are necessary for submitting an order of books and must include at least one

1.  Use mathematical induction to prove Whenever n is a positive integer. 2.  Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.

Using OOP,write a sample program to get the factorial of a number entered by a user

Question: (a) How does HTML allow you to: (i) turn an image into a clickable hyperlink? Include code to switch off the default border (ii) convert the above hyperlink i