CS-504 (B) · Object Oriented Programming/Unsolved PYQ Paper
CS-504 (B) Object Oriented Programming - Dec 2023 Question Paper
-
Unit 27 MarksaList iterative statements in C++. Explain each with suitable example.
-
Unit 37 MarksbDefine pointer? Write a C++ program to read the array of integers and print the biggest and smallest element among given array elements using pointers.
-
Unit 47 MarksaList the various preprocessor directives in C++. Explain with suitable example.
-
Unit 57 MarksbExplain the concept of default arguments using C++ program.
-
Unit 57 MarksaWhat is function overloading? What are the principles of function overloading?
-
Unit 17 MarksbWhat are the different types of variables scopes? Explain with an example.
-
Unit 57 MarksaExplain the difference between private, protected and public access specifiers in C++ programming. How do they affect the accessibility of class members? Explain with examples.
-
Unit 57 MarksbWhat is the "this" keyword in C++ programming? How is it used to refer to the current object? Explain with example.
-
Unit 57 MarksaHow does scope resolution operator (::) work in C++ programming? Explain with examples.
-
Unit 57 MarksbDiscuss the concept of virtual functions in inheritance in C++. How can we use virtual functions to achieve dynamic binding and polymorphism in derived classes? Explain with examples.
-
Unit 57 MarksaExplain how we can use constructors and destructors in inherited classes in C++. How do they work in the inheritance hierarchy?
-
Unit 47 MarksbDefine template. What is the need for templates in programming? Write C++ code to declare a Template class.
-
Unit 57 MarksaWhat are input and output streams in C++? How are they useful in handling data?
-
Unit 57 MarksbWrite a C++ program to read the content of one file and copy to another file.
-
Unit 55 MarksaFriend keyword
-
Unit 54 MarksbNew and delete operators
-
Unit 15 MarkscCall by value and call by reference
Go to where you left off?
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel