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
-
Sold
-
Pages
30
Grade
A+
Uploaded on
11-07-2025
Written in
2024/2025

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

Institution
Module










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

Connected book

Written for

Institution
Module

Document information

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

Subjects

Content preview

,COS3711 Assignment 2 (COMPLETE
ANSWERS) 2025 - DUE 18 July 2025
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. 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. Question 2 Extend the solution in
Question 1, to add another class named RegistrationListWriter
that produces an XML-formatted RegistrationList using DOM as
follows: <registrationlist> <registration type=


UML Class Diagram Analysis
1. Registration Types and Fees:
o StandardRegistration, StudentRegistration,
InvitedGuestRegistration: Each type has a different
fee calculation based on the standard fee
(STANDARD_FEE).
o RegistrationList: Contains a list of registrations
(Registration*). Handles operations like checking if a
person is registered, counting attendees from an
institution, and calculating total registration fees
based on type.

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.
THEBLAZE1 Chamberlain College Nursing
Follow You need to be logged in order to follow users or courses
Sold
698
Member since
1 year
Number of followers
173
Documents
1034
Last sold
3 weeks ago

3.7

107 reviews

5
47
4
15
3
21
2
9
1
15

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions