100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COS3711 Assignment 2 (COMPLETE ANSWERS) 2025 - DUE 18 July 2025

Rating
4.5
(2)
Sold
10
Pages
20
Grade
A+
Uploaded on
03-07-2025
Written in
2024/2025

Advanced Programming - COS3711 Assignment 2 2025 - DUE 18 July 2025; 100 % TRUSTED workings, Expert Solved, Explanations and Solutions. For assistance call or W.h.a.t.s.a.p.p us on ...(.+.2.5.4.7.7.9.5.4.0.1.3.2)...........

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Course

Document information

Uploaded on
July 3, 2025
Number of pages
20
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COS3711
ASSIGNMENT 2 2025

UNIQUE NO.
DUE DATE: 18 JULY 2025

, lOMoARcPSD|18222662




COS3711/Assignment 2/2025

Assignment 2

1. Introduction

Please read this whole assignment tutorial letter before starting to ensure that you know what is
expected of you and you do not get surprised by some requirement later in the development
process.

Use CMake to set up the projects and useQMainWindow instances for the user interfaces so that
you can implement the functionality provided by a QMainWindow (such as menus, a toolbar, and
a status bar) to meet the requirements of the scenario given below. Please note that you must
not use Qt Designer, and you are expected to manually set up GUIs to ensure that you properly
handle memory using Qt’s parent-child functionality.

Marks will also be awarded for following good programming practice.
• Follow standard naming conventions: class names start with a capital letter, variable and
function names start with a lowercase letter, using camelCase for names made up of multiple
words.
• Ensure consistent code layout and use of blank lines.
• Use forward class declarations in header files.
• Use initialiser lists in constructors.
• Have proper GUI management: setting cursor focus, sequential tabbing, clearing input widgets
(like text input fields being cleared and spin boxes being returned to some default value), and
enabling and disabling buttons/menu items as appropriate.
• Provide appropriate user feedback.
• Your code should build and run without any warnings.

Consider the following scenario and then design a solution to meet the requirements listed.

2. Scenario

Implement an application that tracks items bought from a store. Screenshots of possible interfaces
have been provided as guidance below.

Store application

The store keeps a list of customers so that when something is purchased from the store, it is
recorded against that customer’s name. Only the customer’s name is required.

Only two items are currently sold in the store currently – books and magazines, and only the name
of the item is required. Clearly, a list of such items is needed, and the user should be able to add
items to the list. When an item is added, the application should automatically make a backup in

Reviews from verified buyers

Showing all 2 reviews
4 months ago

5 months ago

4.5

2 reviews

5
1
4
1
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LIBRARYpro University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
10509
Member since
2 year
Number of followers
4904
Documents
4809
Last sold
3 days ago
LIBRARY

On this page, you find all documents, Package Deals, and Flashcards offered by seller LIBRARYpro (LIBRARY). Knowledge is Power. #You already got my attention!

3.7

1453 reviews

5
680
4
234
3
243
2
78
1
218

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions