Skip to content

// Anna University, Chennai / 2024

Anna University — Foundations of Data Science (CS3352), April/May 2024

Foundations of Data Science · CS3352 · R2021 · B.E./B.Tech. Engineering (common paper) · Semester 3

Files open in a new tab. Use your browser's download or save option to keep a copy.

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part AUnit 1Descriptive2 marks

    Foundations of Data Science

    How missing values present in a dataset are treated during data analysis phase?

    No verified answer or solution is available for this question.

  2. Question 2

    Part AUnit 1Descriptive2 marks

    Foundations of Data Science

    Identify and write down various data analytic challenges faced in the conventional system.

    No verified answer or solution is available for this question.

  3. Question 3

    Part AUnit 2Descriptive2 marks

    Foundations of Data Science

    Will treating categorical variables as continuous variables result in a better predictive model? Justify your answer.

    No verified answer or solution is available for this question.

  4. Question 4

    Part AUnit 3Descriptive2 marks

    Foundations of Data Science

    Issue: Feeding data which has variables correlated to one another is not a good statistical practice, since we are providing multiple weightage to the same type of data. Solution: Correlation Analysis. Show how such issues are prevented by correlation analysis technique. Justify with a small instance dataset.

    No verified answer or solution is available for this question.

  5. Question 5

    Part AUnit 3Descriptive2 marks

    Foundations of Data Science

    State the purpose of adding additional quantitative and/or categorical explanatory variables to any developed linear regression model. Justify with an example.

    No verified answer or solution is available for this question.

  6. Question 6

    Part AUnit 2Descriptive2 marks

    Foundations of Data Science

    Give an example of a data set with a non-Gaussian distribution.

    No verified answer or solution is available for this question.

  7. Question 7

    Part AUnit 4Descriptive2 marks

    Foundations of Data Science

    Under what circumstances, the pivot_table() in pandas is used?

    No verified answer or solution is available for this question.

  8. Question 8

    Part AUnit 5Descriptive2 marks

    Foundations of Data Science

    Using appropriate data visualization modules develop a python code snippet that generates a simple sinusoidal wave in an empty gridded axes?

    No verified answer or solution is available for this question.

  9. Question 9

    Part AUnit 5Descriptive2 marks

    Foundations of Data Science

    Write a python code snippet that generates a time-series graph representing COVID-19 incidence cases for a particular week. Day 1: 7; Day 2: 18; Day 3: 9; Day 4: 44; Day 5: 2; Day 6: 5; Day 7: 89.

    No verified answer or solution is available for this question.

  10. Question 10

    Part AUnit 5Descriptive2 marks

    Foundations of Data Science

    Write a python code snippet that draws a histogram for the following list of positive numbers: 7, 18, 9, 44, 2, 5, 89, 91, 11, 6, 77, 85, 91, 6, 55.

    No verified answer or solution is available for this question.

  11. Question 11

    Part BUnit 1Descriptive13 marks

    Foundations of Data Science

    (a) (i) Suppose there is a dataset having variables with missing values of more than 30%, how will you deal with such dataset? (6 marks) (ii) List down the various feature selection methods for selecting the right variables for building efficient predictive models. Explain about any two selection methods. (7 marks) (OR) (b) (i) Explain Data Analytic life cycle. Brief about Time-Series Analysis. (6 marks) (ii) Outline the purpose of data cleansing. How missing and nullified data attributes are handled and modified during preprocessing stage? (7 marks)

    No verified answer or solution is available for this question.

  12. Question 12

    Part BUnit 2Descriptive13 marks

    Foundations of Data Science

    (a) (i) Indicate whether each of the following distributions is positively or negatively skewed. The distribution of (1) incomes of tax payers have a mean of $48,000 and a median of $43,000 (3 marks); (2) GPAs for all students at some college have a mean of 3.01 and a median of 3.20 (3 marks). (ii) During their first swim through a water maze, 15 laboratory rats made the following number of errors (blind alleyway entrances): 2, 17, 5, 3, 28, 7, 5, 8, 5, 6, 2, 12, 10, 4, 3. (1) Find the mode, median, and mean for these data (3 marks); (2) Without constructing a frequency distribution or graph, would it be possible to characterize the shape of this distribution as balanced, positively skewed, or negatively skewed? (4 marks) (OR) (b) (i) Assume that SAT math scores approximate a normal curve with a mean of 500 and a standard deviation of 100. Sketch a normal curve and shade in the target area(s) described by each of the following statements: more than 570 (2 marks); less than 515 (2 marks); between 520 and 540 (2 marks). Convert to z scores and find the target areas specific to the above values. (1 mark) (ii) Assume that the burning times of electric light bulbs approximate a normal curve with a mean of 1200 hours and a standard deviation of 120 hours. If a large number of new lights are installed at the same time (possibly along a newly opened freeway), at what time will 1 percent fails (2 marks); 50 percent fail (2 marks); 95 percent fail (2 marks)?

    No verified answer or solution is available for this question.

  13. Question 13

    Part BUnit 3Descriptive13 marks

    Foundations of Data Science

    (a) (i) In Statistics, highlight the impact when the goodness of fit test score is low? (6 marks) (ii) Given the following dataset of employee, using regression analysis, find the expected salary of an employee if the age is 45. Age / Salary: 54 / 67000; 42 / 43000; 49 / 55000; 57 / 71000; 35 / 25000. (7 marks) (OR) (b) (i) Define autocorrelation and how is it calculated? What does the negative correlation convey? (6 marks) (ii) What is the philosophy of Logistic regression? What kind of model it is? What does logistic Regression predict? Tabulate the cardinal differences of Linear and Logistic Regression. (7 marks)

    No verified answer or solution is available for this question.

  14. Question 14

    Part BUnit 4Descriptive13 marks

    Foundations of Data Science

    (a) Define Dictionary in Python. Do the following operations on dictionaries: (i) Initialize two dictionaries (D1 and D2) with key and value pairs. (3 marks) (ii) Compare those two dictionaries with master key list ‘M’ and print the missing keys. (3 marks) (iii) Find keys that are in D1 but NOT in D2. (3 marks) (iv) Merge D1 and D2 and create D3 using expressions. (4 marks) (OR) (b) (i) How to create hierarchical data from the existing data frame? (6 marks) (ii) How to use group by with 2 columns in data set? Give a python code snippet. (7 marks)

    No verified answer or solution is available for this question.

  15. Question 15

    Part BUnits 3, 5Descriptive13 marks

    Foundations of Data Science

    (a) Write a code snippet that projects our globe as a 2-D flat surface (using cylindrical project) and convey information about the location of any three major Indian cities in the map (using scatter plot). (OR) (b) (i) Write a working code that performs a simple Gaussian process regression (GPR), using the Scikit-Learn API. (6 marks) (ii) Briefly explain about visualization with Seaborn. Give an example working code segment that represents a 2D kernel density plot for any data. (7 marks)

    No verified answer or solution is available for this question.

  16. Question 16

    Part CUnit 4Descriptive15 marks

    Foundations of Data Science

    (a) Given a unsorted multi indexes that represents the distance between two cities, write a python code snippet using appropriate libraries to find the shortest distance between any two given cities. The following matrix representation can be used to create the data frame that can be served as an input for the prescribed program. Rows and columns A, B, C, D, E: A: 0, 30, 24, 6, 13; B: 16, 0, 19, 5, 10; C: 7, 16, 0, 15, 12; D: 9, 17, 22, 0, 18; E: 21, 8, 9, 11, 0. (OR) (b) A URL Server wants to consolidate a history of websites visited by an user ‘U’. Every visited website information is stored in a 2-tuple format viz., (website_id, Duration_of_visit) in the URL cache. Using split, apply and combine operations, devise a code snippet that consolidate the website history and find out the website whose duration of visit is maximum. Example: Input: [(4,2), (5,1), (4,3), (1,4), (7,3), (5,2), (1,1), (7,1)]. Output: [(4,5), (5,3), (1,5), (7,4)]. The website with key_id ‘1’ has the max.duration of visit = 5.

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam