0% found this document useful (0 votes)
6 views1 page

Programming in Phython - 19ubca312 - 24a075

This document outlines the examination structure for a Programming in Python course at Guru Nanak College, Chennai, scheduled for April 2024. It includes three sections: Section A with ten short answer questions, Section B with five detailed questions, and Section C requiring four comprehensive answers. The total marks for the exam are 100, with a duration of 3 hours.

Uploaded by

pec library
Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
6 views1 page

Programming in Phython - 19ubca312 - 24a075

This document outlines the examination structure for a Programming in Python course at Guru Nanak College, Chennai, scheduled for April 2024. It includes three sections: Section A with ten short answer questions, Section B with five detailed questions, and Section C requiring four comprehensive answers. The total marks for the exam are 100, with a duration of 3 hours.

Uploaded by

pec library
Copyright
© © All Rights Reserved
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

GURU NANAK COLLEGE (AUTONOMOUS), CHENNAI – 42.

APRIL - 2024
24A075
PROGRAMMING IN PYTHON
19UBCA312
MAX. MARKS: 100
TIME: 3 HRS.
SECTION - A (10 X 3 = 30 MARKS)
(Answer Any TEN Questions)
1. Define variable in Python.
2. What is function composition in Python?
3. How to import module in Python?
4. What is the use of modulus operator?
5. Give the syntax of nested condition.
6. Define iteration.
7. What is recursion?
8. Write the syntax of replace () in Python.
9. What are the differences between list and string in Python?
10. What is default argument?
11. Mention the built in class attributes in Python.
12. What is method overriding in Python?
SECTION - B (5 X 6 = 30 MARKS)
(Answer Any FIVE Questions)
13. What are data types in Python? Explain with example.
14. How to create user-defined functions in Python? Explain.
15. Illustrate an example using logical operators in Python.
16. What is nested loop? Explain with an example?
17. Giving an example explain accessing values of strings in Python.
18. Discuss the usage of dictionaries in Python.
19. Define Exception. How to handle the Exception in python? Explain.
SECTION - C (4 X 10 = 40 MARKS)
(Answer Any FOUR Questions)
20. Explain with example type conversion function in Python.
21. Write a sample program using conditional operators in Python.
22. With an example explain for and while statement in Python.
23. Using string operation in Python write a sample program.
24. Explain usage of list and tuple in Python.
25. Discuss with example operator overloading in Python.
******

You might also like