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
Redundant sequence identification: Given a set of k DNA sequences, S = { s 1, s 2, ... ,  s k } give an optimal algorithm to identify all sequences that are completely contained

Explain, in your own words, how web designers can deal with CSS conflict resolution. What is the order of precedence between the different types of CSS (inline, embedded and extern

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des

Determine the address accessed by each of the following instruction if DS=1100H, BX=0200H, LIST=0250H AND SI=0500H-: 1) MOV LIST[SI],EDX?0250+0500+11000=11750 2

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

The software development team identified the following classes based on the analysis of given requirements: Product, Employee, ProductList, Supplier. 1.  Identify the relationsh

OTRS Customisation using Perl, MySQL Programming OTRS is a perl based open source issue ticket management solution. Default performance features 'note-internal' that is visible

Complete the following program to move a value of 0xFFH to PORTB LIST p=18f4550 #include org 0x0000 movlw 0x00 _________ movlw 0xFF movwf PORTB end .

Define Functions with no arguments and no return values? When a function has no arguments it doesn't receive any data from the calling function. Likewise, it doesn't return any

Write a program to handle a book collection. The data on each book might be title, author, publication date, book number and  cataloging details. Allow for adding or deleting books