Define the terms: 1) Assertion 2) Regular Expression 3) Recursion
[3 marks]Define specifications. Explain “docstring” in python.
[4 marks]Explain exception. Explain exception handling in python with suitable example.
[7 marks]Explain scoping of GLOBAL variables in Python.
[3 marks]Define the terms: 1) Mutability 2) Lambda Abstraction 3) Cloning 4) readline( )
[4 marks]Compare list, tuple and dictionary data types in python.
[7 marks]Define Testing. Explain Black Box Vs Glass Box testing.
[7 marks]Explain Hash Table with suitable example.
[3 marks]Explain different functions which allow searching a string for a match. 1) findall 2) group 3) match 4) search
[4 marks]Explain the use of PyLab in python. Explain use of plot( ), show( ) and title( ) functions of PyLab.
[7 marks]Write a python code to establish socket connection between two machines.
[3 marks]Write a program to implement Caesar Cipher.
[4 marks]Define inheritance. Explain multiple inheritances with suitable example.
[7 marks]Explain the following Turtle methods in Python. 1) Turtle( ) 2) begin_fill( ) 3) stamp( )
[3 marks]Write a python program to implement Binary Search algorithm.
[4 marks]Define Lambda function. Write a program to find area of triangle using Lambda function.
[7 marks]Define Turtle. Explain the use of it in Python.
[3 marks]Explain if…else in python with suitable example.
[4 marks]Acompany having turnover = [110000, 130000, 164000, 190000, 215000] and profit percentage = [9.5, 9, 8.25, 8.75, 9.25] of past 5 years. Draw line chart showing growth of profit (in amount) and turnover using pylab module in python. Draw both graphs in same figure.1
[7 marks]Define the terms: 1) Dynamic Binding 2) Encapsulation 3) Abstraction
[3 marks]Define default argument. Explain with suitable example.
[4 marks]Write a python program to implement class named “Student” having methods input, display, enrol_no, name, branch, gender as the variables.
[7 marks]Write a python program to remove the leading zeros from the IP address.
[3 marks]Enlist the steps to create chat application using python.
[4 marks]Write a python program using Tkinter as below.2
[7 marks]