[go: up one dir, main page]

0% found this document useful (0 votes)
18 views1 page

OOP-Assignment 1

This document is an assignment for the Object Oriented Programming course at A.D. Patel Institute of Technology, detailing various programming concepts and tasks. It includes questions on pointers, dynamic memory allocation, C++ program structure, differences between OOP and POP, principles and advantages of OOP, function overloading, and access modifiers. The assignment is due on 28-02-2025 and is supervised by Prof. Sheetal Macwan.

Uploaded by

senona6037
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

OOP-Assignment 1

This document is an assignment for the Object Oriented Programming course at A.D. Patel Institute of Technology, detailing various programming concepts and tasks. It includes questions on pointers, dynamic memory allocation, C++ program structure, differences between OOP and POP, principles and advantages of OOP, function overloading, and access modifiers. The assignment is due on 28-02-2025 and is supervised by Prof. Sheetal Macwan.

Uploaded by

senona6037
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

A.D.

PATEL INSTITUTE OF TECHNOLOGY


Object Oriented Programming-202000212 Semester: II
B. Tech. - CSD
Assignment 1
06-02-2025

Q. 1 Define Pointer in C? Explain Array of pointer with example.


Q.2 Define Dynamic Memory Allocation using Malloc() and Calloc () function
with example
Q.3 Define C++ Program Structure in detail.
Q.4 Write difference between OOP and POP.
Q.5 List Principal of OOP and explain?
Q.6 List advantage and application of OOP.
Q.7 Define Inline and Friend function with example.
Q.8 Define Function Overloading with example.
Q.9 Define call by value and call by reference with example.
Q.10 Write a program using class Phone having Data member Cost, Slot display
the phone data in main function using Object.
Q.11 Write a Program using class Cricketer having Data member: name, no of
match, no runs, no wickets, display Cricketer data in main function using object.
Q.12 Write a program using function calculate different area square ,circle
, rectangle ( hint: Function overloading).
Q.13 Define following access modifier private and public.
Q.14 Define Type casting with example.

Submission Date: 28-02-2025

Prof Sheetal Macwan

(Subject Faculty)

You might also like