Wednesday, 5 October 2016

Practical List CS Class XII

SL. NO.
TOPIC
TITLE
DATE
1.
Fundamentals of C++
Write a program to input int and char array and display it
11/04/2016
2.
Fundamentals of C++
Write a program to take a string of 10 character and reverse it.
13-16/04/2016
3.
Fundamentals of C++
Write a program to find the sum of the following series to first N terms
18/04/2016
4.
Fundamentals of C++
Write a program to find if the given number is even or odd
20/04/2016
5.
Fundamentals of C++
Write a program to find the factorial of any given number
23/04/2016
6.
Fundamentals of C++
Write a program to find the first n natural number, n even numbers, n odd numbers
25-27/04/2016
7.
Fundamentals of C++
Write a program to find the given number for prime
28/04/2016
8.
Fundamentals of C++
Write a program to find the number for Armstrong number
27-29/06/2016
9.
Fundamentals of C++
Write a program to input int and char array and display it
02/07/2016
10.
Fundamentals of C++
Write a program to take a string of 10 character and reverse it.
04/07/2016
11.
Classes
WAP to create a class Hotel in c++ with following description:
Private members:
Rno // Data member to store Room No
Name // Data member to store customer name
Tarrif // Data member to store per day charges
Days //Number of days of stay
Calculate() // A function to calculate and return the amount days*tarrif. If the product is greater that 5000 then return 1.05*days*tarrif
Public members:
Checkin() // A function to enter Rno, Name, Tarrif and days
Display() // A function to display Rno, Name, Tarrif, days and total amount as per the called Calculate() function
Instantiate the class and write the main function as needed.
11/07/2016
12.
Constrcutor & Destructor
WAP to illustrate the copy constructor
13/07/2016
13.
Constrcutor & Destructor
WAP a program to illustrate the concept of Constructor overloading and destructor
16/07/2016
14.
Constrcutor & Destructor
WAP a program to pass a class to a function with reference
20/07/2016
15.
File Handing
WAP a C++ function that count the No of Article ‘A’ ‘AN’ ‘THE’ in the given text file
23-25/07/2016
16.
Inheritance
WAP to implement hybrid inheritance using virtual base class
01-08-2016
17
Data file handling
WAP to write data to a file and read from a file using
a)      Constructor
b)      Open() function
01-08-2016
18
Data file handling
WAP to write data to a file and read a file and write that into another file
03-08-2016
19
Data file handling
WAP to find the number of blank spaces in a file
12/09/2016
20
Data file handling
WAP to find number of vowels in a file
14/09/2016
21
Data file handling
WAP in c++ to write the details of 5 students in a file and then search for a  record with a particular roll no provided by user in the file and print details
17/09/2016
22
Data file handling
WAP to find no. of  occurrence of a word in a file (a, an, the)
21/09/2016
23
Date File handing
WAP to append data in a file
24/09/2016
24
Pointer
WAP to create a char array of 10 elements using pointer. Use the pointer to read the elements
29/08/2016
25
Pointer
WAP in c++ to show the characteristics of
1)Ptr
2)Cptr
3)Ptrc
 4) Cprc
06/08/2016
26
Pointer
WAP in c++ to swap two complex numbers using pointer
08/08/2016
27
Pointer
WAP to show this pointer
10/08/2016
28
pointer
WAP to use self-referential structure 
17/08/2016
29
Pointer
WAP in c++ to show a pointer pointing to integers.
20/08/2016
30
Array
WAP to interchange the first half and second half of a string. (having even numbers)

22/08/2016
31
Array
WAP to search an element in a array using two functions
1 Lsearch – for linear search
2. Bsearch – for binary search.
24/08/2016
32
Array
WAP to reverse a string a string using only a array
27/08/2016
33
Linked List
WAP a program to create, add, delete from single linked list
03/09/2016
34
Linked List
WAP a program to create Circular linked list
05/09/2016
35
Linked List
WAP to create a Stack with (POP, PUSH)
24/09/2016 – 26/09/2016
36
Boolean Algabra
Write the question for K-Map to give SoP and PoS

37
SQL Query
Write any ten SQL Commands and ten queries.