INTERNAL2 PYTHON Key
INTERNAL2 PYTHON Key
Date :
Reg.
o: Yr/Sem/SECTION: I/I/E 13.11.24
Session : AN
7. Write a snippet to display “Hello World” in python interpreter. (AU.,JAN2022) C105.2 BTL1
8. What is the difference between list and tuple?. (AU,A/M2022) C105.2 BTL1
11. Outline the data types supported by python with an example (16) (AU,JAN2022) C105.2 BTL2
12. Name the types of operators supported by python and Explain all the (AU,JAN2022) C105.3 BTL2
operators with suitable example (16)
13. i)Explain the detailed note on interpreter and interactive mode. (AU,A/M2024) C105.2 BTL3
Explain how python works in interactive mode and script mode with
examples.(8)
ii)Write and explain the python program to swap two numbers with
and without temporary variable.(8)
14. i)What is Precedence? List out the order of precedence and (AU,N/D2023) C105.2 BTL4
demonstrate in detail with example (8)
ii)Write a python program to check whether a given year is a leap year
or not.(8)
15. i)Write a python program to calculate the distance between two points.(8)
(AU,N/D2023) C105.2 BTL3
ii) Write a python program to circulate the value of N variables.(8)
16. Outline the conditional branching statements in python with example.(16) (AU,JAN2022) C105.3
BTL4