List of Praticals Class 12th Subject Comp Sc

List of Praticals Class 12th Subject Comp Sc


 download from vidmate


1. Write a menu driven programe to perform following operation on string without using build- in functions.
Find the length of the string 
Compare two string 
Concatenate tow string.
2. create a array containing country and capital .now write a menu driven program to:
display capital of given country 
print the tabular report of the country and corresponding capital.
3. Write the function in C++ which accepts a 2D array bof integers and its size as arguments and display elements which are exactly two digit no. 
4. Write a program to declare array for: name, roll, m1, m2, m3. Total N students and print the tabular report and report card of individual student according to the user�s choice.
5. write a program to display the report card of any student and also print the tabular report of the whole class in ascending order of total marks(use structure: roll,name,mark1,mark2,mark3,total).
     6.  Write a menu driven program:     
to read an integer array
sort it using bubble sort
search an element using the binary search
7.
a class student has 3 data member and few member functions  
name
rollno
Marks
Create Funciton getdstu for input he value of student
To print the stream according to the total marks of the students :
? 96 or more                                computer science
? 91-95                                         electronics
? 86-90                                         mechanical
? 81-85                                         electrical
? 76-80                                          chemical
? 71-75                                          civil Create another class Teacher
Empno
Name
Subject
Create Funciton getdteacher for input he value of Teacher
? Create class School who inherit Stu & Teacher
? Function Display for display Teacher & Student record
? Size() for display the size of Teacher ,Stu & School 
? Write a menu Driven Program for 
To Enter student record & add in Stu.dat file
To Enter teacher record & add in Tea.dat file
To Display Student Record in Tabular format
To Display Teacher Record in Tabular format
8. Write a menu driven program using declare a structure Player containing 
Plno
Name
Game
and required functions(Input ,Display ,Copy, Modify, Delete)
Create a data file GAME.DAT 
Input function for input the record of the player
Display for display the value of record column wise head
Modify for update particular records 
Delete for delete particular record from GAME.DAT if record is found 
Copy function for copy in GCOPY.DAT only those record whose Game is FOOTBALL from GAME.DAT      
9. write a menu driven program to 
create a text file 
create another file using the 1st one which will store all the words starting with vowel.
10. write a menu driven program 
to create a text file 
count no of vowel ,digit and words 
Create another file using the original file which will contain the text after replacing all the blank space #.
11. Create a menu driven program 
To create a text file 
Read the file and display 
- uppercase vowel 
- uppercase consonants 
- lowercase vowel
- lower case consonants
- now create  another  file using the first file which will take only  vowels  from the first file 
12. Declare the class containing :
name
address
Telephone no.
  Write a menu driven program to:
Append record in a file 
Display the name and address for a given telephone number 
13. A blood bank maintains the records of donor using class donor :  name ,address, blood group. Write a menu driven program:
Create file  of donor 
Print the name of all the donors having given blood group
Print the tabular list of donor      
14. declare a class containing :
BNO 
Bname 
And required functions 
Write a menu driven program:
To Add  record in a file 
To modify the price of the given BNO 
Display List of record in tabular format after & before modify


15. 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 calculates and assigns the value of price as follows:
  For the value of material as �COTTON�:
          Type                          prices (Rs)
          TROUSER                   1500
           SHIRT                          1200
For material other then �COTTON� the above mentioned price by reduced 25%.
 Public member:
a constructor to assign initial value of code, type and material with the word  �NOT ASSINGNED�  and size and price with zero ()>
a function enter () to input the value of data members code, type, size and material and invoke the calcprice()  function .
a function shows() which displays the content data  members for a clothing 
     Write a program to read and write the object of the above class in a file 

16. declare class sport having :
sno
sname 
fees
required  functions 
               Write a menu driven program:
to append record in a file 
delete the record of given sno
Display size of class and object

17. each node of  QUEUE contain :
eno ,salary ,pointer field 
Front is the first node of QUEUE and REAR is the last node     Write a menu driven program:
to add element in queue
to delete the  elements from queue 
 
18. each node of STACK  contains:
rollno
age 
pointer field 
         TOP is the first node of STACK. Write a menu driven program:
to push 
to pop
19. Declare a liner stack containing integer. write a menu driven program to push and pop element 
20. Declare a liner circular queue of integer .write a menu driven program to add and delete element from the queue.
21. Program for input n no & input  in array sort all data in 
Ascending order using Selection sort
Descending order using Insertion Sort
22. Program for input n string & search a particular string using Binary Search.
23. Declare a structure Cust
Cuno
Cname 
Balance
Sort Function for sort all Record of structure array in ascending order Input Function for input record of structure 
Menu driven program for 
? Input Record
? Display record
? Sortting



go to link download