Loyola College M.Sc. Statistics April 2007 C++ For Statistical Applications Question Paper PDF Download

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

AC 38

M.Sc. DEGREE EXAMINATION – STATISTICS

SECOND SEMESTER – APRIL 2007

ST 2954 – C++ FOR STATISTICAL APPLICATIONS

 

 

 

Date & Time: 24/04/2007 / 1:00 – 4:00      Dept. No.                                       Max. : 100 Marks

 

 

 

Section A

Answer ALL the  questions                                                                                  (10×2=20)

 

  1. What is Non-Inline member function? Give an example
  2. Define type casting.
  3. Discuss the role of delete operator in memory management.

4  What is an exception? Write down the keywords used to handle exceptions in C++.

  1. What is Early-binding ?
  2. Explain the significance of new keyword.
  3. Mention the use of setw and endl manipulators.
  4. What is meant by data abstraction?
  5. What is the purpose of scope resolution operator?

Section B

Answer any FIVE questions                                                                                     (5X8=40)

  1. Explain the chief characteristics of Object Oriented Programming.

12.Discuss the advantage of overriding in Inheritance with an example.

13.. Explain constructor overloading  with an example.

  1. Write a program which overloads the binary operator plus(+) to add any two matrices.
  2. When do you make a class virtual? Give a suitable example.
  3. What is a friend function? What are the merits and demerits of using friend functions?
  4. Write a C++ program to compute the Co-efficient of Variation.
  5. What is meant by Containership? Explain with examples.

 

Section C

Answer any TWO questions                                                                                    (2×20=40)

 

19.[a] Define a class to represent a bank a/c, which include the data members: name, acc_number,

       acc_type and balance. Also, define the member  functions: i] to assign initial values  ii]

Deposit an amount  iii] Withdraw an amount after checking the minimum balance of Rs.1000/-

iv] Display  the name and balance. Write C++ program to test these member functions.

20    Write a program in C++ to perform analysis of variance in Randomized Block Design.

21.[a] Illustrate  with an example ‘passing and returning objects as arguments’ in functions .

[b] Explain the advantages of Polymorphism  by giving an example

  1. Explain different types of inheritance(simple, multiple and multi-level) by giving appropriate

illustrations of your own  choice.

 

Go To Main Page

Latest Govt Job & Exam Updates:

View Full List ...

© Copyright Entrance India - Engineering and Medical Entrance Exams in India | Website Maintained by Firewall Firm - IT Monteur