CBSE Class 12 Computer Science Text Files Worksheet

TOPIC : TEXT FILES 1. Create a text file “SAMPLE.TXT”. Write a Program using a function COUNT(), to count the number of spaces, number of alphabets and digits present in the text file and display the result in main() function. 2. Write a Program to create a text file “DELHI.…

CBSE Class 12 Computer Science Sure Shot Questions Worksheet Set D

1. What do you mean by typedef and #define? 2. How many ways you pass the value to function. 3. Explain the use of inline function in C++ with the help of an example. 4. Differentiate between a run time error and syntax error. Also give suitable examples of each in C++. 5.…

CBSE Class 12 Computer Science Sure Shot Questions Worksheet Set C

Please click the link below to download full pdf file for CBSE Class 12 Computer Science Sure Shot Questions (3).

CBSE Class 12 Computer Science Sure Shot Questions Worksheet Set B

Please click the link below to download full pdf file for CBSE Class 12 Computer Science Sure Shot Questions (2).

CBSE Class 12 Computer Science Sure Shot Questions Worksheet Set A

1. What is the difference between automatic type conversion and type casting? Also, give a suitable C++ code to illustrate both. 2. What is the difference between call by value and call by reference? Give an example in C++ to illustrate both. 3. What is the benefit of using…

CBSE Class 12 Computer Science Stacks Queues And Linked List Worksheet

STACKS, QUEUES AND LINKED LIST Stack In computer science, a stack is a Last in, First out (LIFO) data structure. It simply means that element that is inserted at the end will be deleted first. To Manage a stack all the insertion and deletion takes place from one position One…

CBSE Class 12 Computer Science Oop Classes And Objects Worksheet

  Class :- A class is collection of data (data member) and functions (member functions or methods) working on the data. It can be seen as a blue print for the object. No memory is allocated when a class is created. Memory is allocated only when an object is created.…

CBSE Class 12 Computer Science Object Oriented Programming In C++ Worksheet

  Please click the link below to download full pdf file for CBSE Class 12 Computer Science Object Oriented Programming in C++.

CBSE Class 12 Computer Science Network And Communication Technology Worksheet

Please click the link below to download full pdf file for CBSE Class 12 Computer Science Network and Communication Technology.

CBSE Class 12 Computer Science Inheritance Extending Classes Worksheet

Inheritance Inheritance is the process of creating a new class from existing class/classes. The existing class is known as the base/super/parent class and newly created class is known as derived/sub/child class. The derived class will inherits the properties of base…

CBSE Class 12 Computer Science Function Overloading Worksheet

FUNCTION OVERLOADING 1. Write a menu driven Program using overloaded functions to compute the perimeter of a rectangle, square, circle and a triangle. The prototypes of the various functions are as given below : float PERIMETER(float l, float b); float PERIMETER(int side);…

CBSE Class 12 Computer Science Function And Structures Worksheet

1. Write a C++ function Sum(), which takes a double value x and an integer n and calculates the sum of the following series x -x3/3! + x5/5!..................± x2n-1/(2n-1)!  Write main() function to read the values of x and n from the user and use the function to…

CBSE Class 12 Computer Science Dbms And Structured Query Language Worksheet

Basic Database concepts Data : Raw facts and figures which are useful to an organization. We cannot take decisions on the basis of data. Information: Well processed data is called information. We can take decisions on the basis of information Field: Set of characters that…

CBSE Class 12 Computer Science Data File Handling Worksheet

Unit-I Object Oriented Programming in C++ Data File Handling In C++ File: - The information / data stored under a specific name on a storage device, is called a file. Stream: - It refers to a sequence of bytes. Text file: - It is a file that stores information in ASCII…

CBSE Class 12 Computer Science Constructors And Destructors Worksheet

Constructors and Destructors Constructor:- A constructor is a special member function with the same name as its class name and is used to initialize the data members of the class. Constructor is invoked automatically when an object of a class is created. Constructor do not…