What is dictionary in Python? Explain any four built-in dictionary methods with example.
[3 marks]What is Interpreter? Explain How python interpreter works.
[4 marks]Write a Python program to count words, characters and spaces from text file.
[7 marks]How to comment specific line(s) in Python program?
[3 marks]Describe following string functions with syntax: title() , strip(), islower(), isupper().
[4 marks]Write a python program to implement isPalindrome() function to check given string is palindrome or no.
[7 marks]Write a python program to implement Student class which has method to calculate CGPA. Assume suitable class variables
[7 marks]Differentiate List and Tuple in Python.
[3 marks]Give the output of following Python code: myStr = ‘GTU is the best University’ print myStr [15 : : 1] print myStr [-10 : -1 : 2]
[4 marks]What is the difference between error and exception? Explain exception handling in python with example.
[7 marks]Explain the lambda function with syntax and example.
[3 marks]Give the output of following Python code: t = (1, 2, 3, (4, ), [ 5, 6] ) print t[ 3 ] t[4][0] = print t
[7 marks]Write a Python program to find reverse of given string using user defined function.
[7 marks]Explain usage of continue, break, and pass keyword in python.
[3 marks]What is the difference between range and xrange?
[4 marks]Create a Python program to read a text file and do following: 1. Print no. of lines 2. Print no. of unique words 3. Store each word with its occurrence in dictionary
[7 marks]Give difference between black-box and glass-box testing.
[3 marks]How operator overloading can be implemented in Python? Give an example.
[4 marks]Write a Python program to match a string that contains only upper and lowercase letters, numbers, and underscores using Regular Expression1
[7 marks]What is the difference between Python Arrays and lists?
[3 marks]Explain any four method for TCP socket in Python.
[4 marks]How to create a thread in python? Explain with an example.
[7 marks]Explain regular expression methods match and search with its parameters.
[3 marks]Write a python program to create a plotting of years of compounding v/s value of principal using pyplot library. Assume reasonable values for principal, interest rate and years
[4 marks]Write GUI program using Tkinter which handle the button click event.
[7 marks]