CS304P Graded Quiz 3 Jan 2026
- Type
- Quiz
- Course
- CS304P Object Oriented Programming (Practical)
- Size
- PDF 31 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 5 of 8. Download the file for all 8 pages.
Quiz 1 - CS304
Question:
"cin" is an object of ____ class.
A. istream
B. instream C. ostream D. fstream Copied: 1/1/2026, 11:50:52 AM
Quiz 2 - CS304
Question:
In the case of public inheritance, private members of the base class will be _____________ in the derived class.
A. Protected
B. Hidden
C. Private D. Public Copied: 1/1/2026, 11:51:04 AM
Quiz 3 - CS304
Question:
Consider the code below,
class class1{ public: void func1(); };
class class2 : public class1 { };
Function func()1 of class1 is ______ in class2.
A. Public
B. Hidden C. Protected D. Private Copied: 1/1/2026, 11:51:14 AM
Quiz 4 - CS304
Question:
Which of the following is correct symbol of stream extraction operator?
Correct answer: >>
Copied: 1/1/2026, 11:51:25 AM
Quiz 5 - CS304
Question:
What will be the output of the following program?
Quiz's Gdb
A. 30
B. 40 C. 10 D. 20 Copied: 1/1/2026, 11:51:34 AM
Quiz 6 - CS304
Question:
Which of the following members of base class can be accessed in the derived class?
Correct answer: Both Protected and Public
Copied: 1/1/2026, 11:51:48 AM
Quiz 7 - CS304
Question:
What will be the output of the following program?
class House{
private:
Related CS304P files
All CS304P files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.