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

Assignment_-2

CP ASSINGMENTS

Uploaded by

Yuvraj Chavhan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Assignment_-2

CP ASSINGMENTS

Uploaded by

Yuvraj Chavhan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Date:5-03-2024

Session:2023-24(EVEN)

Subject- SIMULATION & PROGRAMMING TECHNIQUES Semester-IV

Assignment:2

Sr. Unit No Question CO


No Covered Mapped

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

i) if – else ii) for loop

iii) while loop

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.

8 Unit:5 If A [1,2,3;4,5,6;7,8,9 ]=write a MATLAB program to find CO-5


i) transpose ii) inverse

iii) determinant iv) rank of matrix

Date of Submission: 28-03-2024

Name of Subject Teacher Prof. S. A. Kale


(Subject Teacher) (HoD EE)

You might also like