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

UNIT 1_Python programming _QUESTION BANK_2023-24 (1)

The document is a question bank for the Python Programming subject at ABES Engineering College, Ghaziabad, containing various questions related to Python concepts. Topics include memory management, operator associativity, dynamic typing, data types, and programming cycles. Each question is categorized by its corresponding course outcome (CO) and Bloom's Level (BL).
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)
13 views2 pages

UNIT 1_Python programming _QUESTION BANK_2023-24 (1)

The document is a question bank for the Python Programming subject at ABES Engineering College, Ghaziabad, containing various questions related to Python concepts. Topics include memory management, operator associativity, dynamic typing, data types, and programming cycles. Each question is categorized by its corresponding course outcome (CO) and Bloom's Level (BL).
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/ 2

ABES ENGINEERING COLLEGE, GHAZIABAD

Unit-1
QUESTION BANK
SUBJECT NAME: PYTHON PROGRAMMING
SUBJECT CODE: BCC-302

Q.No Description CO BL
How memory is managed in Python? Explain PEP 8. Write a Python program to
1 CO1 K2
print even length words in a string.
Define operator associativity with its type. What are the factors for expression
2 CO1 K2
evaluation?
3 Discuss why Python is called as dynamic and strongly typed language? CO1 K2
4 Explain the programming cycle for Python. CO1 K1
Can we make multiline comments in Python? Do we need to declare variables
5 CO1 K2
with data types in Python?
What is Python? How is Python interpreted? What are the tools that help to find
6 CO1 K2
bugs or perform static analysis? What Are Python decorators?
In some languages, every statement ends with a semicolon (;). What happens if
7 you put a semicolon at the end of a Python statement? Mention five benefits of CO1 K1
using Python.
What do you mean by Boolean expression? Write short notes with example: The
8 programming cycle for Python, elements of Python, type conversion in Python, CO1 K2
operator precedence, and Boolean expression.
9 Solve the mathematical expression 7/3 * 1.2 +3/2. CO1 K2
Write a simple program in python to convert decimal number into binary, octal
10 CO1 K2
and hexadecimal number system in python.
When evaluating a complicated expression, what is the role of associativity? Why
11 CO1 K2
is it important?
12 Write a program in Python to find whether a number is prime or not CO1 K2
How would you convert a long integer to a regular int in Python if needed? What
13 CO1 K2
precautions should be taken when doing this conversion?
Explain the concept of "automatic conversion" in Python when dealing with
14 arithmetic operations involving int and long values. How does Python handle the CO1 K2
conversion between these two types?
Explain the difference between mutable and immutable data types in Python.
15 Provide examples of each and discuss why immutability is important in certain CO1 K2
contexts.
What are the advantages and disadvantages of using dynamic typing in Python?
16 CO1 K2
How does it compare to static typing in other programming languages?
Explain the concept of data type coercion in Python. How does Python handle
17 CO1 K2
operations between different data types, and what rules govern these conversions?
Explain the role of the is and == operators in Python when comparing objects.
18 CO1 K2
How do they differ, and when should you use one over the other?
Explain the difference between local and global variables in Python. When and
19 CO1 K2
why might you choose to use one over the other?

20 Explain the concept of reserved words (keywords) in Python. Why are they CO1 K2
important, and how should you avoid naming conflicts with keywords?
ABES ENGINEERING COLLEGE, GHAZIABAD

You might also like