C and CPP programs for external exam

C++ Lab Questions

  1. WAP in C++ in which you should create the complex class and overload the ‘+’ and ‘-‘operators.
  2. WAP in C++ in which you should create the complex class and overload the ‘++’ operator( both the post and pre increment operators).
  3. WAP in C++ in which you should create the rational class and overload the ‘+’ and ‘-‘operators.
  4. Write a C++ program to overload the + operator with string class
  5. Write C++ program to implement matrix class.
  6. Write a C++ program to overload + operator with matrix class
  7. WAP in C++ to illustrate run time polymorphism using virtual functions.
  8. WAP in C++ in which you should create template functions for Min( ) and Max( ) for finding minimum and maximum in a list.
  9. WAP in C++ in which you should create a class to represent a Bank account.
  10. WAP in C++ to illustrate the order of execution of constructors and destructors.
  11. WAP in C++ to illustrate the use of protected members in a base class.
  12. WAP in C++ to illustrate the parameter passing mechanisms in C++.
  13. WAP in C++ to illustrate the use of static members in a class.
  14. WAP in C++ to illustrate function overloading.
  15. WAP in C++ to illustrate friend functions.
  16. WAP in C++ to illustrate multiple inheritance.
  17. WAP in C++ to illustrate the use of default arguments.
  18. WAP in C++ to illustrate constant member functions.
  19. WAP in C++ to illustrate the use of new and delete operators.
  20. Write a C++ program to count the no. of words, sentences and lines from given line of text.

C Lab Questions

  1. WAP in C to find the sine of an angle given in degrees.
  2. WAP in C to find the cosine of an angle given in degrees.
  3. WAP in C to find the frequency of different vowels and special characters such as n, t and white spaces in a paragraph
  4. WAP in C to carry out 2-D matrix addition. Use pointer notation
  5. WAP in C to carry out 2-D matrix multiplication.
  6. WAP in C to carry out bubble sort on integers.
  7. WAP in C to carry out bubble sort on strings.
  8. WAP in C to carry out binary search.
  9. WAP in C to carry out linear search.
  10. WAP in C to generate address labels. Use structures and array of structures.
  11. WAP in C to find the midpoint of a line, given the two end points. Use structures.
  12. WAP in C to copy a file into another file. Use command line arguments.
  13. WAP in C to compare two strings. Write your own version of the strcmp() function and name it as mystrcmp()
  14. WAP in C to concatenate two strings. Write your own version of the strcat() function and name it as mystrcat()
  15. WAP in C to find whether a given integer number is a palindrome or not.
  16. WAP in C to find all the perfect numbers within the range 2-10000.
  17. WAP in C to find all the prime numbers within the range 5000-12000
  18. WAP in C to find the minimum, maximum and sum of a given set of numbers using an array.
  19. WAP in C to find the factorial of a given number. Use recursion.
  20. Write a program to generate Fibonacci numbers. Use recursion.

C++ Questions

  1. WAP in C++ in which you should create the complex class and overload the ‘+’ and ‘-‘operators.
  2. WAP in C++ in which you should create the complex class and overload the ‘++’ operator( both the post and pre increment operators).
  3. WAP in C++ in which you should create the rational class and overload the ‘+’ and ‘-‘operators.
  4. WAP in C++ to illustrate run time polymorphism using virtual functions.
  5. WAP in C++ in which you should create template functions for Min( ) and Max( ) for finding minimum and maximum in a list.
  6. WAP in C++ in which you should create a class to represent a Bank account.
  7. WAP in C++ to illustrate the order of execution of constructors and destructors.
  8. WAP in C++ to illustrate the use of protected members in a base class.
  9. WAP in C++ to illustrate the use of reference arguments.
  10. WAP in C++ to illustrate the use of static members in a class.
  11. WAP in C++ to illustrate function overloading.
  12. WAP in C++ to illustrate friend functions.
  13. WAP in C++ to illustrate multiple inheritance.
  14. WAP in C++ to illustrate the use of default arguments.
  15. WAP in C++ to illustrate constant member functions.
  16. WAP in C++ to illustrate the use of new and delete operators.

By PRATHIMA , faculty IT department, programming

12 Comments

  1. alpesh said,

    plz send

    • aush said,

      sale kutte tere kuch nahin atta kamene

  2. hanuman said,

    df

  3. hanuman said,

    pls send

  4. vinayak r g said,

    i want this program pls send me iam studing engg

  5. T.sree vidhya said,

    please sent

  6. Advingsotgoni said,

    Начало хорошее. Добавил в закладки, завтра дочитаю

  7. Enforyproft said,

    Hi guys,
    My PC worked not correctly, too much mistakes and buggs. Please, help me to fix buggs on my PC. On format http://www.yahoo.com/ please.
    My operation system is Windows XP.
    Thanks,
    Enforyproft

  8. Hari Krishnan said,

    pls send me the ans.Iam an IT student.plz………..

  9. hymnUnrette said,

    Where possible download or secure the films in be paid prettier the importance and various format ?

  10. Roftbotrolo said,

    Where reasonable download or bribe the films in confound prettier the quality and diverse looks ?

  11. weberann.ru said,

    книги , информация в интернете,weberann.ru

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.