[go: up one dir, main page]

0% found this document useful (0 votes)
38 views4 pages

Pyyhon Journal Index

python journal index

Uploaded by

jrajput2175
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views4 pages

Pyyhon Journal Index

python journal index

Uploaded by

jrajput2175
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Suryadatta Group of Foundation

Suryadatta Group of Institute

MCA
Practical Journal On

Python Programming
A.Y. 2023-24

Class: MCA – I
Sem-II

Name:-Aishwarya S Rajput.
Roll.No:-20230202049

Class:-SIBMT
Div:-A
INDEX

Sr. Name of Program Page Signature


No . No.
Write a pythWrite a python code to find given
1. number is Armstrong Number or on code to find
given number is Armstrong Number or
2. Write a code in python to count number of
vowels in given string
Write a program, which will find all such
3. numbers between 2000 and 3000 (both included)
such that each digit of the number is an even
number.
4. Write a program that accepts a sentence and
calculate the number of letters and digits.
Write a Python function that takes a list and
5. returns a new list with unique elements of the first
list.
Write a Python program to make a chain of
6. function decorators (bold, italic, underline etc.) in
Python.
Write a Python program to generate a random
7. alphabetical character, alphabetical string and
alphabetical string of a fixed length. Use
random.choice()
Create a child class Bus that will inherit all of
8. the variables and methods of the Vehicle class
Create a Bus class that inherits from the Vehicle
9. class. Give the capacity argument of
Bus.seating_capacity() a default value of 50.
Create a Bus child class that inherits from the
10. Vehicle class. The default fare charge of any
vehicle is seating capacity * 100. If Vehicle is
Bus instance, we need to add an extra 10% on full
fare as a maintenance charge. So total fare for bus
instance will become the final amount = total fare
+ 10% of the total fare.
Write a Python class named Student with two
11. attributes student_name, marks. Modify the
attribute values of the said class and print the
original and modified values of the said
attributes.
Write a Python program to match a string that
12. contains only upper and lowercase letters,
numbers, and underscores.
Write a python program to validate the
13. password by using regular expression.
Write a python program to validate the URL by
14. using regular expression.
Write a python program to validate an email
15. address by using regular expression.
Write a python program which consists of - try,
16. except, else, finally blocks.
Write a python program which raises the
17. exception with a message.
Write a Python multithreading program to print
18. the thread name and corresponding process for
each task (assume that there are four tasks).
Write a Python multithreading program which
19. creates two threads, one for calculating the square
of a given number and other for calculating the
cube of a given number.
Given a file called myfile.txt which contains the
20. text: “Python is object oriented programming
language”. Write a program in Python that
transforms the content of the file by writing each
word in a separate line.
21. Write a Python program that displays the longest
word found in a text file.
Write a function in python that allows you to
22. count the frequency of repetition of each word
found in a given file.
Write a Python program which allows you to
23. extract the content of a file from the 3rd line to
the 7th line and save it in another file called
extract_content.txt.
Create the following DataFrame Sales containing
24. year wise sales figures for five salespersons in
INR. Use the years as column labels, and
salesperson names as row labels
Plot the following data on a line chart and
25. customize the chart according to the belowgiven
instructions:
Observe following data and plot data according
26. to given instructions:
Create a bar chart to display data of Virat Kohli
& Rohit Sharma
WAP to create a 3*3 numpy array with all the
27. elements as per the user choice and print the sum
of all elements of the array.
WAP to perform basic arithmetic operations on
28. 1D and 2D array .
Write a Menu Driver Program to add, display,
29. update, delete and exit in a student database
containing Student_id,Student_name,Course
through Python-MongoDB connectivity.
Demonstrate step by step MongoDB connection
30. in Python
Write a Menu Driver Program to add, display,
31. search, sort and exit in book database containing
Book_id, Book_name, Book_author through
Python-MongoDB connectivity

You might also like