Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Android Studios and please include screenshots and source code. Scenario: You recently started working as the mobile app developer for a University and have

Using Android Studios and please include screenshots and source code.

Scenario: You recently started working as the mobile app developer for a University and have been assigned to build a mobile app that calculates the students' grade. Your app should contain following screens:

Screen 1

  1. Labels for subject1, subject2, and subject3
  2. Textboxes for subject1, subject2, and subject3
  3. Labels for MaxGrade, MinGrade, and Avg.Grade
  4. Submit button
  5. Once user clicks submit button, you need to display letter grade in a label

Screen 2

  1. Screen that allows students to register for the course
  2. Once student register for the course, then the first screen should be updated dynamically with subjectnumber
  3. Once the subject is added in screen 1, then your dynamic control needs to have same validations applied as screen 1.

You also need to have following validations in your mobile app.

  1. Subject1, Subject2, Subject3 and any dynamic generated subjects values should be less than 100
  2. Subject1, Subject2, Subject3 and any dynamic generated subjects are required fields
  3. It is not possible to click submit button without entering Subject1, Subject2, Subject3 and any dynamic generated subjects.

Follow this step by step approach to resolve this problem.

  1. Create the android studio project
  2. Use Android studio layout editor
  3. Add textboxes and labels
  4. Add Button in the UI
  5. Create the required field validation for Subject1, Subject2, and Subject3 text boxes
  6. Create the validation to ensure Subject1, Subject2 and Subject3 textbox values should be numeric only and less than 100
  7. Run the entire project and validate the output screen

You need to submit following items in a zip file as part of thesubmission.

  • Android Project
  • Output screenshots

Question 2

Scenario: Once your UI is defined in Question 1, you need to create the logic to display the letter grade. You need to display the letter grade as soon as the user clicks the submit button in your app. Your app should calculate the logic as described below.

(Subject1+Subject2+Subject3/300)*100

If the output is between 90-100, then grade A

If the output is between 80-90, then grade B

If the output is between 70-80, then grade C

If the output is below 70, then grade F

  1. Update the existing project from Question 1
  2. Create Max, Min subject grade label
  3. Use if else loop to create the conditional logic on button click events
  4. Display the output
  5. Declare the variable before the oncreate function
  1. Calculate the minimum value from subject 1, subject 2, subject 3 and any dynamic generated subjects.
  2. Calculate the Maximum value from subject 1, subject 2, subject 3 and any dynamic generated subjects.

You need to submit following items in a zip file as part of submission.

  • Android Project
  • Output screenshots

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions