Class Test 1 - 2008-2009

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Class Test 1 - 2008-2009 as PDF for free.

More details

  • Words: 258
  • Pages: 1
K. K. WAGH POLYTECHNIC, NASHIK – 3 Department of Information Technology & Computer Technology MSBTE Class Test-I, August – 2008 Semester Subject Duration

:- Third Master : ‘C’ :- Object Oriented Programming (OOP) :- 1 Hour

=

=

=

=

=

=

=

=

Course :- IF / CM Subject Code :- 9036 Max. Marks :- 20

=

=

=

=

=

Instructions to candidate:1) All questions are compulsory. 2) Illustrate your answers with neat sketches/flowcharts wherever necessary. 3) Use of Non-programmable Electronics Calculator is permissible. 4) Figures to the right indicate full marks of respective questions. 5) Assume suitable additional data, if necessary.

Q.1 Attempt any Two.

(2 × 2)

04

a) List any four OOP languages and their main features. b) Define a class with appropriate syntax. c) What is destructor? How destructor is defined in the simple class?

Q.2 Attempt any Two.

(2 × 4)

08

a) Explain any four features of Object Oriented Programming. b) Compare between structure and class. c) Write a program to declare a class ‘Rectangle’ having data members as length and breadth. Accept this data for one object and display area and perimeter of rectangle by defining the functions.

Q.3 Attempt any Two.

(2 × 4)

08

a) Illustrate the use of parameterized constructor with suitable example. b) Write a program for following hierarchy inheritance in the given figure-1 below. Assume proper member functions to input and display the data. Class:Staff Code

Class: Teacher Subject

Class : Officer Grade Figure-1

c) Explain concept of ‘virtual base class’ with appropriate example.

Related Documents

Class Test 1
June 2020 7
Class Test 1 - 2007-2008
November 2019 7
Class Test 1 (syllabus 5100)
November 2019 15
Fp 20082009
November 2019 69
Local 20082009
May 2020 46