Assignment_-2
Assignment_-2
Session:2023-24(EVEN)
Assignment:2
1 Unit:3 What is the difference between object oriented programming and CO-3
procedure oriented programming?
2 Unit:3 Write short notes on : i) Data Abstraction. ii) Poly morphism. iii) CO-3
Data Hiding and Encapsulation. iv) Inheritance and Multiple
Inheritance.iv) Objects & classes
3 Unit:4 Explain in brief about various files that can be created in MATLAB CO-4
and importance of these files.
4 Unit:4 Write a MATLAB program to find the largest of the given three CO-4
numbers (10, 20, 30) using if – else if – else structure.
5 Unit:4 Write syntax for following in MATLAB along with example. CO-4
6 Unit:5 Write a MATLAB program to plot the curve given by equation y CO-5
sin(x) = , as x varies from 0 to 2 . Label the axes and provide a
suitable title for plot. Show the Schematic for MATLAB output.
7 Unit:5 i) Delete first row of matrix P. ii) Reshape matrix as a (6 *2) matrix. CO-5
iii) Replace the element P(3,2) by 10. iv) Delete the second column of
matrix P.