C++ Exam 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

ICT 1210 OBJECT ORIENTED PROGRAMMING With C++

FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGIES


SPRING 2024
FINAL EXAMINATION
COURSE TITLE: OBJECT ORIENTED PROGRAMMING With C++
COURSE CODE: ICT 1210
INSTRUCTOR: Mr. Bilenne Ndifor
DATE:
DURATION: 2 Weeks

INSTRUCTIONS:

Answer all questions

SECTION I: OBJECT ORIENTED DESIGN (20mrks)


A free online tool you may use to make your UML diagram is Lucidchart.
Exercise 1:
You have just been hired to design a system for all African airports. Create a UML
class diagram
that will communicate with your clients how you will organize the different classes in
the system.
The following description was given to you by your clients.
“There are multiple airports all over Africa. The airports each have their own an
assigned unique ID. Each airport has multiple Airlines and each airline has different
types of planes, pilots and staff members. The planes each have an associated plane
number and model number. Each airline has planes assigned to flights to different
destinations for certain dates. Each of these flights have a flight ID number and the
locations of departure and arrival. Customers are able to book these flights and will
be given a ticket with their ticket number and seating number. All staff should have
an assigned employee number and each pilot should provide their pilot licence
number in the system. All persons in the system should have their fullname and an ID
number”
Create a UML class diagram to represent this information.

SECTION II: MESSAGING APPLICATION (50mrks)

By Bilenne Ndifor
ICT 1210 OBJECT ORIENTED PROGRAMMING With C++

A messaging app is the way of the future, every device has a messaging app of some
kind.
We wish to build a desktop GUI application (using Qt6 or Qt5) that will help in the
communication of individuals.
Your application should show the logo of the university and the name of the
developer.It should prompt the user to insert the name and email during account
creation .once account creation is done every user should get an email notification of
completion and unique identifier (research hashing and hashing tables).

Your applications should have the following functionality;


 Show old conversations
 Create new conversation with friends
 Add friends using unique ID search
 Send messages (Including but not limited to images)
 Setup a profile (profile picture, display name etc)
 Create a friend group where everyone is allowed to send massages.

You are free to design the layout and presentation style for the graphical user
interface.

By Bilenne Ndifor

You might also like