程序代写代做代考 android graph game database go • Introduction

• Introduction

In this assignment, you are required to develop an Android Application to play a Numerical Reasoning IQ Test by downloading the questions from a server and then request player to solve them. This app will also record the result and corresponding time required to complete a game and use charts to show the history records.

You can go to following web to try the Numerical Reasoning IQ Test:

http://books.tamilcube.com/career/aptitude-test/numerical-reasoning/number-series/number-series-questions-001.aspx

• Functional Requirements
Listed below are the basic requirements of your application. You need to refer to the Local Database section for the database schema.
• An activity which contain a button “Start”. When a user touches this button, your app will download ten IQ Test questions from a server and then ask user to randomly answer five of them one by one. You are required to use radio buttons which randomly create three incorrect choices and are close to the value of correct one.
• Once a user answers a question, your app will show user’s answer is correct or wrong. You are not required to show the answer on the screen.
• When a user finishes to answer all questions, your app will show following figures:
• the time spent on the test,
• the average time on each question and
• the number of answered questions are correct.
• A database which contains two tables. One table stores the questions, answers and your corresponding answers. Another table stores the date and time you play a test, corresponding duration to complete a test and how many answers questions are correct. (You are required to build and initialise the database on Android mobile phone.)
• Two activities (one for QuestionsLog, one for TestsLog) properly show the data stored in the local database.
• Get questions from the remote server and store it to the local database.
• Display a bar chart to show the result on different tests (how many answers are correct on each test).
Note: You are encouraged to design and implement extra features. 10% of the total mark will be allocated on such additional functions. Refer to section 7 Marking Guidelines for more details.
• Local Database
The database scheme described here is an extremely simple one. Many fields are intended not to be included in order to reduce the complexity of this assignment. You are free to add columns and tables to the database to fit for your own needs.
QuestionsLog (questionNo, question, yourAnswer, isCorrect(yes or no))
TestsLog (testNo, testDate, testTime, duration, correctCount)

• Questions JSON Server
You can obtain the questions from the server:
https://ajtdbwbzhh.execute-api.us-east-1.amazonaws.com/default/201920ITP4501Assignment
and the data returned is in JSON format.
The sample JSON string returned is shown below:
{“questions”:[{“question”:”11, 13, 17, 19, 23, 29, 31, 37, 41, ? “,”answer”:43}, {“question”:”11, 10, ?, 100, 1001, 1000, 10001″,”answer”:101},
{“question”:”20, 19, 17, ?, 10, 5″,”answer”:14},
{“question”:”9, 12, 11, 14, 13, ?, 15″,”answer”:16},
{“question”:”4, 6, 12, 14, 28, 30, ?”,”answer”:60},
{“question”:”36, 34, 30, 28, 24, ?”,”answer”:22},
{“question”:”1, 4, 27, 16, ?, 36, 343″,”answer”:125},
{“question”:”6, 11, 21, 36, 56, ? “,”answer”:81},
{“question”:”2, 3, 5, 7, 11, ?, 17″,”answer”:13},
{“question”:”2, 7, 14, 23, ?, 47″,”answer”:34}]}
{“questions”:[{“question”:”11, 13, 17, 19, 23, 29, 31, 37, 41, ? “,”answer”:43}, {“question”:”11, 10, ?, 100, 1001, 1000, 10001″,”answer”:101},
{“question”:”20, 19, 17, ?, 10, 5″,”answer”:14},
{“question”:”9, 12, 11, 14, 13, ?, 15″,”answer”:16},
{“question”:”4, 6, 12, 14, 28, 30, ?”,”answer”:60},
{“question”:”36, 34, 30, 28, 24, ?”,”answer”:22},
{“question”:”1, 4, 27, 16, ?, 36, 343″,”answer”:125},
{“question”:”6, 11, 21, 36, 56, ? “,”answer”:81},
{“question”:”2, 3, 5, 7, 11, ?, 17″,”answer”:13},
{“question”:”2, 7, 14, 23, ?, 47″,”answer”:34}]}

Note: The JSON string returned is not formatted. You may use the online JSON formatter tool such as http://json.parser.online.fr/ or http://jsonformatter.curiousconcept.com/ to read it.
• Additional Constraints
• The UI of the mobile application must be produced with Android widgets such as TextView, CheckBox, and Spinner etc. Web-based UI is NOT allowed.

• The statistical charts must be produced using Android built-in graphics API such as drawRect() and drawText(). Using any other external drawing packages or libraries is NOT allowed.

• Marking Guidelines
You project will be assessed according to the items below.
• Database initialisation
• Level of completion
• Correctness
• UI design
• Program design and implementation
• Program style and comments

10% of marks will be allocated to extra features not described in section 3. Each student can develop at most 3 additional functions such as animation effect or sound effect on the Android device or any other relevant and useful functions.
40% of total marks will be deducted if demonstration is not done.

END