Grade 6 – Python Practical Lab Assessment
Topic: Variables and Data Types
Select Your Assessment Question
Choose the question assigned to you. You can select only one question. Once selected, your choice is locked for this browser session.
My Student Profile
Create a Python program to display a student's profile using variables.
Your program must:
- Store the student's name in a String variable.
- Store the student's age in an Integer variable.
- Store the student's height in a Float variable.
- Display all three details using appropriate
print()statements. - Display a suitable heading: STUDENT PROFILE.
Sample data to use
Name: Aisha
Age: 11
Height: 145.5
Expected program requirements: Type the complete program, assign the values to variables and execute it successfully.
Marking Scheme – QUESTION 1
| Assessment criteria | Marks |
|---|---|
| Correct String variable and assignment | 2 |
| Correct Integer variable and assignment | 2 |
| Correct Float variable and assignment | 2 |
Appropriate print() statements to display all details | 3 |
| Program executes successfully | 1 |
| Total | 10 |
School Event Information Display
Your school is organising an event. Create a Python program to display the event information using variables.
Your program must:
- Store the event name in a variable.
- Store the number of participating students in a variable.
- Store the estimated event budget in a variable.
- Store the event venue in a variable.
- Display all the information with meaningful labels using
print()statements.
Data type requirements
Use String variables for the event name and venue, an Integer variable for the number of participating students, and a Float variable for the estimated event budget. Choose suitable values for the event.
Additional requirement: Display a clear heading and arrange the information neatly so that it can be presented on a classroom display.
Marking Scheme – QUESTION 2
| Assessment criteria | Marks |
|---|---|
| Correct assignment of both String variables | 2 |
| Correct Integer variable and assignment | 2 |
| Correct Float variable and assignment | 2 |
Meaningful print() statements displaying all four details | 3 |
| Program executes successfully | 1 |
| Total | 10 |
UAE Sustainability Campaign
Your school is conducting a sustainability campaign to promote environmental awareness. Create a Python program to display a campaign report using variables.
Your program must:
- Store the campaign title in a variable.
- Store the campaign year in a variable.
- Store the number of participating students in a variable.
- Store the total quantity of waste collected in kilograms using a variable.
- Store the campaign theme in another variable.
- Display all the information using appropriately labelled
print()statements.
Data type requirements
Use String variables for the campaign title and theme, Integer variables for the campaign year and number of participating students, and a Float variable for the quantity of waste collected. Choose suitable values.
Additional challenge: Organise your output into a well-presented campaign report using separate print() statements for the heading and information.
Marking Scheme – QUESTION 3
| Assessment criteria | Marks |
|---|---|
| Correct assignment of both String variables | 2 |
| Correct assignment of both Integer variables | 2 |
| Correct Float variable and assignment | 2 |
| Appropriate variable names reflecting the stored information | 1 |
Well-structured print() statements displaying all five details | 2 |
| Program executes successfully | 1 |
| Total | 10 |