Download Class 12 Computer Science Worksheets for Header Files
Review targeted practice sets for Class 12 Computer Science Header Files. Built according to official educational guidelines for the 2026-27 academic year, these downloadable worksheets support daily revision and core concept reinforcement.
Access Header Files Questions and Exercises
Navigate directly to the printable exercises for Header Files using the digital viewer below. Each practice set allows students to isolate specific topics for thorough review and uninterrupted practice alongside standard textbooks.
Header files, Find & Coorect errors, Outputs, Function Overloading ,Classes & Object
1. What do you understand by Polymorphism? Give a suitable example of the same.How matching is done in function overloading.
2. Using the concept of function overloading provide the appropriate prototype and coding for the following assumptions.
Print(50,’*’) – to display the character * 50 times
Print(void) – to display the character % 25 times
Print(’#’) – to display the character # 30 times
Print(10) – to display the character $ 10 times
3. Apply the Function overloading concept and provide the coding for the following assumptions.
Count(char[],char ) – to count and display the number of occurrences of a character in the character array.
Count(char[]) – to count & display the number of occurrences of the character ‘a’ in the character array.
Count(long) – to count the number of digits in the long variable.
4. Define the following : Data Encapsulation, Data Hiding, Class, Object, Data Abstraction (support with example)
5. Differentiate between public and private visibility modes in context of Object Oriented Programming using a suitable example illustrating each.
6. How are data abstraction and data encapsulation inter-related?
7. Find Header Files For The Following
(a) Write the names of the header files to which the following belong:
(i) setw() (ii) sqrt() (iii) toupper() (iv) frexp() (v) isalnum() (vi) pow() (vii)clrscr()
(b)Name the header files that shall be needed for the following code.
void main()
{ char str*+=” air force schools “;
cout<
}
8. Identify and correct the errors in the following :
(a ) #include [iostream.h]
class PAYITNOW
{
int Charge;
PUBLIC:
void Raise(){cin>>Charge;}