Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
10 views2 pages

Assignment 3

pf in java

Uploaded by

hirrah21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Assignment 3

pf in java

Uploaded by

hirrah21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

University of Central Punjab

Faculty of Information Technology and Computer Science

Course Title: Programming Fundamentals


Course Code: CP113

Assignment 03
Name: _______________________________

Registration Number: ___________________

Section: ______________________________

CLO # Course Learning Outcome (CLO) Taxonom Mappin


y Level g to
PLO

CLO 3 Design and implement algorithms to solve C3 P4


real-world problems.

Instructions:
1. Group Assignment (Only 1 member can submit the assignment)
2. You can attempt the implementation on any Java compiler, but have to submit the
assignment in printed form and also on Odoo (attach all .java files)
3. The assignment should be submitted on A4 sheets or Assignment sheets only.
Violation will result in a deduction of 1 mark from the scored marks.
4. Each group must attach this front page to his/her assignment. Violation will result in a
deduction of 1 mark from the scored marks.
5. The assignment's Due Date on the portal is 16 th September 2025, and the hardcopy
submission deadline will be in the coming class right after 16 th September 2025.
6. Late submission will result in a 10% deduction in marks.
7. No request for late submissions will be considered this time.
University of Central Punjab
Faculty of Information Technology and Computer Science

Assignment Phases

Phase 1: Core Logic & Data Structures


Goal: Build the backbone of the application using arrays and logic (console-based).
Includes:
• Define data structures (arrays, 2D arrays).
• Implement core functions like:
o Add, update, delete entries (e.g., orders, users, items).
o Calculations (e.g totals, averages, validations).
• Perform input/output via console.
• Test all logic without a GUI or file handling.
Example for Food Ordering App:
• Store food items in arrays.
• Allow item selection and total calculation in the console.
-------------------------------------------------------------------------------------------------------------------------------

Phase 3: File Handling & Report Generation


Goal: Add persistence and reporting to complete the application.
Includes:
• Save and load data using files (FileWriter, BufferedReader).
• Store past orders, logs, or summaries.
• Display saved data in GUI tables.
• Handle file-related exceptions (e.g., FileNotFoundException).

Example for Food Ordering App:


• Save each order to orders.txt.
• Load and show order history in a table.
-------------------------------------------------------------------------------------------------------------------------------

You might also like