How sdaley2/cop2373 works
This repository contains four independent command-line exercises, not one integrated application: ticket sales, expense analysis, spam scoring, and product discounts. Each starts in its own script and reads or prints through the console. The graph preserves those separate workflows and the functions they call. The tree also contains two generic greeting scripts, which are unrelated practice snippets and are omitted. Evidence is limited to the supplied tree and source excerpts; no README or additional subsystem documentation was provided.
Main entry points: SummerDaley_ProgrammingExercise_2.py Scoring Controller · SummerDaley_ProgrammingExercise_1.py Sale Controller · SummerDaley_ProgrammingExercise3.py Entry Controller · SummerDaley_DebuggingExercise.py Product Runner
Components 15
Ticket Sales
- Sale Controller
SummerDaley_ProgrammingExercise_1.py - Request Validation
SummerDaley_ProgrammingExercise_1.py - Inventory Display
SummerDaley_ProgrammingExercise_1.py
Expense Analysis
- Entry Controller
SummerDaley_ProgrammingExercise3.py - Expense Analysis
SummerDaley_ProgrammingExercise3.py
Spam Scoring
- Scoring Controller
SummerDaley_ProgrammingExercise_2.py - Phrase Scanner
SummerDaley_ProgrammingExercise_2.py - Likelihood Rating
SummerDaley_ProgrammingExercise_2.py
Discount Calculation
- Product Runner
SummerDaley_DebuggingExercise.py - Discount Calculator
SummerDaley_DebuggingExercise.py - Price Adjuster
SummerDaley_DebuggingExercise.py
Other components
- Buyer
- Expense User
- Email User
- Program User
Connections 18
- Buyer → Sale Controller: starts sale
- Sale Controller → Request Validation: requests count
- Request Validation → Buyer: prompts for
- Sale Controller → Inventory Display: displays inventory
- Sale Controller → Buyer: reports results
- Expense User → Entry Controller: enters expenses
- Entry Controller → Expense User: prompts for
- Entry Controller → Expense Analysis: analyzes expenses
- Entry Controller → Expense User: prints summary
- Email User → Scoring Controller: enters message
- Scoring Controller → Email User: prompts for
- Scoring Controller → Phrase Scanner: scans message
- Scoring Controller → Likelihood Rating: rates score
- Scoring Controller → Email User: prints results
- Program User → Product Runner: runs program
- Product Runner → Discount Calculator: calculates discount
- Product Runner → Price Adjuster: applies discount
- Product Runner → Program User: prints prices