PYTHON QUESTIONS :
Q1: (2marks)
Q1. Give two functions from calendar module?
Q2. De ne package and give example of built in package?
Q3. What is the purpose of tkinter?
Q4. What is the syntax of class?
Q5. What is the advantage of panda?
Q6. Write and explain syntax of raise statement(exception handling)?
Q7. Di erentiate between error and exception?
Q8. What are the key feature of key python ?
Q9. Di erence been tuple and list in python?
[Link] can you access a value in dictionary ? Provide an example
Q2. Attempt any 4 of following :
Q1. Explain function arguments in detail?
Q2. What is the signi cance of if-else statement?provide an example demostraty is used?
Q3. What is method overloading?
Q4. Explain any 3 widgets in tkinter in brief? (Internal)
Q5. What is tensor ow? Explain feature of tensor ow?
Q6. Write a python program to create class which perform basic calculator operations?
Q7. What does super method do in python?
Q8. Explain method for geometry management in tkinter with example?
Q9. Describe di erent type of functions in python give example of each?
Q10. Write a python program to accept program to accept a string and remove character which
Q11. have odd index by use of given string using a user de ned function?
Q3. Attempt any 4 of following :
Q1. De ne nested loop in python and provide example of their uses?
Q2. Write a python function to calculate factorial of number using recursion?
Q3. Di erence between python list and numpy array?
Q4. Write a python GUI program to create a background with changing colours?
Q5. Explain widgets resizing with an example?
Q4. Write short note (any 2) 3marks :
Q1. Write 3 di erent ways to import module?
Q2. Polymorphism?
Q3. Try except statement?
ff
ff
ff
fi
fi
ff
ff
fl
fi
fl
fi