The document contains questions about Python programming concepts and constructs. Part A asks about fruitful functions, local and global variables, the pass statement, recursive functions, iterative statements, linear search, while loops, sorting, looping, and examples of the pass statement. Part B asks about conditional branching statements, the differences between break and continue with examples, and three Python string methods with examples.
The document contains questions about Python programming concepts and constructs. Part A asks about fruitful functions, local and global variables, the pass statement, recursive functions, iterative statements, linear search, while loops, sorting, looping, and examples of the pass statement. Part B asks about conditional branching statements, the differences between break and continue with examples, and three Python string methods with examples.
The document contains questions about Python programming concepts and constructs. Part A asks about fruitful functions, local and global variables, the pass statement, recursive functions, iterative statements, linear search, while loops, sorting, looping, and examples of the pass statement. Part B asks about conditional branching statements, the differences between break and continue with examples, and three Python string methods with examples.
2. Comment with an example on the use of local and global variable with the same identifier name. 3. What are the purposes of pass statement in python? 4. Define a recursive function. 5. Name the two types of iterative statements in python. 6. What is linear search? 7. Present the flow of execution for while statement. 8. What is meant by sorting? 9. Define looping with an example 10. Explain about pass statement with an example.
Part-B
1. Outline the conditional branching statements in python with an example.
2. What is difference between break and continue in python? Explain with suitable examples. 3. What is String function in python? Explain any three Python String methods with an example.