< Object-Oriented Programming
This lesson introduces GUI applications.
Objectives and Skills
Objectives and skills for this lesson include:
- Develop project management skills to achieve a project goal within given constraints.
- Initiating, planning, executing, controlling, and closing the work of a team.
- Design a Gantt chart to illustrate the project's schedule
- Design a object-oriented GUI program
- Create a UML class diagram that characterizes the implementation details of the program (classes, methods, attributes, and their relationships)
Readings
Multimedia
Examples
Activities
- Review Internet Fundamentals/Project Management.
- For one of the projects below, select a project team and then create a Gantt chart for your selected project.
Card Game
Create a GUI Application
- Review Stanford: The Card Game Assignment. Create an object-oriented GUI program that implements a card deck application.
- Include program, class, and method documentation consistent with the documentation standards for your selected programming language.
- Add unit testing to test all aspects of each class. Run tests automatically when the class module itself is run as the main program.
Add Lists
- Enhance the card game program above to use lists to implement decks, hands, and players.
- Add rules to the card game so users may play one of the following:
- Black Jack
- Crazy Eights
- Go Fish
- Old Maid
- Rummy
- War
- Include program, class, and method documentation consistent with the documentation standards for your selected programming language.
- Add unit testing to test all aspects of each class. Run tests automatically when the class module itself is run as the main program.
Add Dictionaries
- Enhance the card game program above to use dictionaries to implement scoring (tracking player wins and losses).
- Include program, class, and method documentation consistent with the documentation standards for your selected programming language.
- Add unit testing to test all aspects of each class. Run tests automatically when the class module itself is run as the main program.
Weather Application
Create a GUI Application
- Review OpenWeatherMap: API. Create an object-oriented GUI program that displays current weather for a given location entered or selected by the user.# Include program, class, and method documentation consistent with the documentation standards for your selected programming language.
- Add unit testing to test all aspects of each class. Run tests automatically when the class module itself is run as the main program.
Add Lists
- Enhance the weather application above to use lists to add hourly and daily weather forecasts for the given location.
- Include program, class, and method documentation consistent with the documentation standards for your selected programming language.
- Add unit testing to test all aspects of each class. Run tests automatically when the class module itself is run as the main program.
Add Dictionaries
- Enhance the weather application above to use dictionaries to track multiple locations entered or selected by the user. Track usage history and display location options in order by most recently used.
- Include program, class, and method documentation consistent with the documentation standards for your selected programming language.
- Add unit testing to test all aspects of each class. Run tests automatically when the class module itself is run as the main program.
Lesson Summary
Key Terms
See Also
References
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.