Skip to content

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

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

    InputProcessOutput
    List all inputsList all stepsList 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:

  1. assignment_CP115.pdf - Your complete documentation
  2. discount_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:

Submission Links:

Assignment



Released under the MIT License. All rights reserved.