You are on page 1of 3
AKUbiharcom AKUbihar.com AKUbiharcom. AKUbihar.com (2) Code ; 051301 (o)- Mile inhertance seas B.Tech 3rd Semester Exam., 2017 on win to OBJECT-ORIENTED PROGRAMMING uperanes vi ene 2 Pca sti % time: 3 hours Aut Marks: 70 0 superclass x = & (8) more classes inheriting [rem more a Bhs z ‘superclasses zg B) The marks are indicated in the right-hand margin. : ft) None of the above : (8) There are INE quesion ints pape. 5 fica he om: cnet tren 3 a estos Senwcen ime oven. COED, 8 ene TE a ‘they are called (2) Question 62 iscampuor. 0 (9 deere 1. Choose the comeetenwwer ofthe follwing 9 eigious feny sce pei a fa) To prevent any method ram overt, fa tron inate nema lection i ‘ee declare the method as ‘accomplished with the operator af static . seo ; > > > > x const z x am > g (@ Snal g g fa) else g F {uj None of the above 2 z to eae : z @) Which of the following types of class 3 3 (we create a file by “Esteeam’, then the & . allows only one object of k 10 be ’ 5 default mode af the file is 2 fread? (Viral dass ioe: ot ce Aesinct cane @ team te) Sington dass fey oe Sapp {) Friend clas fo) i: biary anxyaa (tum Over enxyaa { Connued AKUbiharcom AKUbihar:com AKUbiharcom AKUbihar:com AKUbihar.com AKUbiharscom (3) (@) To pertorm Ge 1/0 operations, we must use ___ header fle ) (i fstream> At) Any of these 1M) Which Keyword is used to check exception in the block of code? Catch i) Tarow Aa) Try (0) Nene of the above (What wal happen when the exception is ot caught in the program? A Borer (@) Program will execute i) Blockot that code will not execute (tt) None of the abore 0) Which ofthe following gives the memory > a i Addran of integer vane a? Lee fa Ab; 6 ata BAK/22 ( Turn Over } AKUbinarcom AKUbinarcom woo tea wooaeqaay > a AKUbihar.com AKUbiharscom (4) 2, Distinguish between static binding and dynamic binding. Explain the use of virtual functions and the viable in dynamic binding 14 3 (@) Explain adaptor class or wrapper classes with example 7 () Explain dangling pointer with the help of an example. 7 4,/ Compare between overloading and overriding of functions with example 4 5. Define a class CARTESIAN to represent 3 point in cartesian coordinates (x and clase POLAR to represent it in polar coordinates (0. Use constructor conversion and operator conversion functions in class CARTESIAN to convert object of one type ita another 6 What ie friend function and shat are 68)

You might also like