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

USN

Sixth Semester B.E. Degree Examination, June/July 2016 Programming in G++ Max. Marks:10Or

m

Time:3 hrs.

o

r

PART _ A

c.

(08 Marks) Explain with example preprocessor directive available in C++. Explain dynamic memory allocation. What is the difference between static and dynamic (07 Marks) memory allocation. (05 Marks) Explain object-oriented design and object based design. Give example.

c.

(06 Marks) What is a literal constant? Explain with example. What are the difference between a reference and a pointer? Give advantages of pointer. (08 Marks) (06 Marks) Distinguish between L-value and R-value. Give example for each.

la. b.

d

:()()

g.

o o

co

Note: Answer FIVE full questions, selecting ut least TWO questions from each parl

bip ogl l:o u=

Bq 6=

bu o-6 boi 6.i -o

3 a. b. c. 4 a. b. c.

ib

.=.-.1

ii) The Bitwise operator.(06 Marks) Explain the switch statement with syntax. Write a program in C++ to find the roots of Discuss the following with example: i) Unary operators;

quadratic equation ax2 + bx + c: 0 use switch. With flowchart, explain i) For ii) While.

ik

ll

(08 Marks) (04 Marks) What is an inline function? Explain with example. Write a program to find the maximum number in an array use max ( ) function to irnplement.

"i5 9E 5o aE

b.

mechanism.

(10 Marks) exception handling Explain the different throwing mechanism. Write a program to realize the expression and

handle the exception R =

6 a,

>' (ts botr CIJ .nc

E= *o tr>

and

b.

(10 Marks)

y-x

With simple C** program, using class, explain the term, object, private, public, constructor

w w

!(,

ed

()...

(08 N{arks)

5a.Whatisanexceptionhandling,*ffi,fferenttypesofexceptionandexplainthe

.p

o,x

(04 Marks)

Explain cail by value and call by reference parameter method with an example of each.

2d 6+ -o6

5o

(10 Marks)

w

or, d€

ia

-.o

lo

!

89 bo-

destructor.

(10 Marks)

Write a C++ program to define a class 'stack' including member function push ( )

pop ( ) and appropriate data members to perform the stack operation.

=o o-

and

(10 Marks)

Ets

o<

w

-i .i

7a.

overloading the operator

()

o

Z o

+

What is operator overloading? Write a C++ program to add two complex members by

b.

8a. b.

*.

(10 Marks)

What are new and delete operator? Explain overloaded operator new and delete with

example.

(10 Marks)

What is inheritance? Discuss the different types of inheritance. (10 Marks) Explain what is the relationship between class, base class, derived class and protected members, with the help of examples. (10 Marks)

,r****

For More Question Papers Visit - www.pediawikiblog.com

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.

1MB Sizes 1 Downloads 230 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).

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.

Programming the Web July 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.

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.

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 ...

Embedded Computing Systems July 2016 (2010 Scheme).pdf ...
Embedded Computing Systems July 2016 (2010 Scheme).pdf. Embedded Computing Systems July 2016 (2010 Scheme).pdf. Open. Extract. Open with. Sign In.

Computer Graphic & Visualization July 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. Computer ...

Advanced Concrete Technology July 2016 (2010 Scheme).pdf ...
Advanced Concrete Technology July 2016 (2010 Scheme).pdf. Advanced Concrete Technology July 2016 (2010 Scheme).pdf. Open. Extract. Open with. Sign In.

Design of RCC Structural Elements July 2016 (2010 Scheme).pdf ...
Use M20 grade concrete and Fe4i5 steel. (14 Marks). A Hall measuring 14m x 6m, beams are spaced at 3.5m c/c. The thickness of wall being. 300mm. The thickness of slab is 150mm. Live load of slab is 5kN/m2. The web (rib) widt[. of beam is taken as 300

Digital Communication July 2016 (2010 Scheme).pdf
... 45 Hz. Indicate if and how the signal can. be recovered. Fig.Q i (c) (86 Marks). Derive the expression for signal to quantization noise ratio (SNR) and show that ...

GSM July 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.

Data Compression July 2016 (2010 Scheme).pdf
Highlight the various distortion criterions used in lossy compression schemes. (04 Marks). Data Gompression. Note: Answer FIVE.full questions, selecting.

Material Science and Metallurgy July 2016 (2010 Scheme).pdf ...
... Visit - www.pediawikiblog.com. www.pediawikiblog.com. Page 1 of 1. Main menu. Displaying Material Science and Metallurgy July 2016 (2010 Scheme).pdf.

Hydraulic Structures & Irrigation Design Drawing July 2016 (2010 ...
Hydraulic Structures & Irrigation Design Drawing July 2016 (2010 Scheme).pdf. Hydraulic Structures & Irrigation Design Drawing July 2016 (2010 Scheme).pdf.

Network Management Systems July 2016 (2010 Scheme).pdf ...
Network Management Systems July 2016 (2010 Scheme).pdf. Network Management Systems July 2016 (2010 Scheme).pdf. Open. Extract. Open with. Sign In.

July 2010.pdf
Page 1 of 56. Serious & complex Crown Court cases. • Court of Appeal cases. • Confiscation & Proceeds of Cr. •. •. •. •. •. • ime Act Proceedings. Members of the VHCC Panel. SERIOUS AND. COMPLEX CRIME. PRISON LAW. TEL : 08458 73 73 33

Software Engineering July 2016 (2010 Scheme).pdf
Explain data flow model with an example of insuiin pump. (0E Marks) ... Explain clean room software development process with neat diagrarn. (08 Marks).

Computer Networks 2 July 2016 (2010 Scheme).pdf
Write a note on address resolution protocol. ... Explain the border gateway protocol. PART _ B ... Displaying Computer Networks 2 July 2016 (2010 Scheme).pdf.

Computer Networks 1 July 2016 (2010 Scheme).pdf
(06 Marks). c. Give the details of minimum and maximum length of Ethernet frame. With an example,. explain the format of Ethernet address. (06 Marks). la. b. c.

Computer Graphic & Visualization July 2016 (2010 Scheme).
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.

DSP Algorithms & Architecture July 2016 (2010 Scheme).pdf ...
2 af2 For More Question Papers Visit - www.pediawikiblog.com. For More Question Papers Visit - www.pediawikiblog.com. www.pediawikiblog.com. Page 2 of 2. DSP Algorithms & Architecture July 2016 (2010 Scheme).pdf. DSP Algorithms & Architecture July 20

Operating Systems July 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 ...

Microprocessors July 2016 (2010 Scheme).pdf
www.pediawikiblog.com. Page 2 of 2. Microprocessors July 2016 (2010 Scheme).pdf. Microprocessors July 2016 (2010 Scheme).pdf. Open. Extract. Open with.

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.