Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Overig

COS3711 Assignment 2 2024

Beoordeling
4,3
(3)
Verkocht
4
Pagina's
18
Geüpload op
17-07-2024
Geschreven in
2023/2024

COS3711 Assignment 2 2024. 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 RegistrationList. system to access the type of a Registration inWrite 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.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

COS3711 2024 Assignment 2 memo
With link to the project at the end of this document


Crystal Indigo!
Crystal Indigo!
Providing all solutions you need anytime
+27 76 626 8187




NOTE: YOU MAY FIND SOME MISSING CLASSES, ADD WHAT YOU SEE NECESSARY

,Output of all the questions




C

,
,
,xml
<registrationlist>
<registration type="Registration">
<attendee>
<name>crystal</name>
<affiliation>unisa</affiliation>
<email></email>
</attendee>
<registrationfee>50</registrationfee>
</registration>
</registrationlist>

, //registration.h
#ifndef REGISTRATION_H
#define REGISTRATION_H


#include <QString>
#include <QObject>


class Registration : public QObject {
Q_OBJECT
public:
explicit Registration(const QString &name, const QString
&email, const QString &affiliation, QObject *parent = nullptr);
virtual double getFee() const = 0;


QString getName() const;
QString getEmail() const;
QString getAffiliation() const;


private:
QString name;
QString email;
QString affiliation;
};


class StandardRegistration : public Registration {
public:
StandardRegistration(const QString &name, const QString
&email, const QString &affiliation);
double getFee() const override;
};


class StudentRegistration : public Registration {
public:

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
17 juli 2024
Aantal pagina's
18
Geschreven in
2023/2024
Type
OVERIG
Persoon
Onbekend

Onderwerpen

€9,09
Krijg toegang tot het volledige document:
Gekocht door 4 studenten

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Beoordelingen van geverifieerde kopers

Alle 3 reviews worden weergegeven
1 jaar geleden

1 jaar geleden

1 jaar geleden

4,3

3 beoordelingen

5
1
4
2
3
0
2
0
1
0
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
CrystalIndigo University of South Africa (Unisa)
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
486
Lid sinds
5 jaar
Aantal volgers
226
Documenten
73
Laatst verkocht
5 maanden geleden
CrystalIndigo Solutions

providing all solutions to all computer science modules

4,1

51 beoordelingen

5
27
4
13
3
6
2
1
1
4

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen