Read and download the CBSE Class 12 Computers Object Oriented Programming Worksheet in PDF format. We have provided exhaustive and printable Class 12 Computer Science worksheets for Object Oriented Programming, designed by expert teachers. These resources align with the 2026-27 syllabus and examination patterns issued by NCERT, CBSE, and KVS, helping students master all important chapter topics.
Chapter-wise Worksheet for Class 12 Computer Science Object Oriented Programming
Students of Class 12 should use this Computer Science practice paper to check their understanding of Object Oriented Programming as it includes essential problems and detailed solutions. Regular self-testing with these will help you achieve higher marks in your school tests and final examinations.
Class 12 Computer Science Object Oriented Programming Worksheet with Answers
1. In the following program, find the correct possible outputs(s) from the options:
#include <stdlib.h>
#include <iostream.h>
void main() {
randomize();
char City[][10]={“DEL”,”CHN”,”KOL”,”BOM”,BNG”};
int Fly;
for(int I=0; I<3; I++) {
Fly=random(2)+1;
cout<<City[Fly]<<” “;
}
}
i. DEL CHN KOL
ii. CHN KOL CHN
iii. KOL BOM BNG
iv. KOL CHN KOL
2. Find the output of the following program:
#include <iostream.h>
#include <ctype.h>
void ChangeIt(char Text[], char C) {
for(int K=0;Text[K]!=’\o’;K++){
if(Text[K] >= ‘F’ && Text[K] <=’L’)
Text[K]=tolower(Text[K]);
else
if(Text[K] == ‘E’ && Text[K] ==’e’)
Text[K]=C;
else
if(K%2==0)
Text[K]=toupper(Text[K]);
else
Text[K]=Text[K‐1];
}
}
void main() {
char OldText[]=”pOwERALone”;
ChangeIt(OldText, ‘%’);
cout<<”New Text:”<<OldText<<endl;
}
3. Differentiate between:
a. Actual and Formal Parameter
b. Call by Value and Call by reference
c. Run‐time and Syntax error
d. Global and Local variables
4. Rewrite the following program by removing the syntactical errors, if any. Underline each correction.
#include <iostream.h>
const int Multiple 3;
void main() {
Value = 15;
for(int Counter = 1; Counter <= 5; Counter++, Value ‐=2)
if(Value % Multiple == 0)
cout<<Value * Multiple;
cout<<endl;
else
cout<<Value+Multiple<<endl;
}
5. Write a program to:
a. Print the sum of prime numbers from 1 to N (N is user‐input) with the help of a user‐defined function sumprim() that takes N as a parameter.
b.
6. Define the following
a. Class
b. Object
c. Abstraction
d. Inheritance
e. Polymorphism
f. Modularity
7. Give a real‐life example of Class, it’s Object and it’s derived classes.
8. Why did we progress from Procedural Language to Object Oriented Language?
9. How are encapsulation and abstraction related? Discuss the merits of data‐hiding.
10. Explain the concept of Polymorphism using an example of function overloading. What advantage does Polymorphism offer?
11. Inheritance is the key to reusability in OOP. Comment.
12. In which type of cases, the Procedural paradigm is favored over the Object‐Oriented paradigm.
13. Explain the “transitive nature of inheritance”.
Free study material for Computer Science
CBSE Computer Science Class 12 Object Oriented Programming Worksheet
Students can use the practice questions and answers provided above for Object Oriented Programming to prepare for their upcoming school tests. This resource is designed by expert teachers as per the latest 2026 syllabus released by CBSE for Class 12. We suggest that Class 12 students solve these questions daily for a strong foundation in Computer Science.
Object Oriented Programming Solutions & NCERT Alignment
Our expert teachers have referred to the latest NCERT book for Class 12 Computer Science to create these exercises. After solving the questions you should compare your answers with our detailed solutions as they have been designed by expert teachers. You will understand the correct way to write answers for the CBSE exams. You can also see above MCQ questions for Computer Science to cover every important topic in the chapter.
Class 12 Exam Preparation Strategy
Regular practice of this Class 12 Computer Science study material helps you to be familiar with the most regularly asked exam topics. If you find any topic in Object Oriented Programming difficult then you can refer to our NCERT solutions for Class 12 Computer Science. All revision sheets and printable assignments on studiestoday.com are free and updated to help students get better scores in their school examinations.
FAQs
You can download the latest chapter-wise printable worksheets for Class 12 Computer Science Object Oriented Programming for free from StudiesToday.com. These have been made as per the latest CBSE curriculum for this academic year.
Yes, Class 12 Computer Science worksheets for Object Oriented Programming focus on activity-based learning and also competency-style questions. This helps students to apply theoretical knowledge to practical scenarios.
Yes, we have provided solved worksheets for Class 12 Computer Science Object Oriented Programming to help students verify their answers instantly.
Yes, our Class 12 Computer Science test sheets are mobile-friendly PDFs and can be printed by teachers for classroom.
For Object Oriented Programming, regular practice with our worksheets will improve question-handling speed and help students understand all technical terms and diagrams.