Question
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
- Labels for subject1, subject2, and subject3
- Textboxes for subject1, subject2, and subject3
- Labels for MaxGrade, MinGrade, and Avg.Grade
- Submit button
- Once user clicks submit button, you need to display letter grade in a label
Screen 2
- Screen that allows students to register for the course
- Once student register for the course, then the first screen should be updated dynamically with subjectnumber
- 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.
- Subject1, Subject2, Subject3 and any dynamic generated subjects values should be less than 100
- Subject1, Subject2, Subject3 and any dynamic generated subjects are required fields
- 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.
- Create the android studio project
- Use Android studio layout editor
- Add textboxes and labels
- Add Button in the UI
- Create the required field validation for Subject1, Subject2, and Subject3 text boxes
- Create the validation to ensure Subject1, Subject2 and Subject3 textbox values should be numeric only and less than 100
- 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
- Update the existing project from Question 1
- Create Max, Min subject grade label
- Use if else loop to create the conditional logic on button click events
- Display the output
- Declare the variable before the oncreate function
- Calculate the minimum value from subject 1, subject 2, subject 3 and any dynamic generated subjects.
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started