Read and download free pdf of CBSE Class 12 Computers Object Oriented Programming Worksheet. Students and teachers of Class 12 Computer Science can get free printable Worksheets for Class 12 Computer Science Object Oriented Programming in PDF format prepared as per the latest syllabus and examination pattern in your schools. Class 12 students should practice questions and answers given here for Computer Science in Class 12 which will help them to improve your knowledge of all important chapters and its topics. Students should also download free pdf of Class 12 Computer Science Worksheets prepared by teachers as per the latest Computer Science books and syllabus issued this academic year and solve important problems with solutions on daily basis to get more score in school exams and tests
Worksheet for Class 12 Computer Science Object Oriented Programming
Class 12 Computer Science students should refer to the following printable worksheet in Pdf for Object Oriented Programming in Class 12. This test paper with questions and answers for Class 12 will be very useful for exams and help you to score good marks
Class 12 Computer Science Worksheet for Object Oriented Programming
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”.
Worksheet for CBSE Computer Science Class 12 Object Oriented Programming
We hope students liked the above worksheet for Object Oriented Programming designed as per the latest syllabus for Class 12 Computer Science released by CBSE. Students of Class 12 should download in Pdf format and practice the questions and solutions given in the above worksheet for Class 12 Computer Science on a daily basis. All the latest worksheets with answers have been developed for Computer Science by referring to the most important and regularly asked topics that the students should learn and practice to get better scores in their class tests and examinations. Expert teachers of studiestoday have referred to the NCERT book for Class 12 Computer Science to develop the Computer Science Class 12 worksheet. After solving the questions given in the worksheet which have been developed as per the latest course books also refer to the NCERT solutions for Class 12 Computer Science designed by our teachers. We have also provided a lot of MCQ questions for Class 12 Computer Science in the worksheet so that you can solve questions relating to all topics given in each chapter.
You can download the CBSE Printable worksheets for Class 12 Computer Science Object Oriented Programming for latest session from StudiesToday.com
There is no charge for the Printable worksheets for Class 12 CBSE Computer Science Object Oriented Programming you can download everything free
Yes, studiestoday.com provides all latest NCERT Object Oriented Programming Class 12 Computer Science test sheets with answers based on the latest books for the current academic session
CBSE Class 12 Computer Science Object Oriented Programming worksheets cover all topics as per the latest syllabus for current academic year.
Regular practice with Class 12 Computer Science worksheets can help you understand all concepts better, you can identify weak areas, and improve your speed and accuracy.