0% found this document useful (0 votes)
218 views3 pages

Question Bank Python TYBBA (CA)

The document outlines a series of original questions related to Python programming, along with corresponding applied questions that require practical implementation and analysis. It covers various topics such as data types, string slicing, loop control statements, and built-in functions, encouraging the application of concepts through programming tasks. Additionally, it emphasizes the analysis of different programming methods and their efficiencies.

Uploaded by

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

Question Bank Python TYBBA (CA)

The document outlines a series of original questions related to Python programming, along with corresponding applied questions that require practical implementation and analysis. It covers various topics such as data types, string slicing, loop control statements, and built-in functions, encouraging the application of concepts through programming tasks. Additionally, it emphasizes the analysis of different programming methods and their efficiencies.

Uploaded by

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

Sr.

Original Question CO3 Converted Question (Apply)


No.
Which are data types in Apply Python to declare variables using different data types
1
Python? and demonstrate their usage with examples.
What are the types of Write a Python program to demonstrate different types of
2
variables? variables with examples.
Which are the special Apply special operators in Python to solve a practical
3
operators in Python? problem with example code.
Write a Python program to perform string slicing on a given
4 What is string slice?
text and display results.
What is the difference Apply both range and xrange in a Python program (in
5 between xrange and Python 2 or comparison example) and show the difference in
range? execution.
Explain any two tuple Apply two tuple operations on a given tuple and display the
6
operations with an example. output.
List out different dictionary Use at least four dictionary functions in a Python program
7
functions. and display results.

Sr.
Question
No.
Demonstrate the use of string slicing by extracting specific parts of a given string in
1
Python.
2 Use an example to show the functional difference between xrange and range in Python.
3 Classify variables in Python by creating examples for each type.
Create a Python class and instantiate its objects to demonstrate class–object interaction.
4
Develop a simple Python module and illustrate the steps to create and use it.
5 List at least three predefined Python packages and demonstrate one use case for each.
6 Implement an example in Python that demonstrates both IS-A and HAS-A relationships.
7 Develop a simple Python module and illustrate the steps to create and use it.
Analyze the functionality of any five built-in Python list functions with practical examples
8
showing their differences. Explain anonymous function with suitable example.
Design and implement a Python program that calculates the area of a rectangle, and
9
modify it to accept both integer and float inputs.
Examine the working of anonymous (lambda) functions in Python by comparing them
10
with regular functions.
Investigate the sys module in Python and explain how its attributes can be used to interact
11
with the Python runtime environment.
Design a Python class to perform basic calculator operations and evaluate its performance
12
with different input sets.
Original Question CO3 (Apply) CO4 (Analyze)
Apply loop control statements Analyze different loop control
Explain loop control
(break, continue, pass) in a Python statements in Python to determine
statements used in
program to solve a specific their suitability for solving given
Python.
problem. scenarios.
Analyze the time and space
Write a Python program Develop a Python program that
complexity of different methods
to display Fibonacci generates the Fibonacci series up
used to generate the Fibonacci
series. to a given number.
series.
Implement a Python program that
Compare the efficiency and usage
Explain any five built-in uses at least five built-in list
scenarios of different built-in list
list functions. functions to perform various
functions with examples.
operations.
Demonstrate special string Analyze different special string
Which are special operations (concatenation, operations and evaluate their
operations in string? repetition, slicing) in Python with advantages in text processing
code examples. tasks.
Create a Python list and apply Analyze the efficiency of different
How to create and access
indexing and slicing to access list access methods for large
elements in list.
specific elements. datasets.
Which are basic tuple Implement a Python program that Analyze tuple operations and
operations? Explain with performs basic tuple operations compare their immutability
example. (indexing, slicing, concatenation). constraints with lists.
Apply the + and * operators on
Compare the behavior of + and *
What is the use of + and tuples to demonstrate
operators on tuples with their
* operators on tuples? concatenation and repetition in
behavior on lists and strings.
Python.
Write a Python program Develop a Python program that Analyze the efficiency of
Original Question CO3 (Apply) CO4 (Analyze)
to check whether an checks for the presence of an membership checking in tuples
element exists within a element in a tuple using versus lists for different dataset
tuple. membership operators. sizes.
Implement a Python program using Evaluate and compare built-in
What are built-in
at least five built-in dictionary dictionary functions based on their
dictionary functions?
functions to perform CRUD performance in data retrieval and
Explain.
operations. manipulation.

You might also like