Assignment GDB Solution: CS304 Object Oriented Programming

loading...

CS304 GDB Solution feb 2015

Can Aspect Oriented Programming (AOP) replace Object Oriented Programming (OOP). Give your opinion with solid arguments. Solution: Aspect Oriented Programming (AOP) Aspect Oriented Programming works at the complex software system as combined implementation of multiple concerns like business logic, data persistence, logging, security, multithread safety, error handling, and so on. Separates business logic code from the system level code. In […]

CS304 Object Oriented Programming Assignment 1 Solution Fall 2014

Assignment Problem Statement: Write the C++ language program that should fulfill the following requirements: Program should contain two classes as “Student” and “Instructor”. Within main() function, create the objects of these two classes. Display your student ID and name by passing as attributes(student ID, name) while instantiating the object of the “Student” class. Using the […]

CS304 Object Oriented Programming GDB Solution Spring 2014

Suppose there are two software companies and both have been assigned same project but by two different types of users to develop small software for transport management system apparently with same requirements. In this system they have administrator, vehicles, and routes etc as actors. These actors have interaction with each other like Aggregation and Association. […]

CS304 Object Oriented Programming Assignment 4 Solution Spring 2014

Consider the following Class Diagram; detailed description of the diagram is given in the table. Class Name Attribute Name Attribute Data Type Behavior (Functions) Transport Weight Float -Load() -Unload -Ship()               Capacity Character String Speed Float Land_Transport Transportation_Mode Character String -Ship Vehicle_Type Character String     Air_Transport       Aircraft_Type Character String                    -Ship       Airline_Name Character String […]

CS304 Object Oriented Programming Assignment 2 Solution Spring 2014

In continuation of the assignment no. 1, consider the following class diagram (a part from Assignment no. 1 solution), detailed description of the diagram is given in the table.     Table:   Class Name Attribute Name Attribute Data Type Behavior (Functions) Company Comp_Name Character Pointer – Default Constructor – Profit_Report() – Financial_Statement() Registration_No Character Pointer Transport Weight Integer   –          Default Constructor –          Carray_Goods() Capacity […]

CS304 Object Oriented Programming Final Paper March 2014

1) First line of class template  2) First line of template function 3) A default constructor is a constructor that either has no parameters, or if it hasparameters, all the parameters have default values 4) if you define a vector v with the default constructor, and define another vector w with a one -argument constructor to a size of 11, and insert 3 elements […]

CS304 Object Oriented Programming Assignment 4 Solution Fall 2013

Consider the following Class Diagram; detailed description of the diagram is given in the table. Class Name Attribute Name Attribute Data Type Behavior (Functions) FeeStructure DegreeProgram Character String -InputFeeDetail() -PrintFeeDetail() -TotalFee ()        AdmissionFee Integer EnrollmentFee Integer TuitionFee Integer Local_FS SecurityFee Integer -InputFeeDetail() -PrintFeeDetail() -TotalFee () AdmissionProcessingFee Integer Overseas_FS -InputFeeDetail() -PrintFeeDetail() -TotalFee ()   In […]

CS304 Object Oriented Programming Quiz 1 Fall 2013

Dear Students, Quiz No. 01 of the subject Object Oriented Programming (CS304) is going to upload in a couple of days, before submitting the Quiz, please read all instructions thoroughly. Question # 1 of 10 ( Start time: 04:31:59 PM ) Total Marks: 1 Three main characteristics of “Object Oriented programming” are, Select correct option: Encapsulation,dynamic binding,polymarhpishm polymorphism, overloading, […]

CS304 Object Oriented Programming Assignment 1 Non Graded Fall 2013

Assignment No. 01   (Non Graded) SEMESTER Fall 2013 CS304- Object Oriented Programming Instructions Please read the following instructions carefully before solving & submitting assignment: It should be clear that your assignment will not get any credit (zero marks) if: The assignment is submitted after due date. The submitted assignment is other than .doc file. The […]