You are on page 1of 2
Save trees use e-Question Paper Go green DOWNLOAD THIS FREE AT www.viuresource.com ae use I 1SECS6: Fifth Semester B.E. Degree Examination, Dee.2018/Jan.2019 Object Oriented Programming using C++ “Time: 3 brs Max. Marks: 8 Note: Answer ny FIVE full questions choosing @ ‘ONE full question from ench made. Module-t 1 What C++? List he applications of == Marks ‘Describe the structure of a C++ program wth an example (08 Marks} «© Whendo we use eascading op output operates? Give (04 Marks) OR 2a, Writea C++ program ta find the sumo digits ofa gn eg If input number = 16738, Dupuis 2S ie. T= 6+ 72328 ‘Explain the diferent types of expressions in C (0 Marks) functions. (04 Macks) Shoight” and four member funetions 4) t0 Se values to base" and “howgh, 0 got se (ie V2 + basoeheight) respectively. Write setdatal), getdatt),dsplaydatay the user input, 1 dsplay and fr the main function which c GH uses the membctS OF the class. 08 Marks) Discus the different _ (os vians) oR 4 When do we use dg art Slate the rues that need to be followed while using fault argumengs (04 Macks) b Draw a neat di im the process of memory allocation to obs in C— p define wo classes nam’ husband and wile that hod private ely. Calculate and display the tolal income ofthe family using 10s Marks) (08 Marks) tor overloading? Give syntax and example. List the operators that cannat he (We Marks ine significance of trend functions to overload operators, (om Marks oR iscuss the importance of dynamic constructors an destrictor ina C=~ class, 408 Marks) rite a C= program io add two eomplex numbers by overloading the + operator, AKO overload << and >> operators for reading and displaying the comples numbers, (8 Marke) BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS A Viuresource Go Green initiative Save trees use e-Question Paper Go green DOWNLOAD THIS FREE AT www.viuresource.com 1SECS62 ‘What is inheritance? List is advantages. Explain the visibility inheritance mods. Give an example, Compare multiple inheritonees with multilevel inheritance on 8a, What isabstaet class? Give an example, 1b, Demonstrate the working of pointers ss abject with a relevant example, Ste he dillereces hetvsen ira and pire val functions (os tara 9 a. What isa data ream? i hh Fplain the following unt mn (westurks) «6 Compare and comtast wid} and sees) a) oR 10 a. How file opening and closing is done? What are the’ wired for reading and \wrting data i a file, Explain with an example, (os Mars) he Create a Cr+ program 10 read 3 teat ile and tind of rs, words and fines in tik O (os Marks) BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS A Viuresource Go Green initiative

You might also like