Sponsored Links


Results 1 to 1 of 1

Thread: cs302 quiz online fall 2010 on date 15/01/2011

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

    cs302 quiz online fall 2010 on date 15/01/2011

    Sponsored Links1


    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 67
    sec(s)


    Question # 1 of 10 ( Start time: 12:20:12 PM ) Total Marks: 1
    Which statement will be true for concrete class?
    Select correct option:

    it implements an virtual concept.
    it can be instantiated
    it cannot be instantiated
    none of given






    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 73
    sec(s)


    Question # 3 of 10 ( Start time: 12:21:57 PM ) Total Marks: 1
    Adding a derived class to a base class requires fundamental changes to the base class.
    Select correct option:

    True
    False






    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 75
    sec(s)


    Question # 4 of 10 ( Start time: 12:22:32 PM ) Total Marks: 1
    It is sometimes useful to specify a class from which no objects will ever be created.
    Select correct option:

    True
    Flase






    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 41
    sec(s)


    Question # 5 of 10 ( Start time: 12:22:55 PM ) Total Marks: 1
    Consider the code below, class class1{ private: void func1(); }; class class2 : private class1 { }; Function func1 of class1 is ______ in class2,
    Select correct option:

    public
    protected
    private
    none of the given options






    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 60
    sec(s)


    Question # 6 of 10 ( Start time: 12:23:50 PM ) Total Marks: 1
    Child class can call constructor of its,
    Select correct option:

    Direct base class
    Indirect base class
    Both direct and indirect base classes
    None of these







    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 56
    sec(s)


    Question # 7 of 10 ( Start time: 12:24:27 PM ) Total Marks: 1
    We can access public members of the class from outside the class using ______ operator with its object pointer.
    Select correct option:

    ->

    .

    &

    @







    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 80
    sec(s)


    Question # 8 of 10 ( Start time: 12:25:08 PM ) Total Marks: 1
    User can make virtual table explicitly.
    Select correct option:

    True
    False






    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 74
    sec(s)


    Question # 9 of 10 ( Start time: 12:25:24 PM ) Total Marks: 1
    When we want to implement one class in terms of another class then we use,
    Select correct option:

    Public inheritance
    Protected inheritance
    Private inheritance
    None of these options







    MC090405816 : Sohail Aslam



    Quiz Start Time: 12:20 PM Time Left 69
    sec(s)


    Question # 10 of 10 ( Start time: 12:25:47 PM ) Total Marks: 1
    A parent class can call constructor of its child class through,
    Select correct option:

    Its constructor initialization list
    Its constructor body
    Both from its constructor initialization list or body
    Can not call the constructor of its child class






    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 55
    sec(s)


    Question # 1 of 10 ( Start time: 12:27:30 PM ) Total Marks: 1
    Consider the code below, class c1{ }; class c2 : public c1 { }; class c3 : public c2 { }; Then c2 is,
    Select correct option:

    Direct base class of c3
    Direct child class of c3
    Direct base class of c1
    None of these






    MC100200755 : Waleed Ahmed



    Sponsored Links

    Quiz Start Time: 12:27 PM Time Left 77
    sec(s)


    Question # 2 of 10 ( Start time: 12:28:13 PM ) Total Marks: 1
    We can have ___________ type of member functions in a class.
    Select correct option:

    Public
    Private
    Protected

    All of these options







    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 64
    sec(s)


    Question # 3 of 10 ( Start time: 12:28:33 PM ) Total Marks: 1
    We can call base class assignment operator in derived class user defined assignment operator,
    Select correct option:

    Implicitly
    Explicitly

    Using both of these options

    Using none of these options







    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 78
    sec(s)


    Question # 4 of 10 ( Start time: 12:29:06 PM ) Total Marks: 1
    Which statement will be true for concrete class?
    Select correct option:

    it implements an virtual concept.
    it can be instantiated
    it cannot be instantiated
    none of given






    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 72
    sec(s)


    Question # 5 of 10 ( Start time: 12:29:24 PM ) Total Marks: 1
    Outside world can access only __________ members of a class using its object.
    Select correct option:

    Public
    Private
    Protected
    No member is accessible.






    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 70
    sec(s)


    Question # 6 of 10 ( Start time: 12:29:48 PM ) Total Marks: 1
    Static casting is,
    Select correct option:

    C++ way of calling base class functions from derived class

    C way of calling base class functions from derived class

    Both of these

    None of these






    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 45
    sec(s)


    Question # 7 of 10 ( Start time: 12:30:13 PM ) Total Marks: 1
    Consider the code given below, Class base{ Public: int i; }; Class derived1: private base{}; Class derived2: public derived1 {}; Then int member i of base class is accessible in class,
    Select correct option:

    derived1 only
    derived2 only
    both derived1 and derived2
    none of the given options







    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 67
    sec(s)


    Question # 8 of 10 ( Start time: 12:31:06 PM ) Total Marks: 1
    In case of dynamic memory allocation in a class we should use,
    Select correct option:

    User defined default constructor

    User defined copy constructor

    Both of these

    None of these







    MC100200755 : Waleed Ahmed



    Quiz Start Time: 12:27 PM Time Left 73
    sec(s)


    Question # 9 of 10 ( Start time: 12:31:33 PM ) Total Marks: 1
    Consider the code below, class class1{ protected: int i; }; class class2 : protected class1 { }; Then int member i of class1 is ______ in class2,
    Select correct option:

    public
    protected
    private
    none of the given options




    Please download the attachment
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 02-02-2012, 11:14 PM
  2. Replies: 0
    Last Post: 02-14-2011, 02:26 PM
  3. cs504 quiz online fall 2010 semester 12/01/2011
    By Xpert in forum Solved MCQS
    Replies: 0
    Last Post: 01-13-2011, 06:17 PM
  4. cs302 quiz 11th november, fall 2010
    By IQ-test in forum MCQ's & Quiz Discussion
    Replies: 0
    Last Post: 11-11-2010, 07:48 AM
  5. CS302 - Digital Logic Design quiz online 10th Nov, fall 2010
    By Xpert in forum Virtual University Announcenments
    Replies: 0
    Last Post: 11-07-2010, 12:28 AM

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