Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

COS3711 Assignment 2|ANSWERS| - Due 18 July 2025

Document preview thumbnail
Preview 2 out of 12 pages

COS3711 Assignment 2 - Due 18 July 2025

Content preview

COS3711
Assignment 2

Due 18 July 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 use QMainWindow
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.

Name:
Module: COS3711 – Advanced Programming
Year: 2025
Assignment 2

Document information

Uploaded on
July 13, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
R107,14

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
FocusZone
4,2
(67)
Sold
444
Followers
2
Items
631
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions