Tents Individual Programming Project Project 2. Banking App CISC 3115 Section TY2 Introduction to Modern Programming Techniques Instructor: Professor Hui Chen Contributing to Software Projects 1 Setting up Git Repository on Github Classroom 1.2 Setting up Local Git Repository 1.3 Take-Home Messages. Project Overview Working with Autograder (Starter and Automated Testing) 5 Submission Requirement 4.1 Required Java Classes 4.1.1 BanApp 4.1.2 Bank 4.1.3 CheckingAccount 5.1 Readme File, 11 11 1 Contributing to Software Projects The instructor uses Github Classroom to manage class journal, individual and team projects. Treat this as a warm-up exercise to learn or to review how we use git to support software development. 6 6 8 10 10 10 6 1 125
The Correct Answer and Explanation is:
Project Overview
In this project, the task is to develop a simple banking application that simulates common banking features like account management and transactions. The project is split into various components that must be implemented in Java. The goal is to build these components using Object-Oriented Programming (OOP) principles. The following Java classes are required for the project:
- BanApp: The main application class. This will serve as the entry point for the program. It will handle user input and interact with other classes like
Bank
andCheckingAccount
. - Bank: This class will represent a bank. It will manage multiple bank accounts, handle deposits, withdrawals, and account inquiries. The
Bank
class will store a list ofCheckingAccount
objects. - CheckingAccount: This class will represent an individual bank account. It will have basic functionalities like deposit, withdraw, and balance check. Each account will be associated with a unique account number.
Setting up the Git Repository
To work on this project, you will first need to set up a Git repository using GitHub Classroom. This will allow you to manage your code and track your progress. Git is essential for collaborative development, so it is important to understand how to use it to commit and push changes.
Steps to set up the Git repository:
- GitHub Classroom Setup: Your instructor will provide a link to the GitHub Classroom repository. Follow the instructions to create a new repository for the project.
- Clone the Repository Locally: After creating the repository, clone it to your local machine using the
git clone
command. This ensures you have a local copy of the project where you can make changes. - Commit Changes: As you work on your code, use
git add
to stage changes,git commit
to save your changes locally, andgit push
to upload them to the GitHub repository.
Working with the Autograder
The project will use an autograder to automatically test the functionality of your application. This will ensure that your code meets the requirements and works as expected. You will likely be provided with some test cases that check for correct behavior, such as handling deposits and withdrawals.
Submission Requirements
Once you have implemented the required classes, you will need to submit your code. This will include:
- Java Classes: The three main classes—BanApp, Bank, and CheckingAccount—must be implemented with all necessary methods and attributes.
- Readme File: Your submission must include a
README.md
file that explains how to run the program, the structure of the code, and any assumptions you made while implementing the project.
In summary, this project will give you hands-on experience with Git for version control, Java for object-oriented programming, and automated testing for validating your code. Completing this project will strengthen your ability to manage software development tasks and work with other developers in a team setting.
