CBSE Class 12 Computers Object Oriented Programming Worksheet

Official Class 12 Computer Science Worksheets: Object Oriented Programming

Review targeted academic worksheets with the CBSE Class 12 Computers Object Oriented Programming Worksheet. Built according to official educational standards for the 2026-27 term, these downloadable Class 12 Computer Science resources support effective daily practice and detailed self-evaluation for Object Oriented Programming.

Solved Practice Worksheets for Computer Science

Navigate directly to the solved Computer Science worksheets using the digital viewer below. Each practice set includes detailed step-by-step solutions, allowing students to instantly cross-check their work and identify areas requiring further revision.

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”.

Download Class 12 Computer Science Object Oriented Programming Practice Worksheets

Practice Exercises for Class 12 Computer Science Object Oriented Programming

Explore reliable practice questions for Object Oriented Programming tailored for Class 12 Computer Science learners. Use these structured worksheets to evaluate exam preparedness and strengthen problem-solving skills throughout the 2026 academic session.

Step-by-Step Solutions and Practice Guidelines

Designed around the official curriculum for Class 12 Computer Science, these practice sheets guarantee standard compliance. Reviewing step-by-step solutions after completion sharpens your accuracy and clarifies complex sub-topics within Object Oriented Programming.

Enhance Speed with Online Practice

Consistent engagement with these exercises builds familiarity with recurring exam themes. If specific areas within Object Oriented Programming cause trouble, utilize our dedicated NCERT solutions for Class 12 Computer Science to clear up doubts immediately.

FAQs

Where can I download the 2026-27 CBSE printable worksheets for Class 12 Computer Science Object Oriented Programming?

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.

Are these Object Oriented Programming Computer Science worksheets based on the new competency-based education (CBE) model?

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.

Do the Class 12 Computer Science Object Oriented Programming worksheets have answers?

Yes, we have provided solved worksheets for Class 12 Computer Science Object Oriented Programming to help students verify their answers instantly.

Can I print these Object Oriented Programming Computer Science test sheets?

Yes, our Class 12 Computer Science test sheets are mobile-friendly PDFs and can be printed by teachers for classroom.

What is the benefit of solving chapter-wise worksheets for Computer Science Class 12 Object Oriented Programming?

For Object Oriented Programming, regular practice with our worksheets will improve question-handling speed and help students understand all technical terms and diagrams.