Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Create the Investment class which contains fields to hold initial value of the investment, the current value, the profit (computed as a difference between present value and initial value), and perce
A farm delivers the box of fresh fruits and vegetables to your house once a week. For this assignment, define a class BoxOfProduce which contains exactly three bundles of fruits or vegetables. You c
John wants to know values of area and perimeter of a rectangle. John could take measurements of length and width of the rectangle in inches. John's measurements are expected to be accurate to within
Use a linked list to implement the queue, with a "first" and a "last" pointer in the private data portion of the queue class.
Design an Employee class. It must have member variables: Employee Name and Employee Number. Write the suitable constructors, accessors, and mutators for the class. Demonstrate (and test) all methods
Write a program to play memory game. Use two dimensional array of 4 rows and 4 columns to use a deck of 16 cards with 8 matching pairs and you can use numbers 1 to 8 to mark the cards.
Write the program which compute the CRC-16 value for a given file and also verifies the correctness of a given file that already has CRC-16 value appended at the end.
Compute the frequency of every word appearing in article (not including punctuation marks, space and special characters). Output the k most frequently occurring words along with each frequency, place
Write a program that would read all these reports for last month’s sales and summarize total sales by salesperson by product. All totals must be stored in two dimensional array sales and print
Write a program to convert time from 24-hour notation to 12-hour notation and vice versa. Your program should be menu driven, giving the user the choice of converting the time between the two notati
Write a complete C++ program which defines and initializes a single 10-element integer array (use random values of your choice to fill the array).
Write a program that would process a data set of information for a person that is playing Candy Crush Saga. The information woulkd be needed for later processing, so it would be stored in a set of a
Write down the string handling functions in ‘C’, with brief detail. What is file pointer? How to open and close a file using pointer?
Write a program to swapping of two variable using templates. What is virtual function? Explain pure virtual function with example.
The type of a function/procedure/module is determined by:
Describe dynamic memory allocation techniques of C++. What do you understand by late binding? Describe with example.
Write a ‘C’ Program to find smallest of 4 numbers using if else statements. Describe the syntax of do-while statement along with appropriate example.
Prepare a virtual Restaurant that simulates a real world restaurant. The restaurant would have a minimum: greeter waiters/waitresses, a cashier.
Write the different steps involved in executing a C program and describe it with the help of a flow chart.
Implement the parser in a separate file (parser.c and parser.h). Implement the main parser function in a separate file main.c: the main function should check for command line arguments, and then cal
Describe whether overriding or overloading allows achieving polymorphism.
What are the five main benefits of object-oriented programming? Explain the meaning of the each benefit by giving an appropriate example or situation for each.
Describe about stat structure, Symbolic Links and Hard Links.
What are the different steps involved in creating and running programs?
a) Distinguish between constructor and destructor with illustrations? b) Describe parameterized constructors with example?