We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
MODULE 1
1.List the salient features of Python Programming Language, Demonstrate with
example print(), input() and len() in python 2.Explain string concatenation and string replication with one suitable examples for each 3.. Explain basic functions in Python by considering str(), int() and float() as point of ref 4.What are Comparison and Boolean operators? List all the Comparison and Boolean operators in Python and explain the use of these operators with suitable examples 5.What are the different flow control statements supported in python? Explain all the flow control statements with example program, syntax and flowchart 6.Explain different ways of importing modules into application in Python with syntax and suitable programming examples 7.What is Exception Handling? How are exceptions handled in Python? Write a Python program with exception handling code to solve an error situation 8.Explain Local and Global Scope in Python programs. What are local and global variables? How can you force a variable in a function to refer to the global variable? 9. Develop a Python program to generate Fibonacci sequence of length (N). Read N from the console. 10. Write a function to calculate factorial of a number. Develop a program to compute binomial coefficient (Given N and R). 11. Develop a program to read the student details like Name, USN, and Marks in three subjects. Display the student details, total marks and percentage with suitable messages 12. Develop a program to read the name and year of birth of a person. Display whether the person is a senior citizen or not.