Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
6 views

Python Programming Question Bank

The document is a question bank for a Diploma 3rd Year Python Programming course, organized into two units with questions categorized by marks. Unit 1 covers topics such as applications of Python, keywords, comments, identifiers, variables, and data types, while Unit 2 focuses on control statements, loops, and practical programming exercises. Each unit includes both 3-mark and 8-mark questions to assess students' understanding of Python programming concepts.

Uploaded by

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

Python Programming Question Bank

The document is a question bank for a Diploma 3rd Year Python Programming course, organized into two units with questions categorized by marks. Unit 1 covers topics such as applications of Python, keywords, comments, identifiers, variables, and data types, while Unit 2 focuses on control statements, loops, and practical programming exercises. Each unit includes both 3-mark and 8-mark questions to assess students' understanding of Python programming concepts.

Uploaded by

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

DIPLOMA 3rd YEAR PYTHON PROGRAMMING

QUESTION BANK
UNIT-1

3 MARKS:

1. List applications of Python.


2. Define keyword. Give any two examples of keyword.
3. Explain comments in python.
4. Define identifier and explain importance of indentation.
5. What is variable and how to declare a variables.
8 MARKS:

1. Explain the applications of Python in various fields.


2. What is python and explain the history of python.
3. What is python IDLE? Explain how to use IDE for writing and executing the program.
4. Explain input and output statements.
5. Explain various operators.
6. What is data type and explain various data types in Python with example.
7. Define function. Explain various built-in functions in python.

UNIT-2
3 MARKS:

1. What is the use of pass and assert statements in Python.


2. Write about continue and break statements with an example.
3. Write a Python program to read age of citizen and check whether citizen is eligible for voting or
not.
4. Write the differences between For and While loop statements.

8 MARKS:

1. Write a Python Program to check if number is positive, negative or zero.


2. Explain various Loop statements with examples.
3. Define control statements. Explain conditional statements in python
4. Write the syntax for while loop in Python. Write a Python program to find the factorial of a given
integer using while loop.

You might also like