0% found this document useful (0 votes)
3 views2 pages

Sample Questions

The document outlines the creation of various Android applications using Intents to perform different tasks, including arithmetic operations, water bill calculation, temperature conversion, currency conversion, student mark evaluation, and patient data collection. Each application has specific functionalities such as passing values between activities, calculating totals and averages, and providing user feedback through Toasts and TextViews. Additionally, the patient data collection app emphasizes prioritizing appointments for senior citizens and critical patients.

Uploaded by

kevinfrancis967
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Sample Questions

The document outlines the creation of various Android applications using Intents to perform different tasks, including arithmetic operations, water bill calculation, temperature conversion, currency conversion, student mark evaluation, and patient data collection. Each application has specific functionalities such as passing values between activities, calculating totals and averages, and providing user feedback through Toasts and TextViews. Additionally, the patient data collection app emphasizes prioritizing appointments for senior citizens and critical patients.

Uploaded by

kevinfrancis967
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. Create an Android app to display the arithmetic operations using using Intent.

Pass two values


thorugh first activity and do all the operations through second activity
2. Do the following application using intent
To display the total water bill charges of the month depending upon the number of units
consumed by the customer as per the following criteria:
• for the first 100 units @ 5 per unit
• for next 150 units @ 10 per unit
• more than 250 units @ 20 per unit
Also add meter charges of 75 per month to calculate the total water bill

3. Create an Android app to display the arithmetic operations using using Intent. Pass two values
thorugh first activity and do all the operations through second activity

4. Do the following application using Intent

Temperature Converter

Accept temperature input in edit Text and provide two RadioButtons: “Celsius to Fahrenheit” and
“Fahrenheit to Celsius”. (Equation °C = (°F - 32) × 5/9)
Show the converted value in a TextView and a Toast showing result.

5. 2. Currency Converter

Convert INR to USD (1 USD = ₹83). Get the INR value in EditText

On clicking “Convert”, show converted amount in TextView and Toast (“Converted Value: $...”).

Menu “Reset” should clear inputs and show an AlertDialog or Toast “All cleared.” (Not as menu,
Place a button for Reset)

6. Student Mark Evaluator (Use Intents)

Accept three subject marks in Edittext .(Pass all these marks to second activity and calculate Total,
Average, and Grade in the second activity)

On “Result”, show Total, Average, and Grade in TextViews.

Add menu “Clear” to reset and display a Toast “Cleared”.

7. Accept the following data from a patient:

 Patient ID (Unique identifier)


 Full Name
 Age
 Gender

 Current Health conditions (Normal, Require Medical Support, Critical)

 Blood Group

 Chronic Conditions (e.g., diabetes, hypertension)


 Insurance Details

 Provider name
 Policy number

Develop an android application using intent to give priority appointments for senior citizens and
critical patients

You might also like