php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS304 Object Oriented Programming assignment no 3 idea solution spring June 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Object Oriented Programming (CS304)
Assignment No.03

Total Marks 10

Deadline

Your assignment must be uploaded before or on 14th June, 2011.
Rules for Making

It should be clear that your assignment will not get any credit if:

o The assignment is submitted after due date
o The assignment is copied

Objectives

This assignment has been designed so that you would be able to implement the concept of Inheritance in OOP. After the completion of this assignment you should have a good grasp on how to implement.

o Inheritance
o Public & private inheritance
o Using basic constructs of OOP in a program

In previous assignments we have understood all the basics of the Content Management System including the Object Model Diagram and highlighted the Abstraction of classes in terms of attributes and functions prototype. Now it is time to implement the full system in parts, so this assignment is first step towards it (there will be one more assignment also).



Assignment:

In this assignment you have to code/implement the below said classes in running form these classes are,

• Topic
• Sub Topic








Meaning after completion of this assignment your c++ program will be able to

1. Add/Edit/Remove Topics
2. Search/ View Topic
3. Print/Download Topic



Now for implementing these two classes practically in c++ you have to define classes according to the requirements (solution of second assignment) given below, each class will have some attributes and functions that needs to be implemented in reality.

Note: You may add some more attributes and functions in any of the class but already given attributes and functions will be at least in your solution file.


class topic{ // topic class

//topic class attributes
// Access specifier is by default private
int ID;
char * title;

public: // public access specifier

// topic class functions/ operations
void add();
void remove();
bool select();
void search();
void View();
void print();
void download();
};// end of topic class

// ********************************************************************
// ********************************************************************
// ********************************************************************


class SubTopic: public topic { // Inheritance relationship b/w topic and sub topic
// Attributes of SubTopic class
// Access specifier is by default private
int SubID;

};

Furthermore, you are required to introduce the implementation of constructor, destructor and implementation of getter and setter functions in classes in such a way that,
The ‘SubTopic’ class restrict the functionality of setTitle() function by override the setTitle() function of its base class‘Topic’ and check the condition:

If the “title” has a paragraph text (length) then prints that “Eligible for being a Topic Title”.

If object of “SubTopic class is initialized with no paragraph length, then it prints a message

“Title just contain name and there is no description” and sets the value of title to default.

Important Note:

This is just starting code for demonstrating how Inheritance can be implemented you can add as much details as you like.

Uploading Instructions:
You have to upload your running zipped Dev c++ project.


0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#2
plz upload the solution..................
Reply
#3
acha abhi tak nahi keya
Reply
#4
please upload the solution i need it
Reply
#5
a.a i need assignment 03 of cs 304 spring 2011 not fall 2011
Reply
#6
tu then you should post it in spring not in fall.
Reply
#7
jo start min hai assignment woh spring ha plz uploaded solution
Reply
#8
please upload solution
Reply
#9
kb ayayga solution?
Reply
#10
ah jay ga. janab thora sabar rakhen.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,368 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,954 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,981 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,225 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,292 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 2,022 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,713 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,852 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,751 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,851 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support