100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada
logo-home
COS3711 Assignment 2 (COMPLETE ANSWERS) 2024 - DUE 18 July 2024 2,40 €   Añadir al carrito

Examen

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

1 revisar
 21 vistas  2 purchases
  • Grado
  • Institución
  • Book

Exam study book Advanced Programming Methodologies of Gianna Cioni, Andrzej Salwicki - ISBN: 9781483265452 (Guaranteed success)

Vista previa 4 fuera de 35  páginas

  • 16 de julio de 2024
  • 35
  • 2023/2024
  • Examen
  • Preguntas y respuestas

1  revisar

review-writer-avatar

Por: jabujosephsono • 2 meses hace

the program is not running...

reply-writer-avatar

Por: silvermade • 2 meses hace

Let me check it

avatar-seller
COS3711

Assignment 2

(COMPLETE

ANSWERS) 2024 -

DUE 18 July 2024

,COS3711 Assignment 2 (COMPLETE ANSWERS) 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


For assistance with assignments whatsapp +254702715801

,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 design a GUI application for a conference registration system as described,

you can follow these steps:



### Step 1: Define the Classes and Inheritance



Based on the UML diagram description, you will have the following classes:



1. **Registration** (base class)

2. **StandardRegistration** (inherits from Registration)

3. **StudentRegistration** (inherits from Registration)

4. **GuestRegistration** (inherits from Registration)

5. **RegistrationList** (manages a list of registrations)




For assistance with assignments whatsapp +254702715801

, Each class will have attributes and methods corresponding to the

requirements.



### Step 2: Implement the Classes



#### Registration Class

```cpp

class Registration {

public:

Registration(const QString &name, const QString &email);

virtual ~Registration() = default;

QString getName() const;

QString getEmail() const;

virtual double getFee() const = 0; // Pure virtual function

protected:

QString name;

QString email;

};



Registration::Registration(const QString &name, const QString &email) :

name(name), email(email) {}


For assistance with assignments whatsapp +254702715801

Los beneficios de comprar resúmenes en Stuvia estan en línea:

Garantiza la calidad de los comentarios

Garantiza la calidad de los comentarios

Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!

Compra fácil y rápido

Compra fácil y rápido

Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.

Enfócate en lo más importante

Enfócate en lo más importante

Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable. Así llegas a la conclusión rapidamente!

Preguntas frecuentes

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.

100% de satisfacción garantizada: ¿Cómo funciona?

Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.

Who am I buying this summary from?

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

Will I be stuck with a subscription?

No, you only buy this summary for 2,40 €. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

45,681 summaries were sold in the last 30 days

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

Empieza a vender
2,40 €  2x  vendido
  • (1)
  Añadir