North Maharashtra University 2008 B.Sc Information Technology F.Y. OMT Methodology -university question paper
Monday, 04 February 2013 12:05Web
--------------------------------------------------------------------------
NORTH MAHARASHTRA UNIVERSITY, JALGAON
--------------------------------------------------------------------------
ques. Paper OF OMT Methodology 2008
PAPER-I
CLASS : F.Y.B.Sc.
--------------------------------------------------------------------------
1. What is control structure? discuss Switch Statement in detail
2. What is variable? discuss dynamic initialization of variables
3. explain inline function
4. define the output subsequent program
int main( )
{
for( inti=0;i<8;i++)
if ( i%2 = = 0) cout << i +1 << “\t”;
elseif (i%3 = = 0) cout << i*i << “\t”;
elseif (i%5 = = 0) cout << two * i – one <<”\t”
else cout << i << “\t”;
}
5. Write a program for display 1st positive 10 integers ( using if and for loop)
6. discuss friend function with suitable Example
7. explain pointers to members
8. What is static data members? discuss static member function
9. class xyz
{
int x;
int y;
public:
int z;
};
________
________
xyz p;
p.x=0;
p.z=10;
________
________
In above code obtain which statement will not execute and why?
10. accurate errors of subsequent program and include missing items
class examination
{
int x;
public:
};
void main( )
{
examination a1;
a1.read( );
a1.show( );
examination a2=10;
a2.show( );
}
11. What is Destructor? discuss in detail
12. discuss Copy constructor with suitable example
13. How parameterized constructor works? In detail
14. integer int1 = integer( 0 , 100);
integer int1( 0, 100);
what is the use of above tow statements? explain there difference
15. List rules for overloading operator
16. How we can overloaded operator? discuss with example.
17. explain with example overloading operator using friend function
18. elaborate abstract classes? provide example
19. Which various inheritance methods are there in c++? discuss any four
20. Write note on private member function
Earning: Approval pending. |