Advertisements
Advertisements
Write the disadvantages of OOP.
Concept: undefined >> undefined
What is the difference between public and private visibility modes?
Concept: undefined >> undefined
Advertisements
What is the difference between the members present in the private visibility mode and the members present in the public visibility mode?
Concept: undefined >> undefined
Based on the following class declaration answer the question?
class vehicle
{ int wheels;
public:
void input_data(float,float);
void output_data();
protected:
int passenger;
};
class heavy_vehicle : protected vehicle {
int diesel_petrol;
protected:
int load;
public:
void read_data(float,float)
void write_data(); };
class bus: private heavy_vehicle {
char Ticket[20];
public:
void fetch_data(char);
void display_data(); };
The member function is inherited as public by Class Bus ______
Concept: undefined >> undefined
Explain the different visibility modes through pictorial representation?
Concept: undefined >> undefined
Consider the following c++ code and answer the question?
class Personal
{ int Class,Rno;
char Section;
protected:
char Name[20];
public:
personal();
void pentry();
void Pdisplay(); };
class Marks:private Personal
{ float M{5};
protected:
char Grade[5];
public: Marks();
void Mentry();
void Mdisplay(); };
class Result:public Marks
{
float Total,Agg;
public:
char FinalGrade, Commence[20];
Result();
void Rcalculate();
void Rdisplay();
};
Specify the visibility mode of base classes.
Concept: undefined >> undefined
When a system restarts which type of booting is used.
Concept: undefined >> undefined
Subtract 11010112 – 1110102
Concept: undefined >> undefined
What is the capacity of a 12cm diameter DVD with a single-sided and single layer?
Concept: undefined >> undefined
What is the smallest size of data represented in a CD?
Concept: undefined >> undefined
Differentiate CD and DVD.
Concept: undefined >> undefined
Differentiate CD and DVD.
Concept: undefined >> undefined
Differentiate CD and DVD.
Concept: undefined >> undefined
What are the functions of the Windows Operating system?
Concept: undefined >> undefined
If i = 5 before the assignment i := i - 1 after the assignment, the value of i is ______
Concept: undefined >> undefined
If 0 < i before the assignment i := i - 1 after the assignment, we can conclude that ______
Concept: undefined >> undefined
Initially, farmer, goat, grass, wolf = L, L, L, L, and the farmer crosses the river with a goat. Model the action with an assignment statement.
Concept: undefined >> undefined
What is abstraction?
Concept: undefined >> undefined
