We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
PROBLEM SOLVING WITH PYTHON
LIST OF IMPORTANT QUESTIONS
UNIT 1
LAQs(15 marks questions)
1. Write about arithmetic operators with suitable example program. 2. Explain if, if…else, if…elif….else in python with syntax and suitable example. (OR) Write about decision making statements or conditional statements with syntax and example? 3. Write about different looping statements in python with suitable syntax and example program? 4. What is type conversion in python? Give example?
SAQs(5 marks questions)
1. Define identifier and variable? 2. How do you read and write data in python? 3. Explain is and not is operator with example? 4. Explain break and continue statements with examples.
UNIT 2
LAQs(15 marks questions)
1. Write about built-in functions used in python? 2. What is user defined function? Write a python program to demonstrate user defined function. 3. Define String? What are the different String operations done in Python? 4. Write about indexing ,slicing and joining strings in python?
SAQs(5 marks questions)
1. Write about *args and **kwargs. 2. What is the purpose of return statement in python functions. 3. What is the scope and lifetime of a variable?
UNIT 3
LAQs(15 marks questions)
1. What is meant by list? What are the different list methods used in python? 2. Write about advanced list processing methods. 3. What are the different modes to use files in python? How do you read from and write into files? 4. Define Exception? Explain how exceptions are handled in python with a suitable example? 5. Define package ? How is a package created and used in python?
SAQs(5 marks questions)
1. Define list, tuple , dictionary ? 2. Define error and exception? 3. Define module, package. 4. What is list slicing? 5. What is meant by mutability in lists?