Download CBSE Class 12 Computer Science Practicals Notes in PDF format. All Revision notes for Class 12 Computer Science have been designed as per the latest syllabus and updated chapters given in your textbook for Computer Science in Class 12. Our teachers have designed these concept notes for the benefit of Class 12 students. You should use these chapter wise notes for revision on daily basis. These study notes can also be used for learning each chapter and its important and difficult topics or revision just before your exams to help you get better scores in upcoming examinations, You can also use Printable notes for Class 12 Computer Science for faster revision of difficult topics and get higher rank. After reading these notes also refer to MCQ questions for Class 12 Computer Science given on studiestoday
Revision Notes for Class 12 Computer Science Practicals
Class 12 Computer Science students should refer to the following concepts and notes for Practicals in Class 12. These exam notes for Class 12 Computer Science will be very useful for upcoming class tests and examinations and help you to score good marks
Practicals Notes 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.
CBSE Class 11 Computer Science Computing and Binary Operation Notes |
CBSE Class 12 Computer Science Practicals Notes
We hope you liked the above notes for topic Practicals which has been designed as per the latest syllabus for Class 12 Computer Science released by CBSE. Students of Class 12 should download and practice the above notes for Class 12 Computer Science regularly. All revision notes have been designed for Computer Science by referring to the most important topics which the students should learn to get better marks in examinations. Our team of expert teachers have referred to the NCERT book for Class 12 Computer Science to design the Computer Science Class 12 notes. After reading the notes which have been developed as per the latest books also refer to the NCERT solutions for Class 12 Computer Science provided by our teachers. We have also provided a lot of MCQ questions for Class 12 Computer Science in the notes so that you can learn the concepts and also solve questions relating to the topics. We have also provided a lot of Worksheets for Class 12 Computer Science which you can use to further make yourself stronger in Computer Science.
You can download notes for Class 12 Computer Science Practicals for latest academic session from StudiesToday.com
Yes, the notes issued for Class 12 Computer Science Practicals have been made available here for latest CBSE session
There is no charge for the notes for CBSE Class 12 Computer Science Practicals, you can download everything free of charge
www.studiestoday.com is the best website from which you can download latest notes for Practicals Computer Science Class 12
Come to StudiesToday.com to get best quality topic wise notes for Class 12 Computer Science Practicals