|
Question |
Rating |
View Answer |
|
Write programs using nested loops to produce the following design: * * * * * * * * * * * * * |
|
View Answer |
|
What is encapsulation? |
|
View Answer |
|
What are the different types of polymorphism?
|
|
View Answer |
|
Write a c++ programme in order to find the day you born,such that the programmer will take your birth date (day-month-year)? |
|
View Answer |
|
What is the object-oriented design,inheritance and dynamic polymorphism in c++?
|
|
View Answer |
|
plz tell how can i attach oracle database with c++? |
|
View Answer |
|
Differentiate Aggregation and containment? |
|
View Answer |
|
What is abstraction? |
|
View Answer |
|
. For the following C program #define AREA(x)(3.14*x*x)<br>main()<br>{float r1=6.25,r2=2.5,a;<br>a=AREA(r1);<br>printf(" Area of the circle is %f", a);<br>a=AREA(r2);<br>printf(" Area of the circle is %f", a);<br>}<br> What is the Output? |
|
View Answer |
|
A positive integer entered through the keyboard. Write a function to obtain the prime factors of this number. For example : prime factors of 24 are 2,2,2 and 3,, where as prime factor of 35 are 5 |
|
View Answer |
|
What will happen if I say delete this
|
|
View Answer |
|
Anything wrong with this code? T *p = new T[10]; delete p; |
|
View Answer |
|
HI, THIS PROGRAM MUST BE SUBMMITED AS SOON AS POSSIBLE.MAY YOU PLEASE HELP ME TO TACKLE IT ? I’LL BE VERY PLEASE IF I CAN GET HELP.
MULTICHOICE VIDEO RENTAL SHOP needs an Object Oriented program that process the following information about ten (10) videos in their stock • The title, the director, the year produced and a list of main actors for each video. (If there are more than five main actors, include only the five most famous actors) • The function setVideo that input information into each video object • The function getVideo that displays information of a particular video on the screen • A customer (identified by ID) plus his full names and address can borrow at most 2 videos @ R12.50 per day. A penalty of 10% per day is charged if returned late. The borrow period is at most 7 days • Video titles should not exceed 25 characters in length. If that happens, truncate the length to a most 25 characters • A video should be checked if is not rented out before borrow transaction is processed. If borrowed out the customer should either be requested for the second choice or be advised when the video is expected back in the shop • Failure for the shop to receive the video back within 7 days, is considered permanent loss and the customer is liable to a R400.00 compensation fee • Information about the number of films in stock at any point in time should be readily available • At the end of business, a report should be generated showing o Which films are rented out and when are they due o To which customers they are borrowed to o Which videos are left in stock o How much money was collected for the day Generate your own test data that will test all cases to illustrate the accuracy and consistency of your program
|
|
View Answer |
|
What is an object?
|
|
View Answer |
|
As an electric engineer choose a suitable electric engine to work in an electric metro. the power of engine is velated to the maximum speed of the metro as folloe: 0<v_max<=50km/hr. ip=0,5v_max^(2) 50<v_max<=100km/hr. ip=0,25 v_max^(2,5)+200 100<v_max. ip=2v_max^(3) choose the suitable motor and state the corre speeding power of the motor. |
|
View Answer |
|
What do you mean by analysis and design? |
|
View Answer |
|
What are the defining traits of an object-oriented language? |
|
View Answer |
|
Can the structures contain the constructor? If yes, then how? |
|
View Answer |
|
How can we define a dynamic memory allocation in UNIX operating system?
|
|
View Answer |
|
What are 2 ways of exporting a function from a DLL? |
|
View Answer |