0% found this document useful (0 votes)
33 views

OOP - Final Term Fall 2020

The document provides instructions for an object-oriented programming assignment involving the design of a to-do list application with various requirements: 1) Identify GUI components and fill a combo box with options. 2) Design database tables to store task data. 3) Write functions to connect to a database and define classes to represent table attributes. 4) Write functions for buttons to save, search, and load tasks into different lists based on dates. 5) Complete code to interact with all GUI elements and database. The assignment also involves designing a login form and functions for additional buttons to update, delete, write to, and read from file. A second question involves designing a tuition

Uploaded by

Kuch B
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

OOP - Final Term Fall 2020

The document provides instructions for an object-oriented programming assignment involving the design of a to-do list application with various requirements: 1) Identify GUI components and fill a combo box with options. 2) Design database tables to store task data. 3) Write functions to connect to a database and define classes to represent table attributes. 4) Write functions for buttons to save, search, and load tasks into different lists based on dates. 5) Complete code to interact with all GUI elements and database. The assignment also involves designing a login form and functions for additional buttons to update, delete, write to, and read from file. A second question involves designing a tuition

Uploaded by

Kuch B
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

UNIVERSITY OF GUJRAT

Final Term Examination


Semester Spring 2020

Object Oriented Programming Marks:50 Marks


Course Code: SE-103/SE-106 Time: 3 hrs. 30 mins

Note: Solve Paper in 3 hrs. Last 30 minutes are for submission of paper

Question # 1 Marks: 38

Above is the GUI for a to-do list. Keeping in view the above GUI answer the following questions.

a) Identify all the components used in this form? 2


b) Fill combo box more with entries this week, Two Weeks, This Month, last Month and six months using
code. 2
c) Draw DB table with required fields. Do you need another table? If yes then draw it too and if No then
state the reason. 2
d) Write a function to connect to database of your own choice. 2
e) Write classes that reflects your database attributes with all getter and setters. 2
f) Write functions for save and search buttons carefully. 4
g) Which concept of OOP you will use to write the functions of All List, Todays List and Yesterdays list.
Write the functions of the said buttons. Also make a separate function for loading data into the table.
6
h) Complete code with proper select statements against all the elements of combo box. 3
i) If there is a logout button there must me some login form too. Design your own login form what
information you will need from the database to login into the above form. 5
j) Add update and delete buttons in the above form. Write their functionality. 4
k) k. In the above form make two buttons write to file and read from file. When clicked on write to file,
name of the person, the list title, description and date will be saved in the file named as a “list.txt”.
3
l) Read from file button will read the data of the searched person from file “list.txt” and display it in the
table. 3

Question # 2 Marks: 12

Make a system for Tution Center. Don’t use file handling and data base. The application must be able to
show proper menu to the user for different options that cover the requirements below. Use proper
inheritance between classes otherwise no marks will be awarded.

1. Store data as objects for student, tutor, subject, payment, and each class schedule.

2. Student must be registered to the class and tutor. Student can enroll more than 1 subject at different
time.

3. Tuition fee are charged each month, RS40/subject (each subject fee can be different).

4. The application must be able to display receipt each month for all student and the subjects they
enrolled.

5. The maximum student per class is 15. You cannot enroll more than 15 students in a class.

6. Generate the following data in main:

 At least 5 subjects
 At least 3 tutors
 At least 10 schedules
 At least 20 students: Some enrolled 2 subjects for 3 months Some enrolled 4 subjects for 3 months
Some enrolled 5 subjects for 3 months

You might also like