100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

COS3711 Assignment 2 2024 - DUE 18 July 2024

Puntuación
-
Vendido
-
Páginas
16
Grado
A+
Subido en
28-06-2024
Escrito en
2023/2024

COS3711 Assignment 2 2024 questions and answers

Institución
Grado










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
28 de junio de 2024
Número de páginas
16
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

COS3711
ASSIGNMENT 2 2024
- DUE 18 JULY 2024
QUESTIONS WITH COMPLETE ANSWERS




[DATE]
[COMPANY NAME]
[Company address]

,COS3711 Assignment 2 2024 - DUE 18 July 2024

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 tackle this task, let's break it down into the following steps:

1. Understand the UML Diagram and Classes: Review the given UML class diagram and
understand the structure of the classes and their relationships.
2. Define the Classes: Implement the classes as specified in the UML diagram. These
classes will include Registration, StudentRegistration, GuestRegistration, and
RegistrationList.

3. Implement Class Functions: Implement the necessary methods in each class as
described. For example, calculating the registration fees based on the type of registration,
checking if a person is already registered, counting attendees from an institution, and
calculating the total registration fees.
4. Qt Meta-Object System: Use Qt’s meta-object system to handle the types of registration
in RegistrationList.
5. Create the GUI Application: Design the GUI for the conference registration application
using Qt. The GUI should allow users to register for the conference, display the current
list of registrations, and allow users to perform various queries on the registration list.
6. Integrate the Backend and GUI: Ensure that the backend logic (classes and their
methods) is integrated with the GUI to handle user interactions and display the necessary
information.

Here's a detailed implementation plan:


Step 1: Define the Classes

Registration Class

cpp
Copy code
class Registration {
$2.50
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

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.
QuizDoc Chamberlain College Of Nursng
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
226
Miembro desde
2 año
Número de seguidores
193
Documentos
1051
Última venta
2 meses hace

3.7

31 reseñas

5
13
4
4
3
10
2
0
1
4

Recientemente visto por ti

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