0% found this document useful (0 votes)
250 views

C++ Test

This document outlines an exam for an Electrical-1 class testing knowledge of C++ programming concepts. The exam contains 6 questions asking about the differences between procedural and object-oriented programming languages, how to declare and define classes with examples, inline functions with examples, friend functions with examples, constructors including their features and examples, and inheritance including various types with examples.

Uploaded by

umodi_13
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
250 views

C++ Test

This document outlines an exam for an Electrical-1 class testing knowledge of C++ programming concepts. The exam contains 6 questions asking about the differences between procedural and object-oriented programming languages, how to declare and define classes with examples, inline functions with examples, friend functions with examples, constructors including their features and examples, and inheritance including various types with examples.

Uploaded by

umodi_13
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

CLASS: ELECTRICAL-1 TEST: CPU(C++)

DATE:09/12/2010 MARKS: 30

1. What is the difference between Procedural Programming Language(POP) & Object Oriented Programming Language(OOP)? 2. What is Class? How to declare and define Class? Give Example. 3. What is inline function? Explain with Example. 4. What is Friend function? Explain with Example. 5. What is constructor? What are the features of constructor? Explain constructor with example. 6. What is inheritance? Explain various types of inheritance with example.

CLASS: ELECTRICAL-1 TEST: CPU(C++)

DATE:09/12/2010 MARKS: 30

1. What is the difference between Procedural Programming Language(POP) & Object Oriented Programming Language(OOP)? 2. What is Class? How to declare and define Class? Give Example. 3. What is inline function? Explain with Example. 4. What is Friend function? Explain with Example. 5. What is constructor? What are the features of constructor? Explain constructor with example. 6. What is inheritance? Explain various types of inheritance with example.

You might also like