Assignment Questions:-
Original Question CO5 (Evaluate)
Evaluate the importance of string slicing in solving real-
What is string slice?
world problems with examples.
What is difference between Xrange and Differentiate between xrange and range in terms of
range memory efficiency and execution speed.
Compare different types of variables in Python and
What are the types of variables?
evaluate their impact on program design.
What are the different types of Justify the need for different types of functions in
function? Python with practical scenarios.
Critically analyze the features of Python that make it
What are the features of Python
suitable for rapid application development.
Evaluate Python’s data types in terms of flexibility and
Explain different data types in python
efficiency for data analysis.
Write in brief about anonymous Assess the role of anonymous functions in functional
functions. programming.
What are built-in dictionary functions? Evaluate the effectiveness of built-in dictionary
Explain. functions in data handling.
Which are basic tuple operations? Compare tuple operations with list operations in terms
Explain with examples. of immutability and use cases.
Critically analyze special operations in strings and their
Which are special operations in strings.
application in text processing.
Explain list operations with suitable Evaluate different list operations and justify their role in
examples. solving real-time problems.
What is a module? Write the steps of Assess the significance of creating user-defined
creating the module modules in large Python projects.
Name and explain built-in modules in Compare built-in Python modules and justify their
python. importance in software development.
Evaluate the functions of the time module and their
Explain functions of the time module.
applicability in time-sensitive programs.
Justify the use of the math module in scientific and
Write functions of the Math module.
engineering applications.
Differentiate between python list and Differentiate between Python lists and NumPy arrays in
NumPy array terms of performance and usability.
Evaluate the importance of the sys module in system-
Explain the sys module in detail.
level programming.
Critically assess the steps involved in creating a
How to create a package in python.
package in Python.
Explain the Datetime module with an Evaluate the datetime module in handling real-world
example.
Original Question CO5 (Evaluate)
date and time problems.
Explain the statistics module with an Assess the role of the statistics module in data
example. analysis.
Write the use of an import statement Justify the use of the import statement for code
with an example. reusability and modularity.
What is inheritance? Explain Evaluate different types of inheritance and their
inheritance types. applicability in software design.
How to create classes and objects in Critically compare Python classes and objects with real-
python with example. world entities.
Evaluate exception handling mechanisms in Python for
Explain in detail Exception in python.
robust program execution.
How to handle exceptions in python Assess the effectiveness of user-defined exceptions
with examples. compared to built-in ones.
Explain user defined exceptions with Evaluate the role of assertions in debugging and
suitable examples. program correctness.
What is assertion? Explain assertion Critically analyze the use of raise in custom exception
with example. handling.
Explain raise statement in python with Evaluate the significance of using except with no
suitable example. exception defined.
Explain Except clause with no Compare geometry management methods in Tkinter in
exception with example. terms of layout flexibility.
List out Geometry Management Evaluate different widgets in Tkinter based on usability
methods and functionality.
Explain all widgets with its options in Assess the purpose of Tkinter in GUI-based application
TKinter development.
Critically compare grid(), pack(), and place() in building
What is purpose of tkinter.
responsive GUIs.
Explain grid(), pack() and place() Evaluate the strengths of NumPy in scientific
method in detail with example. computation.
Critically assess the role of SciPy in advanced
Explain NumPy in detail.
numerical computations.
Explain SciPy in detail. –
16. Evaluate the strengths of NumPy in scientific computation.
NumPy offers fast, memory-efficient array operations, linear algebra, random number
generation, and broadcasting. It integrates with C/C++ and underpins Pandas, SciPy, and
TensorFlow, making it central to scientific computing. Its limitation lies in advanced modeling,
which requires SciPy. Thus, NumPy is strong in foundational computation but relies on
extensions for complex analysis.
17. Critically assess the role of SciPy in advanced numerical computations.
SciPy builds on NumPy, offering advanced modules for optimization, integration, interpolation,
signal processing, and linear algebra. It is powerful for engineering, physics, and machine
learning applications. However, its complexity may overwhelm beginners, and for large-scale AI
applications, TensorFlow or PyTorch are preferred. Thus, SciPy is best assessed as a robust,
general-purpose scientific toolkit for advanced computations.