Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
39 views

Advanced Python Sample Programs

The document contains programming assignments involving Python, NumPy, Matplotlib, SQLite, faker package and socket programming. The assignments include tasks like generating random data, working with arrays, creating charts, connecting to servers, extracting data from files and encrypting/decrypting messages. Students are asked to write programs to complete the given tasks and display outputs.

Uploaded by

Atharv Kaijkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Advanced Python Sample Programs

The document contains programming assignments involving Python, NumPy, Matplotlib, SQLite, faker package and socket programming. The assignments include tasks like generating random data, working with arrays, creating charts, connecting to servers, extracting data from files and encrypting/decrypting messages. Students are asked to write programs to complete the given tasks and display outputs.

Uploaded by

Atharv Kaijkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

1.

Write a Python program to print 10 fake names, addresses and countries in


Hindi language using faker package.……………………………. .

2. Write program(s) to establish a connection between server & client using


socket (write 2 programs – server side and client side) ………. .

1. Write a Python program to write a program in python to create a profile and


print a particular fake data.………. .

2. Write a program to change the MAC address of the machine ….………. .

1. Write a program in python using NumPy


1. to generate 10 random numbers from the normal distribution
2. to create a 3x3x3 array with random values ………. .
2. Write a program to connect to Google using socket .………. .

1. Write a program in python using NumPy to create a 5x5 array with random
values and find the minimum and maximum values …… .
2. Write a packet sniffer program to display source address, destination
address and protocol used ………. .

1. Write a program in python using NumPy to create a random vector of size 10


and sort it .............
2. Write program(s) to establish a connection between server & client using
socket (write 2 programs – server side and client side) ………. .

1
1. Write a program in python using NumPy
3. to generate 10 random numbers from the normal distribution
4. to create a 3x3x3 array with random values ………. .
1. Write a program to change the MAC address of the machine ……………. .

1. Write a NumPy program to check two random arrays are equal or not.

.………. .

2. Create two tables – student and department using sqlite and write a program
to create csv file of student table using sqlite backup file.

………. .

1. Write a program in python to create a json of 100 students with name


students.json that contains student name, address, location coordinates and
student roll number using faker package. ……. .

2. Write a program to connect to Google using socket ………. .

1. Write a Python program using NumPy to find the most frequent value in an
array………. .

2. Write a program using command line argument to display location, region,


city and country of website ………. .

2
1. Write a Python program using NumPy to get the 3rd largest values of an
array.………. .

2. Write a program using command line argument to display location, region,


city and country of website ………. .

1. .Write a program in python using Matplotlib to display a bar chart of the


popularity of programming Languages.. ………. .
2. Write down the program to do the encryption using Transposition cipher
………. .

1. Write a program in python using Matplotlib to display a bar chart of the


popularity of programming Languages. Use different color for each bar ……….
.
2. Write down the program for Hacking of Caesar Cipher..………. .

1. Write a program to take the screenshot and print the characteristics of image
– width and height and rotate the image by 90 degree. ……. .
2. Write down the program for Hacking of Caesar Cipher.………. .

3
1. Write a program to extract metadata of given pdf fil………. .
2. Write down the program for Hacking of Caesar Cipher………. .

1. Write a program to extract the information like “from , date and subject”
from email file ………. .
2. Write a program to take the screenshot , crop the image, change the size and
display and save all newly created images. ………. .

1. Write down program to reshape the 3 x 4 array into 3 dimensions of size


2,2,3 and 2,3,2 using numpy. ………. .
2. Create two tables – student and department using sqlite and write a program
to create csv file of all table information(metadata of database) from sqlite
backup file ………. .

1. 1 Write a program to do encryption using ROT13 algorithm … ………. .


2. Write a program to create a report in csv using list and dictionary object

. ………. .

1. Write a program in python to print 10 fake names and countries in Hindi


language using faker package. ………. .

4
2. Write a program to extract metadata from mp4 file ………. .

1. Write a program in python using NumPy to create a 5x5 array with random
values and find the minimum and maximum values

………. .

2. Write a program to extract metadata from image file ………. .

1. Write a Python program for using NumPy to create a 3x3x3 array with
random values………. .

2. Write a program to read and display the metadata of provided mp3 file.
………. .

1. Write a Python program for using NumPy to create a 3x3x3 array with
random values………. .

2. Write a program to change the MAC address of the machine ………. .

1. Write a Python program using NumPy to generate five random numbers from
the normal distribution.………. .
5
2. Write a packet sniffer program to display source address, destination
address and protocol used ………. .

1. Write a Python program to create a profile and print a particular fake data.
………. .

2. Write down the program to do the encryption using Transposition cipher.


………. .

1. Write down program to reshape the 3 x 4 array into 3 dimensions of size


2,2,3 and 2,3,2 using numpy.………. .

2. Write program(s) to establish a connection between server & client using


socket (write 2 programs – server side and client side)

………. .

1. Write a program to extract the information like “from , date and subject”
from email file………. .

2. Write a Python program using Matplotlib to display a bar chart of the


popularity of programming Languages. Use different color for each bar

6
………. .

1. Write a Python program to create a profile and print a particular fake data
………. .

2. Write a program to extract metadata from image file.

1. Write a program to extract metadata of given pdf file. .………. .

2. Write a Python program using Matplotlib to display a bar chart of the


popularity of programming Languages. ………. .

1. 1 Write a program to do encryption using ROT13 algorithm … ………. .


2. Write a Python program using Matplotlib to display a bar chart of the
popularity of programming Languages. Use different color for each bar

………. .

1. Write a program to take the screenshot and print the characteristics of image
– width and height and rotate the image by 90 degree. ……. .
2. Write a program to connect to Google using socket .………. .

7
8

You might also like