0% found this document useful (0 votes)
43 views3 pages

PDS Viva

Uploaded by

odk1572
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)
43 views3 pages

PDS Viva

Uploaded by

odk1572
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/ 3

Questions:

1. Explain python data structure with example.


2. What do you mean by slicing operation in string of python? Write an example of
slicing to fetch first name and last name from full name of person and display it.
3. What are the linking between data science,big data and AI?
4. Summarize the characteristics of NumPy, Pandas, Scikit-Learn and matplotlib libraries
along with their usage in brief.
5. What do you mean by prototyping? List the phases of prototyping and
experimentation process and explain in brief.
6. Explain how to create data science pipeline.
7. Compare and summarize four different coding styles supported by Python language.
8. List and explain the reasons which make python programming popular in Data
Science.
9. What are the different ways to remove duplicate values from dataset?
10. Describe sampling along with its types in detail with suitable example.
11. Define term n-gram.Write a short note on TF-IDF transformations.
12. What do you mean by categorical data? Explain with small example.
13. What kind data is analyzed with Bag of word model? Explain it with example.
14. Compare the numpy and pandas on the basis of their characteristics and usage.
15. Elaborate XPath in detail with relatable example
16. What do you mean by missing values? Explain the different ways to handle the
missing value with example.
17. Explain the process of Word Tokenization, Stemming and Stop word removal using
nltk library with suitable example code.
18. What is the use of magic function in python? Explain with the help of example.
19. What do you understand by Data visualization? Discuss some Python’s data
visualization techniques.
20 .List various types of graph/chart available in the pyplot of matplotlib library for data
visualization. Explain any two of them in brief.
21. Write a brief note on NetworkX library.
22. What is the use of scatter-plot in data visualization? Can we draw trendline in
scatter-plot? Explain it with example.
23. What is the use of labels and legends in plot? Explain with example
24. Explain Hashing Tricks and its importance with suitable example.
25. Discuss importance of covariance and correlation in EDA
26. What is chi-square test? why it is necessary in data analysis?
27. What is Data Wrangling process? Define data exploratory data analysis? Why EDA is
required in data analysis?
28. Define Standardization. Explain Z-score standardization with suitable example.
29. Explain Classification , clustering and regression class of Scikit-learn.
30. Explain the use of skew () and kurtosis () function
Program :

1. Write a python program that finds the factorial of a natural number n.


2. Write a python program to implement Fibonacci sequence for given input.
3. Write a single line code to get the value of "type" from the given dictionary in such a
way that it does not produce any error or exception even if any key from the dictionary
is misspelled. e.g. batters is misspelled as bateers. Still, your code must traverse the
dictionary and fetch the value “Regular” of the key “type”.
{ "batters": { "batter": [ { "batter": [ { "batter": [{ "type": "Regular" }] }] }] } }
4. Write a python program to take two strings and position value (starting from zero) as
input from the user. Insert the second string in the first string after the given position.
(Example: String-1 = "Gujarat University", String2="Technological ", position = 7,
Output="Gujarat Technological University")
5. Write a python program to read the data from XML file using pandas library.
6. Write a python program to read data from a text file using pandas library.
7. Write a python code to read the local image, obtain statistics about that image, and
display the image onscreen.
8. Write a program which takes 2 digits, X,Y as input and generates a 2-dimensional
array of size X * Y. The element value in the i-th row and j-th column of the array should
be i*j.
9. Below is the content of a csv file named "data.csv".

Name,Salary
abc,10000
xyz,20000
pqr,40000

Write a python program to read data from given csv file and print each pair of names
and salaries in the format "Name -> Salary". (Example: abc -> 10000 and so on)

10. Consider below dataframe in python

ABC
0714
1258
2369

11. Write a code to sort this dataframe by column A. Write a code to sort this dataframe
by row 0 (first row).

12. Write a python code to draw a bar chart utilizing at least three properties of it.

13. Write a Python programming to create a pie chart with a title of the popularity of
programming Languages.
Sample data:
Programming languages: Java, Python, PHP, JavaScript, C#,C++
Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7

14. Data of marks for five students in three subjects is as given below.
Maths = [100, 82, 76, 51, 88]
Physics = [92, 89, 81, 83, 80]
Chemistry = [71, 90, 75, 88, 45]
Write a python program to create boxplot from the above data. What type of important
observation about data can be derived from the boxplot?

15. Below is the data about average temperature (in °C) at a place for 15 days.
temp = [30, 34, 35, 32, 38, 26, 29, 45, 42, 32, 40, 33, 36, 34, 36]
Write a python program to create histogram with 4 bins from the above data. What type
of important observation about data can be derived from the histogram?

16. Write a small code to perform following operations on data: Slicing, Dicing,
Concatenation, Transformation

You might also like