1 A:Write a Python program to accept n numbers in list and
remove duplicates from a list. B: Write Python GUI program to take accept your birthdate and output your age when a button is pressed. 2 A: Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters. Sample String: 'The quick Brown Fox' Expected Output: No. of Upper case characters: 3 No. of Lower case characters: 13 B. Write Python GUI program to create a digital clock with Tkinter to display the time 3 A. Write a Python program to check if a given key already exists in a dictionary. If key exists replace with another key/value pair. B:Write a python script to define a class student having members roll no, name, age, gender. Create a subclass called Test with member marks of 3 subjects. Create three objects of the Test class and display all the details of the student with total marks. 4 A: Write a Python script using class, which has two methods get_String and print_String. get_String accept a string from the user and print_String print the string in upper case. B: Write a python script to generate Fibonacci terms using generator function. 5 A: Write python script using package to calculate area and volume of cube and sphere B: Write a Python GUI program to create a label and change the label font style (font name, bold, size). Specify separate check button for each style. 6 A: Write Python class to perform addition of two complex numbers using binary + operator overloading. B: Write python GUI program to generate a random password with upper and lower case letters. 7 A: Write a python script to find the repeated items of a tuple
B: Write a Python class which has two methods get_String and
print_String. get_String accept a string from the user and print_String print the string in upper case. Further modify the program to reverse a string word by word and print it in lower case. 8 A: Write a Python script using class to reverse a string word by word B: Write Python GUI program to accept a number n and check whether it is Prime, Perfect or Armstrong number or not. Specify three radio buttons. 9 A: Write Python GUI program to display an alert message when a button is pressed. B: Write a Python class to find validity of a string of parentheses, '(', ')', '{', '}', '[' ']’. These brackets must be close in the correct order. for example "()" and "()[]{}" are valid but "[)", "({[)]" and "{{{" are invalid. 10 A: Write a Python program to compute element-wise sum of given tuples. Original lists: (1, 2, 3, 4) (3, 5, 2, 1) (2, 2, 3, 1) Element-wise sum of the said tuples: (6, 9, 8, 6) B: Write Python GUI program to add menu bar with name of colors as options to change the background color as per selection from menu option. 11 A: Write a Python GUI program to create a label and change the label font style (font name, bold, size) using tkinter module. B: Write a python program to count repeated characters in a string. Sample string: 'thequickbrownfoxjumpsoverthelazydog' Expected output: o-4, e-3, u-2, h-2, r-2, t-2 12 A: Write a Python program to input a positive integer. Display correct message for correct and incorrect input. (Use Exception Handling) num = int (input("Enter Any Positive number:")) B: Write a program to implement the concept of queue using list. 13 A: Write a Python GUI program to accept dimensions of a cylinder and display the surface area and volume of cylinder. B: Write a Python program to display plain text and cipher text using a Caesar encryption. 14 A: Write a Python class named Student with two attributes student_name, marks. Modify the attribute values of the said class and print the original and modified values of the said attributes. B: Write a python program to accept string and remove the characters which have odd index values of given string using user defined function 15 A: Write a python script to create a class Rectangle with data member’s length, width and methods area, perimeter which can compute the area and perimeter of rectangle B: Write Python GUI program to add items in listbox widget and to print and delete the selected items from listbox on button click. Provide three separate buttons to add, print and delete.