CBSE Class 12 Computer Science Practicals Notes

Download the latest CBSE Class 12 Computer Science Practicals Notes in PDF format. These Class 12 Computer Science revision notes are carefully designed by expert teachers to align with the 2025-26 syllabus. These notes are great daily learning and last minute exam preparation and they simplify complex topics and highlight important definitions for Class 12 students.

Chapter-wise Revision Notes for Class 12 Computer Science Practicals

To secure a higher rank, students should use these Class 12 Computer Science Practicals notes for quick learning of important concepts. These exam-oriented summaries focus on difficult topics and high-weightage sections helpful in school tests and final examinations.

Practicals Revision Notes for Class 12 Computer Science

 

class_12_computer_concept_6

class_12_computer_concept_6a

 

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

CBSE Class 12 Computer Science - Practicals

 

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.

CBSE Class 12 Computer Science Practicals Notes

Students can use these Revision Notes for Practicals to quickly understand all the main concepts. This study material has been prepared as per the latest CBSE syllabus for Class 12. Our teachers always suggest that Class 12 students read these notes regularly as they are focused on the most important topics that usually appear in school tests and final exams.

NCERT Based Practicals Summary

Our expert team has used the official NCERT book for Class 12 Computer Science to design these notes. These are the notes that definitely you for your current academic year. After reading the chapter summary, you should also refer to our NCERT solutions for Class 12. Always compare your understanding with our teacher prepared answers as they will help you build a very strong base in Computer Science.

Practicals Complete Revision and Practice

To prepare very well for y our exams, students should also solve the MCQ questions and practice worksheets provided on this page. These extra solved questions will help you to check if you have understood all the concepts of Practicals. All study material on studiestoday.com is free and updated according to the latest Computer Science exam patterns. Using these revision notes daily will help you feel more confident and get better marks in your exams.

Where can I download the latest PDF for CBSE Class 12 Computer Science Practicals Notes?

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 2025-26 academic session to help Class 12 students get the best study material for Computer Science.

Are these Computer Science notes for Class 12 based on the 2026 board exam pattern?

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.

Do these Class 12 notes cover all topic-wise concepts for Computer Science?

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.

How can I use CBSE Class 12 Computer Science Practicals Notes for quick last-minute revision?

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.

Is there any registration required to download Class 12 Computer Science notes?

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.