0% found this document useful (0 votes)
4 views2 pages

Comprehensive Python Question Bank

The document is a Python question bank divided into two modules, covering a range of topics including data types, basic elements, operators, control statements, arrays, built-in functions, recursion, modules, string operations, and file handling. It also addresses advanced concepts such as regular expressions, zipping files, and date/time handling in Python. Each question prompts detailed explanations and examples to facilitate understanding of Python programming concepts.

Uploaded by

Shubham Sawant
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)
4 views2 pages

Comprehensive Python Question Bank

The document is a Python question bank divided into two modules, covering a range of topics including data types, basic elements, operators, control statements, arrays, built-in functions, recursion, modules, string operations, and file handling. It also addresses advanced concepts such as regular expressions, zipping files, and date/time handling in Python. Each question prompts detailed explanations and examples to facilitate understanding of Python programming concepts.

Uploaded by

Shubham Sawant
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

Python question bank

#module 1

[Link] are the major datatypes available in python? (numeric datatype, list , tuple ,
dictionary, set ,Boolean datatype, mapping with syntax and examples)

[Link] are the basic elements of python ? ( variable, rules of variable, keywords, input
function, output statement, command line )

[Link] all the operators in python (6 operators are there )

Q4. what is the difference between while and for.

[Link] a short note on break, continue, pass statement, assert, return statement.

[Link] concept of array with respect to following:

•Array operations

•Indexing, slicing, aliasing

[Link] the mathematical operations on array. ( any 5 out of 8 operations)

[Link] the following commonly used built in functions in python. ( table given in text
book with example)

•Also explain the difference between function and the method.

[Link] the recursive functions, how they work ( 3 step). explain anonymous and
lambda function.
Q10. Briefly explain the concept of modules in python and how to use it.

Q11. Explain the different string operations on python.

#Module 2 questions

Q1. Explain the concept of list, tuple , dictionary, set, in detail.

[Link] concept of file in python. ( what is file, opening and closing of file, types of file,
text file and binary file, etc , with syntax.)

Q3. What is zipping and unzipping file in python. Briefly explain working of directory.

[Link] is a regular expression. How to find email addresses in a given text stream.

Q5. Explain the python code to retrieve information from HTML file.

[Link] explain how to stop execution temporarily in python

Q7. Explain the concept of date and time in python.

Q8. How to evaluate the effectiveness of calendar module.

[Link] to use regular expression on files. (Ans on page19 7.4)

You might also like