Sponsored Links


Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: cs-304 OOP assignment # 2 spring 2011 required

  1. #1
    alibaig
    Guest

    NEW cs-304 OOP assignment # 2 spring 2011 required

    Sponsored Links1


    Object Oriented Programming (CS304)
    Assignment No.2
    Deadline
    Your assignment must be uploaded before or on 6th of May, 2011
    Objectives
    The objectives of this assignment are,

    o Giving the idea of practical implementation of basic object oriented concepts like abstraction, encapsulation, inheritance and sub typing to student
    Assignment:

    In Assignment No.1 you developed Object Oriented Model for Topic Based Content Management System. Now you have to give its practical prototype in c++, mean you have to provide the solution of your first assignment at abstract level. Please note down that you don’t have to give actual implementation in c++ but simple stereotype (sketch) in the form of c++ code mentioning class names their parameters and functions with access specifiers you also have to show the relationship between classes in the form of inheritance, relationship among objects in the form of Aggregation, Composition, Association (where required) and also to highlight which data member or member function has “constant and/or static” in proper c++ syntax.


    For example a part of your code may look like,

    class Student{
    char name[50];
    char id[10];

    Sponsored Links

    public:
    void TakeClass();

    }

    class GraduateStudent : public Student
    {

    Attributes and behavior of graduate student…..

    }




    You will write such code for your Topic Based Content Management System.

    Important:
    Below is the solution of first assignment. You are required to take this solution as an input (guidelines) and provide the desired solution.
    Some of the attributes and functions belonging to different classes are highlighted here. You are also required to keep the part of your solution and place as data member and member function of respective class.

    1. Main Objects.
    Student
    Content Management System (Portal)
    Study Program
    Course
    Topic
    Sub-Topic
    Lesson
    2. Relationship between the objects
    A Student must logon to Portal
    Portal contains one or more Study Programs
    A Student must select a Study Program
    A Study Program is a group of more than one Course
    A Course is composed of more than one lesson and more than one Topic
    A Topic may contain Sub-Topics
    A Topic may span for one or more Lessons
    A Lesson may contains one or more Topics
    A Sub Topic is “a kind” of topic
    A Topic / Sub Topic can be available in HTML, PPT and PDF formats
    Student should be able to Search, View, Read and Download contents
    3. Attributes & Methods
    Attributes
    Portal: (No. of Study Programs, Selected Program, Selected Course)
    Study Program: (Code, Title)
    Course: (ID, Name)
    Student: (ID, Name)
    Topic: (ID, Title, HTML File, PDF File, PPT File)
    Sub Topic: (ID, Title, HTML File, PDF File, PPT File)
    Lesson: (ID, Title)
    Methods
    Portal: Add, Remove, Select, Search, View, Print, Download
    Study Program: Select, List Courses, View
    Student: Logon, Select, Read
    Course: Add, Select, View
    Topic: Add, Remove, Select, Search, View, Print, Download
    SubTopic: Add, Remove, Select, Search, View, Print, Download
    Lesson: Add, Remove, Select, Search, View, Print, Download

  2. #2
    Junior Member
    Join Date
    Jan 2011
    Posts
    9
    plzzzzzzzzzzz kindly upload the solution tomorrow is last date

  3. #3
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,239
    ufffffffffffffffffffffffffffffff

  4. #4
    xprt plz upload the solution today is last date

  5. #5

  6. #6
    Junior Member
    Join Date
    Jan 2011
    Posts
    9
    some hours are left plzzzzzzzzzzzzzzzzzzzzzzz
    upload solution we need it.........kindly
    we will b thankfull to u

  7. #7
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266
    //Library class
    class library {
    //Attributes of library class
    char name[25];
    char interface[50];
    char space[100];
    public:
    // Functions of library class
    int storeDetailOfData();
    int add();
    int search();
    int Return();
    int borrow();
    };

    // Starting of administrator class
    class administrator {
    // Attributes of administrator class
    library name[25];
    char gender[8];
    int id;
    char address[50];
    public:
    //Functions of administrator class
    void login();
    void logoff();
    int search();
    int Return();
    int borrow();
    };

  8. #8
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266




  9. #9
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,239
    that;s good to see a solution from you.....

  10. #10

    Icon8 help me

    ausslam alaikum
    sir g i am sumaira kharal
    m.c.s kr rahi hon 2nd semester hae pls send me solved papers of these subjects pls i am so worried about that pta nai kia bny ga
    cs 301 , cs 304 , cs 401 , mth 202 , eng 201 , cs 201
    ap ki boht boht meharbani ho gi
    pls meri mushkal b hal kr dain main pass ho jaon.
    thanks
    sir g papers solved hony chahyn main unsolved nai kr skti pls

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 04-14-2012, 05:29 AM
  2. Replies: 2
    Last Post: 10-26-2011, 04:53 AM
  3. Replies: 1
    Last Post: 06-17-2011, 09:22 PM
  4. Replies: 0
    Last Post: 06-17-2011, 09:17 PM
  5. Replies: 3
    Last Post: 06-07-2011, 06:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft