Previous Year question Paper of UTU C++ of  B.Sc. (IT) 2014. Uttarakhand Technical University (UTU) Conducted Examination of the Professional Courses. Here we provide a Last year questions paper of B.Sc.-IT second semester subject is OBJECT ORIENTED PROGRAMMING USING ‘C++’ . Check out all question paper, exam pattern, Syllabus, result.

       Previous Year Question paper of  UTU  Object Oriented Programming USING ‘C++’  B.Sc.(IT)-2014

B.Sc. Information technology

UTU (SEM.-II) Examination-2014

OBJECT ORIENTED PROGRAMMING USING ‘C++’

 

Time: 3hrs.                                                                 Max.Marks:70

Note: Attempt any Five Questions. All question carry equal marks.

Q1   a). What is object oriented programming (OOP)? What are  

              the advantages of object oriented programming?

         b). What are friend functions? Explain there characteristics

               with a suitable example.

Q2   a). What are the three basic logic operators available in and

              C++? Write a small program in C++ that uses these  

              Operators discuss the output of the program.

       b). Write a program in C++ that prints a pattern similar to

             the following pattern using a for loop

                                       *****

                                       ****

                                       ***

                                       **

                                      *

Q3   a). Explain function decalration, function definition and function cell using a      

               suitable example. What is function prototype?

 

        b). What do you mean by function overloading? When do we use this                

              concept? Illustrate the concept by written a C++program.

 

Q4   a). Define operator overloading with syntax. List the operators that cannot

               be overloaded in C++

 

      b). What is inheritance? Explain different type of inheritance with suitable

            diagram and syntax.

 

Q5   a). Write a C++ program that has a class called POINT which stores      

               coordinates in (x,y) from. Define constructor and overload ‘-‘operator to  

               calculate distance between two points.

        b). What is static binding and dynamic binding of functions? How is dynamic    

                binding achieved in C++?

 

Q6   a). What is an exception? What are the three language constructs that C++      

                provides to implement exception handling? Explain.

        b). Define inline function. What are the guidelines that need to be followed

              for deciding if the function is to be used as member function or inline

              function?

 

Q7     a). What are streams in C++? What are the advantages of C++ I/O      

                STREAMS? class library over C standard I/O library?

 

       b). Write a C++ program to copy one file to another file after converting the

             lower case characters to upper case characters.

 

Q8     Write short notes on the following:

       i). Encapsulation.

      ii). Abstraction

    iii). Differentiate between Array and Structure.

    iv). Virtual base class and its application.