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

OOPs using C++ Assignment 1

This document outlines an assignment for the BCA program at the School of Engineering and Technology, focusing on Object Oriented Programming using C++. It includes a series of questions divided into two sections, covering topics such as features of OOP, tokens in C++, constants, operators, encapsulation, and the differences between procedural and object-oriented languages. Students are required to provide detailed answers and program examples within specified word limits.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

OOPs using C++ Assignment 1

This document outlines an assignment for the BCA program at the School of Engineering and Technology, focusing on Object Oriented Programming using C++. It includes a series of questions divided into two sections, covering topics such as features of OOP, tokens in C++, constants, operators, encapsulation, and the differences between procedural and object-oriented languages. Students are required to provide detailed answers and program examples within specified word limits.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 1

School Name: SCHOOL OF ENGINEERING AND TECHNOLOGY


Program BCA Semester 2nd
Subject Code 24BCA012C01 Subject Name Object Oriented
Programming Using
C++
Section A
Attempt all question. (Answer Limit – 250 to 300 words)
Q. No. Question

1. List various features of object oriented programming language.

2. What are Tokens in C++? Describe in brief different types of tokens.

3. Compare and Contrast different types of constants and literals.

4. WAP to Implement the logical and relational operators.


5. Discuss the four pillars of Object-Oriented Programming with relevant examples.

6. Describe different applications of C++ in real-world scenarios.

7. Differentiate between Call by Value and Call by Reference in C++.

8. Write a C++ program to demonstrate the use of Pointers with Arrays. Explain the
working.
9. Explain the use of cin and cout in C++ with an example.

10. What are the differences between a normal function and an inline function in C++?

11. Write a short note on the importance of Encapsulation and Abstraction in OOP.

Section B
Attempt all questions. (Answer Limit – 500 to 600 words)
Q. No. Question
12. Differentiate between Procedural Languages & Object Oriented Languages with the
support of program examples.

13. Define Classes and Objects. How you can create and access a class through objects?
Support your answer with program example. Explain the different access specifier
14. that are used
Describe in a class
Function with suitable
Prototyping, example.
Definition, and Function Call in C++ .Explain different
ways of parameter passing.
15. How does OOP help in solving real-world problems? Explain with a suitable
example.

You might also like