Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Cs-30 Assignment 3

The document is an assignment questions bank for a BCA course at Kamani Science & Prataprai Arts College, focusing on programming in Python. It includes questions on dynamic programming, plotting functions in Python, and specific programming tasks related to graph plotting and data visualization. Additionally, there are fill-in-the-blank questions related to key concepts in Python and dynamic programming.

Uploaded by

shokatbavaliya11
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)
14 views1 page

Cs-30 Assignment 3

The document is an assignment questions bank for a BCA course at Kamani Science & Prataprai Arts College, focusing on programming in Python. It includes questions on dynamic programming, plotting functions in Python, and specific programming tasks related to graph plotting and data visualization. Additionally, there are fill-in-the-blank questions related to key concepts in Python and dynamic programming.

Uploaded by

shokatbavaliya11
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

KAMANI SCIENCE & PRATAPRAI ARTS COLLEGE, AMRELI

(BCA SEM - 5)
[Major – 12] CS –30: Programming in Python
UNIT - 3 (Assignment Questions Bank)
--------------------------------------------------------------------------------------------------------------------
Q - 1 How to solve 0/1 knapsack problem using dynamic programming? Explain in
detail.
Q - 2 What is Dynamic Programming? Explain divide and conquer in detail with
example. (Merge Sort)
Q - 3 What is Memoization? Explain with Fibonacci Example.
Q - 4 Explain Plotting Mortgages in python.(Ex Mortgage Loan)
Q - 5 Explain pylab.show() ,pylab. legend(),pylab. title(),pylab. xlim(), pylab.ylim(),
pylab.xlabel(), pylab.ylabel(),pylab.bar(),pylab.pie(),pylab.grid() functions in python.
OR
Q – 5 Explain various methods used to plot graph in Python.
Q - 6 What is Plotting? Explain plot() function in PyLab with all parameters with
example.
Q - 7 Write a program to draw simple plot and scatter plot with legend with at
least five point.
Q - 8 Explain pylab.savefig() function in python.
Q - 9 Explain subplot() in Pyhton with example.
Q - 10 Explain hist() in pylab in detail.
Q - 11 Explain pylab.bar() and pylab.pie() in python in detail.

Q - 12 Write the following. (1 Marks)


(1) Knapsack problem is also known as _________.
(2) ________ method display the graphical window on the computer screen.
(3) When stores PyLab Figure, Default extension___________.
(4) Which function is used to save plot graph to file?
(5) png stands for ____________.
(6) Dynamic programming was invented by __________ in _________ year.
(7) Plotting programming we should install _______________ package.
(8) pylab provides many of the facilities of ___________
(9) ________ method displays the graphical window on the computer screen.
(10) _________ is a python module that provides tools for scientific computing.
(11) pyLab is embedded with ___________ module of python.
(12) __________ function is used to display chart/figure.
(13) Dynamic Programming is mainly an optimization over plain __________.
(14) MATLAB stands for.
(15) Which function is used to show legends?
(16) Which function is used to create a histogram?
(17) Which function is used to create subplot?
(18) Which Python package is used for 2D graphics?

You might also like