Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Examination Period EXAM CODES: FIT2081
TITLE OF PAPER: Mobile Application Development -
MOCK EXAM EXAM DURATION: Rules During an exam, you must not have in your possession any item/material that has not been authorised for your exam. This includes books, notes, paper, electronic device/s, mobile phone, smart watch/device, calculator, pencil case, or writing on any part of your body. Any authorised items are listed below. Items/materials on your desk, chair, in your clothing or otherwise on your person will be deemed to be in your possession. You must not retain, copy, memorise or note down any exam content for personal use or to share with any other person by any means following your exam. You must comply with any instructions given to you by an exam supervisor. As a student, and under Monash University’s Student Academic Integrity procedure, you must undertake your in-semester tasks, and end- of-semester tasks, including exams, with honesty and integrity. In exams, you must not allow anyone else to do work for you and you must not do any work for others. You must not contact, or attempt to contact, another person in an attempt to gain unfair advantage during your exam session. Assessors may take reasonable steps to check that your work displays the expected standards of academic integrity. Failure to comply with the above instructions, or attempting to cheat or cheating in an exam may constitute a breach of instructions under regulation 23 of the Monash University (Academic Board) Regulations or may constitute an act of academic misconduct under Part 7 of the Monash University (Council) Regulations. Authorised Materials OPEN BOOK YES NO CALCULATORS YES NO SPECIFICALLY PERMITTED ITEMS YES NO if yes, items permitted are: Instructions IMPORTANT PLEASE READ This exam is divided into sections. In each section there are: Page 1 of 12 2 short answer questions labelled a and b 2 questions on presented code labelled a and b For both the short answer questions and the questions on presented code you should attempt to answer both a and b MARK DISTRIBUTION All questions are of equal value. HOW TO ANSWER THE QUESTIONS Keep your answers brief and to the point. If you need to make multiple points to answer a question use a bullet point list with the most important and/or relevant points listed first. Page 2 of 12 Information IMPORTANT PLEASE READ This exam is divided into sections. In each section there are: 2 short answer questions labelled a and b 2 questions on presented code labelled a and b For both the short answer questions and the questions on presented code you should attempt to answer both a and b MARK DISTRIBUTION All questions are of equal value. HOW TO ANSWER THE QUESTIONS Keep your answers brief and to the point. If you need to make multiple points to answer a question use a bullet point list with the most important and/or relevant points listed first.
Page 3 of 12 Section 1 Question 1 Short Answer Question - a With respect to providing a platform on which to execute a mobile app,
what does a thin native client and a mobile Web browser have in common? 2 Marks
Question 2 Short Answer Question - b Which app component(s) is (are) activated by an Intent? 2
Marks Question 3 Question on Presented Code - a 1 2 3 4 5 6 7 8 9 10 @Override protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Intent intent = getIntent(); String msg =
intent.getStringExtra(MainActivity.EXTRA_MSG); TextView tV = findViewById(R.id.textView); tV.setText(msg); }
What is the datatype of MainActivity.EXTRA_MSG? What is its purpose? 2 Marks Question 4 Question on
Presented Code - b 1 2 3 4 5 6 7 8 9 10 @Override protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Intent intent = getIntent();
String msg = intent.getStringExtra(MainActivity.EXTRA_MSG); TextView tV = findViewById(R.id.textView);
tV.setText(msg); } What data format does the Intent class use to store data? Briefly explain.