Internal Two QB
Internal Two QB
PROGRAMMING
Unit-II
PART A
1. Unary expression (x = x + 1 or x += 1)
2. Binary expression (c = a + b)
UNIT-III
PART-A
PART B
1. Explain the if, if-else, if-elif-else and nested conditional constructs in Python with suitable example.
2. Explain while loop, for loop, break and continue statements in Python with suitable examples.
3. Explain the various string handling functions in python with suitable example.
4. What is the function?Explain the role of function call and function definition with example?
5. Explain type of arguments in python?
6. i)Write a program to find GCD of two numbers? ii)Write a python program to find the square root
7. Explain in detail about list as array
8. Write a program to find the factorial of the given number with recursion?