PDA

View Full Version : cs304 current solve quiz 11-1-2012



rabeel
01-12-2012, 12:29 AM
Cs304 quiz on 11-1-2012
A pure virtual function is a virtual function that
Which will be the Primary task or tasks of generic programming?
Categorize the abstractions in a domain into concepts
A class D can be derived from a class C, which is derived from a class B, which is derived from a class A.







Quiz Start Time: 08:31 AM Time Left 86
sec(s)


Question # 1 of 8 ( Start time: 08:31:15 AM ) Total Marks: 1
A parent class can call constructor of its child class through,
Select correct option:
































Quiz Start Time: 08:31 AM Time Left 86
sec(s)


Question # 2 of 8 ( Start time: 08:32:42 AM ) Total Marks: 1
When we want to implement one class in terms of another class then we use,
Select correct option:

































Quiz Start Time: 08:31 AM Time Left 85
sec(s)


Question # 4 of 8 ( Start time: 08:35:32 AM ) Total Marks: 1
Consider the code below, class class1{ public: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ______ in class2,
Select correct option:






























Quiz Start Time: 08:31 AM Time Left 86
sec(s)


Question # 5 of 8 ( Start time: 08:36:30 AM ) Total Marks: 1
A class hierarchy
Select correct option:

































Quiz Start Time: 08:31 AM Time Left 87
sec(s)


Question # 6 of 8 ( Start time: 08:37:50 AM ) Total Marks: 1
Consider the code below, class class1{ public: void func1(); }; class class2 : public class1 { }; Function func1 of class1 is ______ in class2,
Select correct option:






























Quiz Start Time: 08:31 AM Time Left 58
sec(s)


Question # 7 of 8 ( Start time: 08:38:33 AM ) Total Marks: 1
A function template must have a parameter.
Select correct option:






























Quiz Start Time: 08:31 AM Time Left 76
sec(s)


Question # 8 of 8 ( Start time: 08:39:20 AM ) Total Marks: 1
A Child class can call constructor of its parent class through,
Select correct option:

Pari ch
02-04-2012, 03:53 PM
:S whts this