Discuss how you will proceed with an object oriented design of a graphical widget in C++ that displays a blank window, i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Discuss how you will proceed with an object oriented design of a graphical widget in C++ that displays a blank window, i

Post by answerhappygod »

Discuss how you will proceed with an object oriented design of a graphical widget in C++ that displays a blank window, in which a progress bar with a value of 100% follows the mouse pointer as it moves across the window.
Let the window object created in the previous question spawn 10 labels displaying text of your choice in its constructor. These labels must perform random Brown movements in two dimensions.
Let the labels performing Brown movements elastically collide with each other and the sides of the window.
Let the window function like a game, where the progress bar that follows the mouse represents the player, and the labels the enemies. When any enemy touches the player, the player’s progress bar loses 10%.
Explain how the life cycle of the software product will proceed from inception to retirement, and describe how you will approach the development process. Show the class relationships with a diagram and only show relevant information, so that the overall design philosophy is clear. Critically comment on the design, describe where inheritance and polymorphism is used and why, and if not, why not. Also discuss which parts of the design are the most important to optimize for maximum processing efficiency and if and why object oriented design is a good way to address the problem.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply