100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS3711 Assignment 2 (COMPLETE ANSWERS) 2024 - DUE 18 July 2024 Course Advanced Programming (COS3711) Institution University Of South Africa (Unisa) Book Python Advanced Programming $2.57   Add to cart

Exam (elaborations)

COS3711 Assignment 2 (COMPLETE ANSWERS) 2024 - DUE 18 July 2024 Course Advanced Programming (COS3711) Institution University Of South Africa (Unisa) Book Python Advanced Programming

 12 views  0 purchase
  • Course
  • Institution
  • Book

COS3711 Assignment 2 (COMPLETE ANSWERS) 2024 - DUE 18 July 2024 Course Advanced Programming (COS3711) Institution University Of South Africa (Unisa) Book Python Advanced Programming

Preview 3 out of 21  pages

  • June 26, 2024
  • 21
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
COS3711 Assignment
2 (COMPLETE
ANSWERS) 2024 - DUE
18 July 2024 ; 100%
TRUSTED workings,
explanations and
solutions.




ADMIN
[COMPANY NAME]

,Question 1 Study the following UML class diagram: The UML class
diagram is an initial design of classes for a conference registration
application. There are three types of registration allowed for the
conference: standard registration, student registration and invited
guests registration. The standard registration fee is the standard fee
(stored in STANDARD_FEE). For those registered as students, the
conference fee is half the price of the standard registration fee. For
those registered as guests, the conference fee is 10% of the standard
registration fee. An instance of RegistrationList contains a list of
Registration*. No two registrations are allowed to have attendees
with the same e-mail addresses, unless the names are different. You
should be able to query a RegistrationList whether a person (by the
name) is already registered for the conference. A RegistrationList
can also return the number of attendees that are registered for the
conference from an institution. Similarly, you can request the total
registration fees for a type (“Registration”, “StudentRegistration”,
“GuestRegistration” or “All”) of registration. You are expected to
use Qt’s metaobject system to access the type of a Registration in
RegistrationList. Downloaded by Corona Virus () lOMoARcPSD|
Write a GUI application that allows users to register for a
conference. The GUI should display the current list of registrations,
including the respective registration fees, in the RegistrationList at
all times, using a table widget. The interface should also allow users
to request and view the results of the various operations supported
by the RegistrationList class. You are allowed to add new features
to the classes given in the UML diagram, although you are not
allowed to delete or change the given functions. You can decide on
the design of the GUI, and it can be done manually or using Qt
Designer. You are expected to follow good programming principles.

, To develop a complete solution for this assignment, you need to
build a GUI application using Qt (C++) that aligns with the
provided UML class diagram and meets the described requirements.
Here is a step-by-step guide to help you achieve this:
Step 1: Understand the UML Diagram and Requirements
The UML diagram outlines the relationships and structures of
classes for a conference registration application. You need to
implement three types of registrations:
• StandardRegistration
• StudentRegistration
• GuestRegistration
Each type has different fee structures:
• Standard: STANDARD_FEE
• Student: Half of STANDARD_FEE
• Guest: 10% of STANDARD_FEE
A RegistrationList contains multiple registrations and should
provide functionalities such as:
• Checking if a person by name is already registered.
• Counting the number of attendees from an institution.
• Calculating total registration fees for different types of
registrations.
Step 2: Define Classes Based on UML Diagram
1. Registration Class: Base class for all registration types.
2. StandardRegistration Class: Inherits from Registration.
3. StudentRegistration Class: Inherits from Registration.
4. GuestRegistration Class: Inherits from Registration.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Diana2024. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $2.57. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling

Recently viewed by you


$2.57
  • (0)
  Add to cart