DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
LABORATORY PROGRAMS
1a. Write a python program to find the best of two test average marks out of three
test's marks accepted from the user.
Information Science & Engineering, AIT Bangalore 9
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
1b. Develop a Python program to check whether a given number is palindrome or not
and also count the number of occurrences of each digit in the input number.
Information Science & Engineering, AIT Bangalore 10
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
2a. Defined as a function F as Fn = Fn-1 + Fn-2. Write a Python program which accepts a
value for N (where N >0) as input and pass this value to the function. Display suitable error
message if the condition for input value is not followed.
Information Science & Engineering, AIT Bangalore 11
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
2b. Develop a python program to convert binary to decimal, octal to hexadecimal using
functions.
Information Science & Engineering, AIT Bangalore 12
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
3a. Write a Python program that accepts a sentence and find the number of words, digits,
uppercase letters and lowercase letters.
Information Science & Engineering, AIT Bangalore 13
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
3b. Write a Python program to find the string similarity between two given strings
Sample Output: Sample Output:
Original string: Original string:
Python Exercises Python Exercises
Python Exercises Python Exercise
Similarity between two said strings: Similarity between two said strings:
1.0 0.967741935483871
Information Science & Engineering, AIT Bangalore 14
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
4a. Write a Python program to Demonstrate how to Draw a Bar Plot using Matplotlib.
Information Science & Engineering, AIT Bangalore 15
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
4b. Write a Python program to Demonstrate how to Draw a Scatter Plot using Matplotlib
Information Science & Engineering, AIT Bangalore 16
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
5a. Write a Python program to Demonstrate how to Draw a Histogram Plot using
Matplotlib.
Information Science & Engineering, AIT Bangalore 17
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
5b. Write a Python program to Demonstrate how to Draw a Pie Chart using Matplotlib.
Information Science & Engineering, AIT Bangalore 18
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
6a. Write a Python program to illustrate Linear Plotting using Matplotlib.
Information Science & Engineering, AIT Bangalore 19
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
6b. Write a Python program to illustrate liner plotting with line formatting using Matplotlib.
Information Science & Engineering, AIT Bangalore 20
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
7. Write a Python program which explains uses of customizing seaborn plots with Aesthetic
functions.
a. Join Plot
b. Hexagon distribution.
c. KDE Plot
Information Science & Engineering, AIT Bangalore 21
DATA VISUALIZATION WITH PYTHON BCS358D 2023-24
d. Heat Map
e. Pair Plot
f. Box Plot
Information Science & Engineering, AIT Bangalore 22