How To Exam?

a knowledge trading engine...


North Maharashtra University 2008 B.Sc Information Technology F.Y. Programming Language - university paper

Monday, 04 February 2013 12:00Web


--------------------------------------------------------------------------

NORTH MAHARASHTRA UNIVERSITY, JALGAON
--------------------------------------------------------------------------
ques. Paper OF OMT Methodology 2008

PAPER-I

CLASS : F.Y.B.Sc.
--------------------------------------------------------------------------


1. What is virtual base class? When do we may a class virtual?

2. discuss virtual function. Why do we need virtual function?

3. discuss in brief this pointer in c++ with suitable example

4. discuss pointers to object with suitable example

5. How do the subsequent 2 statements differ in operation?
cin>>c;
cin.get(c);

6. Both cin and getline ( ) functions can be used for studying a string. Comment


7. explain the syntax of setf( ) with example


8. What will be the cause of the subsequent program segment?
for( i=0.25;i<=1.0;i=i+0.25)
{
cout.pricesion ( five );
cout.width (7);
cout << i;
cout.width (10);
cout<< i*r<< “\n”;
}
cout<<<

9.Explain function template with example


10.What is an exception? How is an exception handle in c++?

11.Why the templates are used? discuss class templates


12. elaborate the advantages of using exception handling mechanism in a
program?

1. Write a program to print
1
1 2
1 two 3
1 two three 4
1 two three four 5



2. Write a program to that will ask for a temperature in Fahrenheit and display it in
Celcius.

3. Write a program to input an integer value from keyboard and display on screen
” HELLO”.

4. Write a program to learn a value of a, b and c & display the value of x where
x=a/b-c.

5. Write a program to display the sum of the digits in a provided number.

6. Write a program to add 2 matrices using for loop.

7. Write a program to compute the area of a circle.

8. Write a program for sum of even numbers in a provided range.

9. Write a program to check whether the year entered by the user is Leap year or not.

10. Write a program to print
1
2 2
3 three 3
4 four 4 4
5 five 5 five 5



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER North Maharashtra University 2008 B.Sc Information Technology F.Y. Programming Language - university paper