BCA / B.Tech 4 min read

BCA || Python 2022 Paper || MDSU Exam Paper

BCA || PART-2 ||Python 2022 Paper || MDSU Exam Paper

Part-A (Compulsory)
1. Explain concept of floor division.
2. Illustrate the use of * and + operators in string with example.
3. Define the use of continue.
4. What is the use of pass?
5. Define anonymous function.
6. WAP in python to swap 2 numbers.
7. Write difference between compiler and interpreter.
8. Define comment in python also write the shortcut to make comment.
9. Write rules for identifiers naming.
10. Define ways to use multiple assignment concent

Part-B (Compulsory)
11. Define variable and it's types in python.
12. WAP to print largest number among 3 numbers using clif.
13. WAP to print the following pattern :
BCA || Python 2022 Paper || MDSU Exam Paper

14. Explain dictionary with it's property.
15. WAP to calculate sum of elements of array or list.

Part-C (Compulsory)
16. Explain exception handling and it's types.
OR
What do you mean by a package? How you will create and use a package.

17. Explain file handling. Write programs to open file with different methods.
OR
What is set? Implement different functions of set.

18. Write short note on any two:
List and Tuple
Functions
String and it's any 4 functions