Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 30 páginas
Examen

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

Document preview thumbnail
Vista previa 3 fuera de 30 páginas

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

Vista previa del contenido

,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.

Libro relacionado
 image
Gianna Cioni, Andrzej Salwicki Advanced Programming Methodologies
Editorial: 2014 ISBN: 9781483265452 Edición: Desconocido

Información del documento

Subido en
11 de julio de 2025
Número de páginas
30
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$2.77

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
THEBLAZE1
3.6
(113)
Vendido
719
Seguidores
173
Artículos
1098
Última venta
3 semanas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes