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
Lexical Analyzer: Symbol Table - Holds the symbols accepted by the lexical analyzer or parser.  Each symbol may be a terminal or a non-terminal.  Terminal symbols are listed

Consider a system that has the following UML models: Use Case for CalculateTotalProjectCost Trigger: End of each month Normal Flow of Events For each project in the pro

need a command to : Display user id, first and last names of all the students the class specified by the prefix in alphabetical order by last name from /etc/passwd

A partly completed project Cwk 4-students is available for downloading from Studynet Assignments. You are required to amend this BlueJ project to implement a version of the WHEN sy

Question 1 How will you add styles to a document? Question2 How will you view XML in different ways? Question 3 Explain various file handling mechanism available in PERL

1. CMP and SUB CMP is used for comparing 2 registers by subtraction them from one another, but answer is not saved, whereas SUB subtracts 2 registers and saves the answer.

write and compile a simple program in Assembly Language that compute and print student grades for a course.which you can open a file, read from it, and compute the results...using

Write a booking and pricing system for seats for performances in a theatre. Design and write a system to handle information (equipment, people, events etc.) for a club. Given

what is the code to copy code on 1 jsp page to others

This is what I have so far def root_brent(f, a, b, errorlimit = tinyerror, n = -1, r_i = 0): # f(a) and f(b) must have opposite signs poly = remove_multiple_roots(poly) counter