Here is the CBSE Class 12 Computer Science Practicals Notes for your studies. Use these Class 12 Computer Science revision notes, created by professional educators for the 2026-27 academic term. They make difficult ideas very easy to understand and focus on core definitions, helping Class 12 students prepare quickly before exams.
Concept Summary for Class 12 Computer Science Practicals
Every Class 12 Computer Science student can review these Practicals notes to grasp main concepts quickly. The exam-friendly summaries highlight hard sections and high-scoring areas to make school assessments and final tests much easier.
Practicals Summary & Notes for Class 12 Computer Science
1. Write a Program in C++ (telephone directory simulation) that can sort telephone number. Names to be treated as a uni Define them inside a structure.
2. Write a program in C++ to defined and use (Read and Display object) a class named
ADMISSION with the following description:
Private e bers :
AD_NO integer type 10-2000
NAME Array of Characters
CLASS Characters FEES float type Public Me bers :
READ_DATA( ) To read and object of ADMISSION type
DISPLAY( ) To display the details of object.
3. Write a program to declare and use a class Bank_ Account for 5 customers with the following data members Name of depositor. Account Number, Type of Account (S for saving, C for current). The class also contains member functions to do the following.
(i) To initialize data members.
(ii) To deposit money.
(iii) To withdrawal money after checking balance (Minimum balance Rs.1000)
(iv) To display the data members.
4. Define a class clothing in C++ with the following description:
Private members:
Code of type string
Type of type string
Size of type string
Material of type string
Price of type float
A function Calc_ Price ( ) which calculate and assigns the value Price as follows:
For the value of Material as II COTTON "
Type Price (Rs)
TROUSER 1500
SHIRT 1200
For Material other than II COTTON II the above mentioned Price gets reduced by 25%. Public members:
• A constructor to assign initial values of Code, Type and material with the word II NOTASSIGNED II and Size and Price with 0.
• A function Enter () to input the values of the data members code, Type, Size and Material and invoke the CalcPrice( ) function.
• A function Show( ) which display the content of all the data members for a clothing.
Write a program to read and write the object of the above class in a file.
5. Write a program in C++ to demonstrate the 3 types of Constructors in a Class class Test
{
int RegNo, Max, Min, Score;
public:
Test();
Test(int reg, int sc); // assign 100 to max and min
Test(Test &ob);
�Test();
void Display();//to display all the data members
}
6. Write a program in C++ to demonstrate the use of multilevel inheritance [Hint : Person -> Student -> GraduateStudent ].
7. Write a program in C++ to illustrate order of constructor invocation. class Subject -> class Student -> class Admission
8. Create the following class hierarchy in C++.
9. Assuming the class EMPLOYEE given below, write and call function in C++ to perform the following :
Write the objects of EMPLOYEE to a binary file.
Read the objects of EMPLOYEE from binary file and display them on screen.
class EMPLOYEE
{
int ENO;
char ENAME[30];
public: void GETIT( ) { cin>>ENO ; gets(ENAME); }
void SHOWIT( ) { cout<<ENO <<" :: II<<ENAME<<endl; }
};
10. Write and call a function in C++ to print the count of lines starting with IIS" or IIs" from a text file
DIALOGUE.TXT. For example, if the content of the file DIALOGUE.TXT is
Th s s h s book
Sweet one?
Set to put
And mark
Then the output will be 2.
11. Assuming the class STOCK given below, write and call functions in C++ to perform the following :
i) Write the object of STOCK to a binary file IIstock.dat" by appending records in it.
ii) Search a record from the file by reading it for which ITNO is given by user
class STOCK
{
int ITNO
char ITEM[30];
public: void GETIT( ) { cin>>ITNO ; gets(ITEM); }
void SHOWIT( ) { cout<<ITNO <<" :: II<<ITEM<<endl; }
};
12. Write and call a function in C++ to print the count of word IIthe" as independent word from a file STORY.TXT.
For example, if the content of the file STORY.TXT is
That s the fu programe
The same s expected, t s good ke the Taj
Then output will be 3
13. Write a program in C++ to write records in a binary file PHONE.DAT containing the records of the following structure type class Phonelist
{
char Name[20];
char Address[30];
char AreaCode[5];
char PhoneNo[15];
public:
void Register();
void Show();
int CheckCode(char AC[])
{
return strcmp(AreaCode, AC);
}
Please click the link below to download pdf file for CBSE Class 12 Computer Science - Practicals.
Free study material for Computer Science
Practicals Concepts & Summary for Class 12 Computer Science
Quick Revision Notes: Practicals (CBSE)
Explore these Revision Notes for Practicals to check your comprehension levels instantly. Created per the latest CBSE standards for Class 12, these notes highlight recurring exam themes. Consistent review helps students secure higher marks across all school evaluations.
Important Chapter Summary & Solutions for Practicals
Our professional educators designed these notes using the official NCERT book for Class 12 Computer Science. Pairing your summary review with our recommended NCERT solutions for Class 12 clarifies complex ideas and ensures a rock-solid comprehension of Computer Science.
Comprehensive Study Resources & Worksheets
To excel in your evaluations, learners should also tackle the MCQ questions and practice worksheets available on this page. These additional solved exercises verify your mastery over Practicals concepts. Every learning aid online is free and synchronized with current Computer Science exam trends. Reviewing these revision notes daily builds confidence and drives better scores.
FAQs
You can download the teacher prepared revision notes for CBSE Class 12 Computer Science Practicals Notes from StudiesToday.com. These notes are designed as per 2026-27 academic session to help Class 12 students get the best study material for Computer Science.
Yes, our CBSE Class 12 Computer Science Practicals Notes include 50% competency-based questions with focus on core logic, keyword definitions, and the practical application of Computer Science principles which is important for getting more marks in 2026 CBSE exams.
Yes, our CBSE Class 12 Computer Science Practicals Notes provide a detailed, topic wise breakdown of the chapter. Fundamental definitions, complex numerical formulas and all topics of CBSE syllabus in Class 12 is covered.
These notes for Computer Science are organized into bullet points and easy-to-read charts. By using CBSE Class 12 Computer Science Practicals Notes, Class 12 students fast revise formulas, key definitions before the exams.
No, all study resources on StudiesToday, including CBSE Class 12 Computer Science Practicals Notes, are available for immediate free download. Class 12 Computer Science study material is available in PDF and can be downloaded on mobile.