For More Question Papers Visit - www.pediawikiblog.com 108C665

USN

Sixth Semester B.E. Degree

.2015/,1an"2016

Programm Progamming in C++ Note: Answer any FIVE full questions, selecting stlesst TWO questions from each part" PAR.T

;r) -*Li troo .= c\

9il

Distinguish between static memory allocation and dynamic memory List the salient features of object oriented programming. Explain the following : #elif, # if def.

3 a"

Write the O/P of followings i) # define square(x) x * x void main( ) {

l

-o >r

ii) void main( ) t{

H=

,()

(08 Manks)

Write a C++ program to read integer numbers from keyboard until user enters zero and sum the even nur:rbers only and display the result. (05 Marks)

int i: 64lsquare (4) cout<
OO

:

:

int num, a: 15; num:----a--a

cout<(num{
.p

-=

{s6 Marksi (04 Marks)

What are variables? Describe with an example. {s6 Marks} Explain reference types and distinguish between reference tlpes and pointer types.

rj

iii) void rnain( I

)

I

int i;

w w

o= to atE 6c

(04 Marks) (06 N{arks)

2 a. b. c.

o:]

e-o.r o.a

allocation.

ib l

a.)

*.)

b. c. d.

ik

d

What are conlments? Explain different tlpes of comments in C++ with an exarnple"

ia w

a)

a.

ed

E

*A

og .co

(J

m

l\{ax. N,{arks:100

Tinae: 3 hrs.

for(i:0;I<5; i++)

oD-

troo '-a

b.

tt int i: 10; print("o%d", i); i++; ittt (06 Marks) Write a program to find the minimum of three numbers using conditional operator.

c.

Describe : break, continue and goto statements.

(S9

Describe call by value and call by reference with an example. Describe inline function with an example. Write a program to calculate sum of first n integers using recursion,.

(08 Marks)

6= !lo

U:

w

U< *C\ d)

z (o

(05 Marks)

lltarks)

o

0.

4 a. b. c.

I of 2

For More Question Papers Visit - www.pediawikiblog.com

{05 Marks) (&6 Marks)

For More Question Papers Visit - www.pediawikiblog.com 10E,C665

PART _ B

5a.

Describe exception handling in C++ with an example. Describe : Rethrow ii) Catch all handler.

b.

'

Write

a C++ program using class and explain

m

i)

(10 Marks)

public, private, object, class mernbers.

co

6a.

(10 Marks)

(10 Marks) (10 Marks)

a. b.

Discuss the principle of operator overioading with an example. Write a program to overload both prefix and postfix increment operator.

a. b.

Describe hase class access control with an example. With a program illustrate inheritance of multiple base classes.

ib

lo

g.

b.

Explain ftier:id function and friend class, with exarnple.

w

w w

.p

ed

ia

w

ik

* * *i'.,rB.*

2 of2

For More Question Papers Visit - www.pediawikiblog.com

(10 Marks) (10 Marks) (08 Marks) (12 Marks)

Programming in C++ Jan 2016 (2010 Scheme).pdf

i) # define square(x) x * x. void main( ) ... Describe hase class access control with an example. b. ... Displaying Programming in C++ Jan 2016 (2010 Scheme).pdf.

813KB Sizes 1 Downloads 329 Views

Recommend Documents

Programming in C++ Jan 2016 (2010 Scheme).pdf
Write a C++ program using class and explain public, private, object, class. Explain ftier:id function and friend class, with exarnple. (10 Marks). (10 Marks).

C# Programming & .Net Jan 2016 (2010 Scheme).pdf
www.pediawikiblog.com. Page 1. C# Programming & .Net Jan 2016 (2010 Scheme).pdf. C# Programming & .Net Jan 2016 (2010 Scheme).pdf. Open. Extract.

Programming in C & Data Structures Jan 2016 - 2015 Scheme.pdf ...
Programming in G ad Data ... Write a C program which takes as input p, t, r. ... Displaying Programming in C & Data Structures Jan 2016 - 2015 Scheme.pdf.

Programming in C++ July 2016 (2010 Scheme).pdf
www.pediawikiblog.com. Page 1 of 1. Programming in C++ July 2016 (2010 Scheme).pdf. Programming in C++ July 2016 (2010 Scheme).pdf. Open. Extract.

Programming the Web Jan 2016 (2010 Scheme).pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu.

Unix System Programming Jan 2016 (2010 Scheme).pdf ...
What is a race condition? Write a program for generating race condition. (08 Marks). -li f b. Explain in detail the fuiily of exec functions. (12 Marks). -z- ts 'Ee. € E 6 a. What are sigh4l3fl Write a program to setup signal handler for the SIGINT

Mechatronics & Microprocessor Jan 2016 (2010 Scheme).pdf ...
Expiain static and dynamic characteristics of sensors. Explain workirlg principle of Hall effect sensor. Deftne following terms: i) Hysteresis error. ii) Repeatability.

C Programming 2016 Accounts
Misunderstanding the development environment and how it's set up. .... Msys2 is an application that emulates the Linux environment, which allows us to run and ...

Concrete Technology Jan 2016 (2010 Scheme).pdf
ii) Cube strength and cylindrical strength of concrete. ... i) Sulphate attack and its control ... Displaying Concrete Technology Jan 2016 (2010 Scheme).pdf.

System Software Jan 2016 (2010 Scheme).pdf
tFa"* o3 {1,&' - (O8Marks). ir"i b. Explain shift reduce parsing with an example. (08 Marks). € c. Define the following terms: i) yytext, ii) yylval, iii) yylex, iv) yyparse.

Logic Design Jan 2016 (2010 Scheme).pdf
E is to run whenever sensors Sz or Sr but not both are on and S3,isl'oif. ... Simplify f(a,b,c,d)=lrn(0,4,s,6,13,14,15)+\d1z,l,g,v1 using MEV technique using SG E t ...

Mechanical Vibrations Jan 2016 (2010 Scheme).pdf
iv) Analyzer used in experimental modal analysis. (08 Marks). Explain briefly dlmamic testing of machines. (04 Marks). Describe the three types of maintenance ...

Operations Research Jan 2016 (2010 Scheme).pdf
Following data fer. a. Draw the ... by simplex / Big-M method? If yes, ... You are given the following data regarding the processing times of some jobs on three.

Operating Systems Jan 2016 (2010 Scheme).pdf
Starting from the current head position, what is theWll distance traveled (in cy.lrndgf$).rb1,,:;i_r.; ... Displaying Operating Systems Jan 2016 (2010 Scheme).pdf.

Transportation Engineering 2 Jan 2016 (2010 Scheme).pdf ...
suitable site for airport in view of criteria. (10 Marks). optimum airport capacity. ... by adopting holding apron near exit taxiway draw a neat sketch and explain.

Transportation Engineering 2 Jan 2016 (2010 Scheme).pdf ...
Page 1 of 1 .*ri. USN 10cv63. Max. Marks:1. (12 Marks). (08 Marks). theoretical. (12 Marks). Sixth Semester B.E. Degree Exa {Y:".ror S/Jan. 2ot6. Transportation ...

Field Theory Jan 2016 (2010 Scheme).pdf
For More Question Papers Visit - www.pediawikiblog.com. For More Question Papers Visit - www.pediawikiblog.com. www.pediawikiblog.com. Page 1 of 2 ...

Real Time Systems Jan 2016 (2010 Scheme).pdf
PAR.T _ A. a. Define RTS and compare hard and soft real time systems. ... Explain the stmctr.re of a real - time operating system. c. ... *{

Power Electronics Jan 2016 (2010 Scheme).pdf
Z b. Explain the working of single phase semiconvert with neai circuit and waveforms. Derive ... Effiin the working of transistorized current source inverter.

Wireless Communication Jan 2016 (2010 Scheme).pdf
Explain Network Nodes in CDMA 2000 wireless system, with neat diagram. (12 Marks). 7. 'r.l'8 Draw and describe Frame strucfure for general and management ...

Hydraulics & Pneumatics Jan 2016 (2010 Scheme).pdf
cylinder using a 412 solonoid acfuated spring retum cylinder. ^&-, (10 Marks). b. Explain the cylinder pneumatic circuit and its motion control diagraqffi (10 Marks).

Kinematics of Machines Jan 2016 (2010 Scheme).pdf
Explain with neat sketch, the classification of gear trains. (06 Marks). b. The Fig.Q7(b) shows an epicyclic gear train where the arm 'A', the driver and annular ...

Operating Systems Jan 2016 (2010 Scheme).pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Operating ...