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

Important Question Python

This document outlines the unit-wise question bank for a Python programming course. It covers 20 questions each across 3 chapters in Unit-I on basic Python concepts like data types, operators, control structures and loops. Unit-II covers 8 chapters with 20 questions on functions, files, lists, tuples and modules. The questions range from basic definitions and explanations to writing code examples. Overall, the document provides an extensive list of conceptual and programming questions to test students' understanding of core Python programming concepts across two units.

Uploaded by

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

Important Question Python

This document outlines the unit-wise question bank for a Python programming course. It covers 20 questions each across 3 chapters in Unit-I on basic Python concepts like data types, operators, control structures and loops. Unit-II covers 8 chapters with 20 questions on functions, files, lists, tuples and modules. The questions range from basic definitions and explanations to writing code examples. Overall, the document provides an extensive list of conceptual and programming questions to test students' understanding of core Python programming concepts across two units.

Uploaded by

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

SEC [BSC-V SEMESTER]

Python Question Bank Unit-Wise


Unit-I
Chapter-1
1. Define software and hardware.
2. Explain how python program works.
3. Write about Compilers and interpreters.
4. Write about python interpreter and its modes.
Chapter-2
5. Explain the basics for executing a python program using IDLE (Shell) with an example.
6. Write about displaying output with the print function or (how to display output using print)
7. Write about comments in python.
8. What is a variable? Write the rules for naming of variables.
9. Explain reading input from keyboard in python program, give example. (how to accept from user input)
10. Write about type conversion functions with example.
11. Write about the floating point and interger division with an example
12. Write about operater precedence.
13. Write about escape characters in python.
Chapter-3
14. Write about if, if-else, if-elif-else statement and while statement with an examples. or
15. List different control structures/ conditional statements in python with an examples.
Chapter-4
16. Write about nested loops?
17. Write about range in for loop. Or What are the loops are available.Explain with examples.
18. Explain about different Logical operators in python with appropriate examples.
19. Explain about different Relational operators in python with appropriate examples.
20. Explain about Arithmetic operators in python with appropriate examples.

Unit-II
Chapter-5
1. What is a function in python? How to call a function. Write an example
2. Write about local and global variables.
3. Write about Indentation in Python
4. Write about the concept of scope of a variable in a function
5. Explain about passing arguments to function with an example.
6. Explain about value returning in functions with an example
7. Explain abour random numbers. Or random module with syntax
8. Explain about math module and write the various functions and methods with an example.
Chapter-6
9. What is a file and features of file
10. Exaplain about file input and output in python
11. Write about file processing records
Chapter-7
12. Write in brief about Lists in python.
13. Explain about methods in Lists of Python with appropriate examples.
14. What are the different operations that can be performed on a list? Explain with examples.
15. Explain about two dimensional lists with an example
16. Write in brief about Tuple in python. Write operations with suitable examples.
17. Write in brief about Sequence in python.Write operations with suitable examples.
18. Compare List and Tuple.
19. What is a Module? Explain usgae of import module, list some module names in python
20. What do you mean by slicing in lists

You might also like