Assignment CP115
DEADLINE
Submission Deadline: 8.00 PM, 17th October 2025
Late submissions will NOT be accepted.
Document Specifications for assignment_CP115.pdf
Document Settings
- Font: Arial, 12pt
- Line spacing: 1.5
- Alignment: Justify
- Page Breaks: Each major section must start on a new page
- Page Numbering:
- Position: Bottom center
- Start from page 1 (after cover page)
- Cover page has no page number
Document Structure
1. Cover Page
- Use the provided Google Docs template
- Make a copy to your Google Drive
- Fill in your personal information:
- Full name
- Matric number
- Class (C01/C02)
2. Table of Contents
- Use Google Docs auto-generated table of contents
3. Problem Analysis
Problem Statement: Copy from assignment PDF below
IPO Table: Create a table with 3 columns
Input Process Output List all inputs List all steps List all outputs
4. Algorithm Design
- Pseudocode: Write step-by-step algorithm using pseudocode format
- Flowchart: Create a flowchart diagram showing program logic
- Use Flowgorithm or draw.io
5. Python Code
Full source code with detailed comments
MUST use code block formatting in Google Docs:
- Insert > Building blocks > Code block > Python
Do NOT paste code as normal text
6. Test Cases (minimum 10) Required
For each test case, include:
- Test Case Number (e.g., Test Case #1) in the title
- Description (e.g., "Valid input - Children category")
- Take screenshots of your terminal/console window
- Screenshot must show BOTH input and output
- Make sure text is clearly readable
7. Reflection
- Challenges faced during development
- Lessons learned from this assignment
- Length: 1-2 paragraphs only
Submission Guidelines
Required Files
Submit TWO files:
assignment_CP115.pdf- Your complete documentationdiscount_calculator.py- Your Python source code
File Naming
- PDF:
assignment_CP115.pdf - Python:
discount_calculator.py - Use exact filenames (case-sensitive)
Resources
Cover Page Template:
- Google Docs Template
- Make a copy to your Google Drive before editing
Submission Links:
- C01 Class: Submit Here
- C02 Class: Submit Here