Академический Документы
Профессиональный Документы
Культура Документы
1. Write a program using classes and objects to create the class Garment.
2. Write a menu driven program to create the class BANK to intialise ,deposit ,withdraw and display the
details of 3 customers.
3. Write a program to create the class ADMISSION that generates 2 random admission numbers from
the list of given admission numbers.
4. Write a program to show the working of a constructor and a destructor in a class.
5. Write a program to maintain the details of college students and print them using inheritance.
8. Write a program to create the binary file with 5 records and display them.
9. Write a program to search a record in a binary file.
10. Write a program to append a record in a binary file.
11. Write a program to insert data in a binary file.
12. Write a program to delete a record from the binary file.
13. Write a program to modify the data in already created binary file.
14. Given the binary file TELEPHONE.DAT , containing the records of the following
class Directory:
class Directory
{
char name[20];
char address[30];
char areaCode[5];
char phone_no[15];
public:
void register( );
void show( );
int checkCode( char AC[] )
{
return strcmp(areaCode, AC);
}
};
Write a program using function COPYABC( ) in C++ , that would copy only those records having
areaCode as 123 from TELEPHONE.DAT to TELEBACK.DAT.
16. Create a menu driven program to show searching operation in 1-D array using:
1. Linear Search
2. Binary Search
17. Create a menu driven program to insert & delete an element in a sorted array.
18. Write a menu driven program to sort elements using selection sort and bubble sort.
19. Write a program to merge two 1-D arrays into third array.
20. Write a program to convert 1-D array into 2-D array.
21. Write a menu driven program for pushing and popping in a stack implemented as linked list.
22. Write a program to show insertion and deletion from the linked queue.
23. To show the usage of various built-in functions in SQL.
24. Queries based on the joining of two tables.