The document outlines the structure of a Python programming course, covering topics such as Python features, applications, data types, operators, control flow statements, and data structures. It includes specific questions and tasks related to each chapter, focusing on practical examples and comparisons between different Python constructs. Each section is designed to assess understanding and application of Python programming concepts.
The document outlines the structure of a Python programming course, covering topics such as Python features, applications, data types, operators, control flow statements, and data structures. It includes specific questions and tasks related to each chapter, focusing on practical examples and comparisons between different Python constructs. Each section is designed to assess understanding and application of Python programming concepts.
Chapter 1:Introduction and syntax of python program
1. List Python features. (Any four) 2 Marks
2. Enlist applications for Python Programming 2 Marks 3. Describe indentation in Python. 2 Marks 4. Name different modes of Python 2 Marks 5. What is dictionary ? 2 Marks 6. List data types used in Python. Explain any two with example. 4 Marks 7. Explain with example: 4 Marks i)indentation ii)Variables 8. List data types used in python.explain any two with examples. 4 Marks 9. What is the output of the following program? 4Marks dict1 = {‘Google’ : 1, ‘Facebook’ : 2, ‘Microsoft’ : 3} dict2 = {‘GFG’ : 1, ‘Microsoft’ : 2, ‘Youtube’ : 3} dict1⋅update(dict2); for key, values in dictl⋅items( ): print (key, values) 10. Compare list and tuple(any four points) 4marks 11. Describe Multiline comments in python. 2 Marks
Chapter 2:python operators and controls flow statements
1. Describe bitwise operators in Python with example. 4 Marks 2. Write syntax for a method to sort a list. 2 Marks 3. Give membership operators in python. 2 Marks 4. Explain Module and its use in Python. 4 Marks 5.Explain membership and identify operators in python. 4 Marks 6.Explain use of Pass and Else keyword with for loops in python. 4 Marks 7.Describe keyword “continue”with example. 4 Marks 8.List identity operators in python. 2 Marks 9.Explain decision making statements if-else,if-elif-else with example 4 Marks Chapter 3 : Data Structures in Python 1.Explain four built-in list functions. 4marks 2. Explain creating Dictionary and accessing Dictionary Elements with example. 4 marks 3. Differentiate between list and Tuple. 2 Marks 4. Explain different functions or ways to remove key : value pair from Dictionary. 4 Marks 5.Describe Tuples in Python. 2 Marks 6.Write any four methods of Dictionary. 4 Marks 7. Compare List and Dictionary.(Any 4 points) 4 marks