0% found this document useful (0 votes)
46 views

Python Unit-1 QB

Python question bank

Uploaded by

diplomacse178
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Python Unit-1 QB

Python question bank

Uploaded by

diplomacse178
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

UNIVERSAL COLLEGE OF ENGINEERING AND TECHNOLOGY

DOKIPARRU (V), MEDIKONDURU (M), GUNTUR-522438.


II SHIFT POLYTECHNIC, COLLEGE CODE-607
Affiliated to APSBTET, Vijayawada & Approved by AICTE New Delhi.

UNIT-I QUESTION BANK


Subject & Code: Python Curriculum: 20
Year : III Year / V SEMESTER Branch : DCME
MAX MARKS:40 TIME: 90 MINUTES

PART-A 16Marks
Instructions: 1) Answer all questions
2) First question carries 4marks, and each question of remaining carries 3marks.
1. Write the full forms
a) IDLE b)REPL c)PVM d)Define lambda function
2.List features of Python.
3.write the rules for choosing names of a variable.
4. What are various types of operators in Python.
5. Explain about the types of transfer statements in python.
6.Demonstrate the use of continue in loop statements.
7.State the importance of pass in Python.
8.What are the types of Python arguments
9.Explain about scope of the variable.
10. Can a Python function return multiple values?if yes ,how it works?
PART-B 3X8=24Marks
Instructions: 1) Answer all questions
2) Each question carries 8 Marks
3) Answer should be comprehensive and the criterion for valuation is the content but not
the length of the answer.

1. a) Explain about Python Applications.


Or
b)Explain different data types in Python.

2. a)Explain different conditional control flow statements in Python with Examples.


Or
b) Explain detailed about different loop statements with Examples.

3. a) What are Python Identifiers.Write the naming rules for Identifiers with an Example.

Or
b) Explain about the need for learning Python programming and its importance.

4. a)Write a program to find the sum of digits of given number.


or
b)Write a program to print prime numbers between 1 - 100.

5. a) Define function and explain types of functions with Examples.


Or
b) Explain detail about creating and using of python module with an Example.

You might also like