Q1:-Given a file calledmyfile.txt which contains the text: “Python is object oriented programminglanguage”. Write a program in Python that transforms the content of the file bywriting each word in a separate line.
Q2:- Write a python program to validate an email address by using regular expression.
Q3:- Create the following DataFrame Sales containing year wise salesfigures for five salespersons in INR. Use the years as column labels, andsalesperson names as row labels.
Q4:- Write a Python multithreadingprogram which creates two threads, one for calculating the square of a givennumber and other for calculating the cube of a given number.
Q5:-Plot the following data on a line chart and
customize the chart according to the below-given instructions:
Month
|
January
|
February
|
March
|
April
|
May
|
Sales
|
510
|
350
|
475
|
580
|
600
|
Weekly Sales Report
Q6:- Write a Python multithreadingprogram to print the thread name and corresponding process for each task(assume that there are four tasks).
Q7:- Write a Menu Driver Program to add, display, update,delete and exit in a student database containing Student_id,Student_name,Coursethrough Python-MongoDB connectivity
Q8:- Write a Python program to
generate a random alphabetical character, alphabetical string and alphabetical
string of a fixed length. Use random.choice().
Q9:- Write a python program to validate the URL by using regular expression.
Q10:- Write a Menu Driver Program toadd, display, search, sort and exit in book database containing Book_id,Book_name, Book_author through Python-MongoDB connectivity.
No comments:
Post a Comment