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.
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.
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.