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
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
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).
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.
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.
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 ...
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 ...
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
... 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 ...
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.
Highlight the various distortion criterions used in lossy compression schemes. (04 Marks). Data Gompression. Note: Answer FIVE.full questions, selecting.
... Visit - www.pediawikiblog.com. www.pediawikiblog.com. Page 1 of 1. Main menu. Displaying Material Science and Metallurgy 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).
Write a note on address resolution protocol. ... Explain the border gateway protocol. PART _ B ... Displaying Computer Networks 2 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.
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.
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
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 ...
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 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.