Future Vision BIE Future Vision BIE


ONE STOP FOR ALL STUDY MATERIALS & LAB PROGRAMS


E MENU Whatsapp Share Join Telegram, to get Instant Updates
×

NOTE!

Click on MENU to Browse between Subjects...

Advertisement

18CS45 - OBJECT ORIENTED CONCEPTS

Answer Script for Module 1

Solved Previous Year Question Paper

CBCS SCHEME


OBJECT ORIENTED CONCEPTS

(Effective from the academic year 2018 -2019)

SEMESTER - IV

Course Code 18CS45 CIE Marks 40

Number of Contact Hours/Week 3:2:0

SEE Marks 60

Total Number of Contact Hours 50

Exam Hours 03


Advertisement

These Questions are being framed for helping the students in the "FINAL Exams" Only (Remember for Internals the Question Paper is set by your respective teachers). Questions may be repeated, just to show students how VTU can frame Questions.

- ADMIN

18CS45 - OBJECT ORIENTED CONCEPTS

Answer Script for Module 1

Solved Previous Year Question Paper

CBCS SCHEME



× CLICK ON THE QUESTIONS TO VIEW ANSWER

11.1 Friend Definitation:


Refer 1th Question & Answer or Click Here

11.2 Program:

Loading Image



Advertisement

Features of OOP's ( Object Oriented Programming )

  1. Class

    : Class is an encapsulation of data and coding. Classes are an expanded version of structures. Structure can contain multiple variables. Classes can contain multiple variables, even more, classes can also contain functions as class member. Variables available in class are called Data Members. Functions available in class are called Member Functions.
  2. Object

    : Class is a user-defined data type and object is a variable of class type. Object is used to access class members.
  3. Inheritance

    : Inheritance means access the properties and features of one class into another class. The class who is going to provide its features to another class will be called base class and the class who is using the properties and features of another class will be called derived class.
  4. Polymorphism

    : Polymorphism means more than one function with same name, with different working. It can be static or dynamic. In static polymorphism memory will be allocated at compile time. In dynamic polymorphism memory will be allocated at runtime. Both function overloading and operator overloading are an examples of static polymorphism. Virtual function is an example of dynamic polymorphism.
  5. Data Abstraction

    : The basic idea of data abstraction is to visible only the necessary information, unnecessary information will be hidden from the outside world. This can be done by making class members as private members of class. Private members can be accessed only within the same class where they are declared.
  6. Encapsulation

    : Encapsulation is a process of wrapping data members and member functions in a single unit called class. Using the method of encapsulation, the programmer cannot directly access the data. Data is only accessible through the object of the class.

Refer 5th Question & Answer or Click Here



Advertisement

Refer 8th Question & Answer or Click Here


15.1 Inline Function :

Refer 9th Question & Answer or Click Here

15.2 Program

Loading Image


lIKE THE CONTENT? FOLLOW US ON INSTAGRAM: @futurevisionbie
Get Notified on Instagram Also

For immediate Notification Join the Telegram Channel



× NOTE: Each Page Provides only 5 Questions & Answer
Below Page NAVIGATION Links are Provided...
All the Questions on Question Bank Is SOLVED

Advertisement

× SUGGESTION: SHARE WITH ALL THE STUDENTS AND FRIENDS -ADMIN