CMPE 012-1-1 Lab Exercises 1F
CMPE 012-1-1 Lab Exercises 1F
BSECE 1-1
Before we proceed on a more complex topic, let’s assess and refresh first our understanding from
the previous lesson.
Create the following activity in PyCharm or online-python.com.
For checking:
o This will be 100 pts for Lab Exercise #1F
o Act #1 - #4 will be 20 pts each with criteria of:
Submit the following activity in word format.
All Font Calibri (Light), font size 12, Portrait, Margin 1” all side.
Use the following template up to Activity #4
Objective:
Create a Python program that takes a user-inputted numeric grade and classifies it into a letter grade
using only if statements.
Instructions:
1. Prompt the user to enter a numeric grade (an integer between 0 and 100 inclusive).
2. Use if statements to classify the grade into one of the following grade comments:
Very Good! = 90-100
Nice! = (80-89)
Hmm = (70-79)
Ano na = (60-69)
Mag shift na = (0-59)
*Please note grade notes above are just for fun. But use this on your activity.
Example Output:
Activity #3: Age Group Classifier
Objective:
Create a Python program that takes a user-inputted age and classifies it into different age groups using
only if-else statements.
Instructions:
Example Output:
Instructions:
Example Output