android app coding

   IT Communications & Business
   CODE ACTIVITY 1
TRAINING PACKAGE Information and Communications Technology
TRAINING PACKAGE CODE ICT
QUALIFICATION NAME Diploma in Software Development
QUALIFICATION CODE ICT50715
SUBJECT/CLUSTER Intermediate Programming
COMPETENCY CODE(S) & TITLE(S) ICTPRG527 Apply intermediate object-oriented language skills
ASSESSMENT INSTRUMENT Code Activity 1 – Task based exercise
ASSESSMENT METHOD Report Observation CODE R1, O1
TOPICS/ELEMENTS ASSESSED ICTPRG527 –  1.1, 1.2, 1.3, 1.5, 1.6, 1.7, 1.10, 3.1, 3.2, 3.3, KE-1, 3, 4, 5, 6
ASSESSMENT VALUE 30%
TEACHER(S) NAME: Janet Aramian
DATE DUE: 19/03/2018 WEEK: 5

STUDENT ID NUMBER:   DATE SUBMITTED:  
STUDENT NAME:  
STUDENT DECLARATION:

 

I hereby certify that:

1.              This assessment is my own work.

2.              I have not plagiarised the work of others in any form.

3.              I have not allowed or enabled others to copy from my work.

4.              I will not submit substantially the same work to meet the requirements of any other competency/cluster without the express permission in writing of the teachers involved.

 

Student’s signature:                             
 

Please Upload signed Cover Sheet to Moodle with the completed Activity 

Instructions for completion of Coding Activity 1

1. Create a word document <yourInitials>CodeActivity1 and answer any non-programming problems in this document. This document needs to be uploaded to Moodle on completion.
2. Create a new Android Studio Project for each App you develop.
3. You are to complete the Apps exactly as specified following standard coding conventions using Android Studio.  This includes:
    •       Naming conventions

•       Indenting

•       Good coding technique

•       Commenting your code

4.

 

Demonstrate the working Apps to your instructor and upload source files to Moodle

(can be zipped with the other files you need to upload)

<yourInitials>CodeActivity1

Make sure you include all your references (URL of website if online) with your answer.

Question 1a

Java is an object oriented language and C is a procedural language.

Explain what an object oriented language is and how it is different from a procedural language.

Question 1b

The four fundamental concepts of object-oriented programming are:

  • Inheritance
  • Encapsulation
  • Abstraction
  • Polymorphism

Explain in detail what each of these terms mean.

Question 1c

Explain what a data structure is in Java and give two examples.

Answer Question2 in the word document you created – <yourInitials>CodeActivity1 

Make sure you include all your references (URL of website if online) with your answer. 

There are many different ways a user can interact with the GUI on an Android Phone.

Research, list and explain 4 different ways a user can interact with the GUI on an Android phone.

DOCUMENTATION

Answer Question 3 in the word document you created – <yourInitials>CodeActivity 

Make sure you include all your references (URL of website if online) with your answer.

There are many types of documentation when creating an application. Three important ones are:

  • Requirements documentation
  • Technical documentation
  • User documentation

Explain in detail what each of these terms mean.

Create the following app using Android Studio.

A triathlon event requires an app that allows an athlete to register for one of three national triathlons to qualify for the Ironman Championships.

The triathlon registration app requires two pieces of information from the user:

  1. the number of athletes on the user’s team (each team member costs $550)
  2. Requests the location of the event.

(choice of three – Gold Coast, Bondi Beach and Bell’s Beach)

After the user taps the Button the selected location and total team cost are displayed The following conditions must be met:

  • A title displayed
  • An image displayed
  • A Spinner used (that is populated by an array)
  • A hint displayed

Create the following app using Android Studio.

A Photo printing service requires an app to determine the costs of printing from your phone. (The pictures are then delivered to your home)

The photo printing app requires two pieces of information from the user:

  1. How many prints
  2. to select either a 4 x 6 print (15c) or 5 x 7 print (45c) or 8 x 10 print (80c)

After the user taps the Button the cost for the number of prints is displayed The following conditions must be met:

  • Radio buttons are to be used for the size of the print
  • The cost should only display 2 decimal places
  • 20 prints is the upper range – any more than 20 should prompt a Toast notification
  • Use a custom icon

Create the following app using Android Studio.

A café specializing in chocolate desserts would like an app to display the specials of the day.  As each dessert is selected an image of that dessert is displayed.

The screen lists the three desserts – Chocolate Mousse, Chocolate Cake, Chocolate Macaron and the website http://www.lindt.com.au/cafes-shops/ using a custom icon.

When the user selects one of the three specials an image of the special is displayed. If the user selects the website then http://www.lindt.com.au/cafes-shopsopens.

The following conditions must be met:

  •      Use a ListView with a custom layout

Create the following app using Android Studio.

A public health service is trying to encourage people to have healthy snacks. The Healthy Snack app displays an image of five healthy snack options.

The screen display has three images on each row in a GridView control

When the user selects a thumbnail image of the healthy snack, a larger image appears below the GridView.

The following conditions must be met:

  • Use a GridView control
  • Display each image using a layout height of 400dp, two columns, 2 dp for horizontal and vertical spacing and a column width of 150dp.

Create the following app using Android Studio.

An app is required to calculate a person Body Mass Index (BMI).

BMI calculator opening screen displays a title and image.

The user is asked to enter their height in metres and weight in kilograms.

These values are saved as persistent data using SharedPreferences.

When the user taps the button a second screen is displayed.

The second screen retrieves the saved values and calculates the BMI.

𝑤𝑤𝑤𝑤𝑤𝑤𝑤𝑤ℎ𝑡𝑡(𝑘𝑘𝑤𝑤)

𝐵𝐵𝐵𝐵𝐵𝐵 = / â„Žð‘¤ð‘¤ð‘¤ð‘¤ð‘¤ð‘¤â„Žð‘¡ð‘¡(𝑚𝑚) ∗ ℎ𝑤𝑤𝑤𝑤𝑤𝑤ℎ𝑡𝑡(𝑚𝑚)

Then displays the BMI to one decimal place. (Include an image as well on the second screen) The following conditions must be met:

  • Data must be saved as persistent data using SharedPreferences.
  • Data must be retrieved from SharedPreferences.
  • A second screen must be displayed.
  • BMI must be displayed to one decimal place.
Order from us and get better grades. We are the service you have been looking for.