What are default Arguments ? Illustrate their use with an example. Explain the responsibility driver model of object oriented s/w design

3.a) b)

Define polymorphism. How do you over load new and delete operators. Explain how formatted I/O is implemented in C++.

4.a)

Why do we need virtual functions? When do we make a virtual function pure? What are the implications of making a function pure virtual function? Explain with an example how multiple inheritance is implemented in C++. Define a class to represent a bank account. Include the following members. Data members: 1. Name of the depositor. 2. A/c No 3. Balance Amount. Member Functions: 1. To assign initial values 2. To deposit an amount 3. To withdraw an amount after checking the balance. 4. To display name and balance. Write a main program to test the program.

nt

uW

5.

or ld

2.a) b)

b)

OR

.in

Code No: 411851 IV-B.Tech. I-Semester Supplementary Examinations, May-2004 OBJECT ORINENTED PROGRAMMING AND C ++ (Metallurgy and Material Technology) Time: 3 Hours Max. Marks: 70 Answer any FIVE questions All questions carry equal marks --1.a) List out the differences between object oriented programming and procedure oriented programming . b) Describe the following concepts. (i) Classes, objects and methods (ii) Inheritance (iii) Abstraction.

Define exception handling .Explain the exception handling mechanism in C++ with an example.

7.

Write a C++ program that creates a data file containing list of Telephone numbers and names. Use a class object to store set of data.

Aj

6.

8.

Write short notes on: (a) Templates-Need and Advantages (b) Friend functions (c) Preprocessor directives. %%%%

411851 IV-B.Tech. I-Semester Supplementary ... Accounts

Write a C++ program that creates a data file containing list of Telephone numbers · and names. Use a class object to store set of data. 8. Write short notes on:.

82KB Sizes 0 Downloads 240 Views

Recommend Documents

OR410859 IV B.Tech I Semester Supplementary ... Accounts
The km value of an enzyme is known to be 0.01 mol/l. To measure the maximum rate of reaction rate catalyzed by the enzyme, the initial rate of reaction was ...

210853 II B.Tech. I-Semester Supplementary ... Accounts
7. a) How will you prepare Thiophene? What are its chief uses? b) What will happen when Quinoline and Isoquinoline are treated with · alkaline KMnO4 solution ...

NR411806 IV B.Tech I Semester Supplementary ... Accounts
(a) Boron and graphite composites · (b) Non-oxide ceramics · (c) Glass fibre reinforced composites · (d) Al-SIC particulate composites. [4x4=16]. *****. 1 of 1.

221854 II-B.Tech. II-Semester Supplementary ... Accounts
Code No: 221854. II-B.Tech. II-Semester Supplementary Examinations, April/May-2004 · FLUID MECHANICS · (Metallurgy and Material Technology).

420853 IV-B.Tech. II-Semester Supplementary ... Accounts
Make a survey of petroleum reserves in the world and compare them with the · reserves available in India. Discuss the various exploration methods for finding.

NR312002 III B.Tech I Semester Supplementary ... Accounts
1. (a) Using slip gauges, rollers and micrometers, explain the procedure for determi- · nation of : · i. Small end and big end diameters of a taper plug gauge.

210652 II-B.Tech. I Semester Supplementary ... Accounts
1.a) Draw a neat sketch of optical microscope and the trace of rays through the optical · system from the ... c) Explain the term resolving power of a microscope.

320554 III-B.Tech. II-Semester Supplementary ... Accounts
Code No: 320554. III-B.Tech. II-Semester Supplementary Examinations, April/May-2004 · LANGUAGE PROCESSORS · (Common to Computer Science and Engineering and Computer Science and · Information Technology) · Time: 3 Hours · Max. Marks: 70 · Answer any F

410258 IV-B.Tech I-Semester Supplementary ... Accounts
Discuss the Dynamic programming method to solve Unit commitment problem · in power systems. ... by 90°. Calculate the reactive power of the load. ^^^. OR.

NR311103 III B.Tech I Semester Supplementary ... Accounts
BASIC CLINICAL SCIENCES-II · (Bio-Medical Engineering) ... radiation hazards?. [8] · 7. (a) Explain how Nuclear Medicine is useful in the imaging of CNS?

320361 III-B.Tech II-Semester Supplementary ... Accounts
represented by three entity sets like AIRPORT,AIRPLANE and FLIGHT. Assume suitable attributes for each entity. 3.a) Differentiate between BCNF and 3NF.

NR410304 IV B.Tech I Semester Supplementary ... Accounts
(b) Explain with the help of a block diagram the water cooling system of diesel · power plant · 4. Explain cavitations, runway speed and the overall cost of a ...

220351 II B.Tech. II Semester Supplementary ... Accounts
7.a) What is non-destructive testing of materials? What are the aims of NDT? List out · various NDT methods. b) Explain in detail the X-ray radiography method.

NR211801 II B.Tech I Semester Supplementary ... Accounts
(a) What is congruent melting alloy? Does eutectic alloy come under the above class? (b) Explain miscibility gap. (c) Discuss the coordinates of a phase diagram ...

Supplementary Materials 1. Supplementary Tables
3.87. 27. -75. -48. Orbitofrontal Cortex. 11. R. 76. 3.72. 30. 48. -15. Decreased DMN (Controls > FTD). Dorsomedial PFC. 32. L. 312. 3.98. -27. 51. 21. Anterior Cingulate. 24. -. 107. 3.83. -3. 21. 33 .... correlation pattern, corresponding to a Type

Supplementary Material
Jan Heufer ∗. *TU Dortmund University, Department of Economics and Social Science, 44221 Dortmund,. Germany. .... 3 More Details on the Data Analysis.

HYDERABAD Accounts Officer / Junior Accounts Officer / Senior ...
Oct 17, 2012 - Accounts Officer / Junior Accounts Officer / Senior Accountant in A.P. Municipal. Accounts Sub Service Notification No (07/2012).

HYDERABAD Accounts Officer / Junior Accounts Officer / Senior ...
Oct 17, 2012 - ANDHRA PRADESH PUBLIC SERVICE COMMISSION : : HYDERABAD. Accounts Officer / Junior Accounts Officer / Senior Accountant in A.P. ...

Supplementary Appendix
product differentiation), Firm 2's net profit is negative (gross profit is zero, but the costs are positive). If σ = 0, the profit is zero. Moreover c2(0) = 0, which implies π2(0)−qc2(0) = π2(0) > 0. Therefore, Firm 2's net profit is increasing

Supplementary Information
recovery, not from preburial damage). ... Two of these were based on the data matrices in references 5-7 that were analyzed with ..... Fennoscandian High, LBM = London Brabant Massif, LH = Lusatian High, NGH = North German High,.

Supplementary Appendix
through the institution, the pivotal member signals support, the audience supports x, and ..... For the pivotal member, there are two cases to check. Recall that D ...

Supplementary Material
gaze fixation point is detected by an eye tracker. ∗indicates equal contribution. (a) Random ... 1) confirms quanti- tatively our intuition, that the location of the hands are in- deed important for learning about hand-object interactions. Based on

Supplementary Information
Tadarida aegyptiaca. 48.6 0.7 2 48.1 49.1 20.3 4.6 2 17.0 23.5 15.3 0.1 2 15.2 15.4. Nycteridae. Nycteris hispida. 39.2 1.4 2 38.2 40.2 7.5 0.7 2 7.0 8.0 19.2 0.1 2 ...

supplementary information
Signal-to-noise ratio of voxel responses and predictive power of receptive-field models .. 13 ..... In this analysis we treated each image used in the model estimation stage of the ... most similar to m (similarity was quantified by Pearson's r).