Computer Lab - Practical Question Bank
FACULTY OF COMMERCE, OSMANIA UNIVERSITY
--- Content provided by FirstRanker.com ---
Time: 60 Minutes | Record : 10 Skill Test: 15 Total Marks : 25 |
B.Com (Computer & Computer Applications) (CBCS)
OBJECT ORIENTED PROGRAMMING IN C++ Practical question bank
- Write a C++ program to reverse a given number.
- Write a C++ program to add two numbers using class.
- Write a C++ program to check whether a given number is prime.
- Write a C++ program to demonstrate the usage of scope resolution operator.
- Write a C++ program to check whether a given year is leap year or not.
- Write a C++ program to add two numbers using functions.
- Write a C++ program to accept and display the details of a student using class.
- Write a C++ program to accept and display the details of an employee using a class.
- Write a C++ program to count the number of words and characters in a given text.
- Write a C++ program to compare two strings using string functions.
- Write a C++ program to find the GCD of two numbers.
- Write a C++ program to calculate the area of rectangle, square using function overloading.
- Write a C++ program to add two numbers using pointers.
- Write a C++ program to find the factorial of a given number.
- Write a C++ program to search for an element using binary search.
- Write a C++ program to sort an array in ascending order.
- Write a C++ program to find the factorial of a given number using recursion.
- Write a C++ program to check whether a given number is even or odd.
- Write a C++ program to demonstrate the usage of Inline function.
- Write a C++ program to demonstrate parameter passing mechanism using pass by value method.
- Write a C++ program to demonstrate parameter passing mechanism using pass by address method.
- Write a C++ program to demonstrate the usage of a constructor and destructor in a class.
- Write a C++ program to demonstrate simple inheritance.
- Write a C++ program to calculate volume of cube, cylinder and rectangle using function overloading.
- Write a C++ program to demonstrate the usage of friend function in a class.
- Write a C++ program to demonstrate the usage of endl and setw manipulators.
- Write a C++ program to display employee information using multiple inheritance.
- Write a C++ program to demonstrate multilevel inheritance.
- Write a C++ program to create a file.
- Write a C++ program to check whether a given number is a palindrome or not.
- Write a C++ program to generate the Fibonacci series using while loop.
- Write a C++ program to overload + operator to add two complex numbers.
- Write a C++ program to search for a given element in an array using linear search.
- Write a C++ program to read a text file.
- Write a C++ program to find the sum of natural numbers using for loop.
- Write a C++ program to create a simple class named Account and write methods to deposit and withdraw amount from the account.
- Write a C++ program to demonstrate dynamic memory allocation in c++.
- Write a C++ program to demonstrate polymorphism by calculating area of rectangle and triangle using a shape class.
- Write a C++ program using switch case to add, subtract, multiply and divide two numbers.
- Write a C++ program using class to implement basic operations on a stack using arrays.
- Write a C++ program to display the sizes of various data types in c++ language.
- Write a C++ program to accept and display employee details using structures.
- Write a C++ program to find the length of a given string using string functions.
- Write a C++ program to print the ASCII value of a user entered character.
- Write a C++ program to add two dimensional matrices.
- Write a C++ program to overload + (plus) operator to perform concatenation of two strings.
- Write a C++ program to find the sum of elements in a given array.
- Write a C++ program to find the largest of 3 numbers.
- Write a C++ program to demonstrate exception handling by dividing a number with zero.
- Write a C++ program to convert a binary number to a decimal number.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: DUET Last 10 Years 2011-2021 Question Papers With Answer Key || Delhi University Entrance Test conducted by the NTA
--- Content provided by FirstRanker.com ---