Part B Unit 4 Data Science
Part B Unit 4 Data Science
UNIT 4
DATA SCIENCE
QUESTIONS AND ANSWERS
1. What was one of the earliest applications of 6. Which industry uses data science algorithms to
data science? decide on digital advertising placements?
a. Genetics & Genomics a. Genetics & Genomics
b. Internet Search b. Internet Search
c. Fraud and Risk Detection c. Targeted Advertising
d. Targeted Advertising d. Airline Route Planning
2. Which industry uses data science to predict 7. What is the main goal of data science
flight delays and drive customer loyalty applications in genetics and genomics?
programs? a. To understand the impact of DNA on health
a. Genetics & Genomics b. To find individual biological connections
b. Internet Search c. To analyze reactions to drugs and diseases
c. Fraud and Risk Detection d. All the above
d. Airline Route Planning 8. Which industry uses data science to analyze
3. Which search engine(s) make use of data customer profiling and past expenditures?
science algorithms to deliver search results? a. Genetics & Genomics
a. Google b. Fraud and Risk Detection
b. Yahoo c. Internet Search
c. Bing d. Airline Route Planning
d. All the above 9. Which companies use data science to improve
4. What is the purpose of website user experience through product
recommendations? recommendations?
a. To improve user experience a. Amazon, Twitter, Google Play, Netflix,
b. To promote products LinkedIn, IMDB
c. To suggest similar products b. Yahoo, Bing, Ask, AOL
d. All the above c. All the above
5. Which field does data science enable an d. None of the above
advanced level of treatment personalization 10. What is the main purpose of data science?
through research in? a. To analyze data and make machines
a. Genetics & Genomics intelligent.
b. Internet Search b. To collect and store data for future use.
c. Fraud and Risk Detection c. To create new fields of study in science.
d. Airline Route Planning d. To predict future trends based on historical
Subjective Questions
1. Differentiate Between NumPy arrays & Lists.
NumPy arrays Lists
An array can handle mathematical operations. A list cannot directly handle mathematical operations.
An array consumes less memory than a list. Lists take up more memory
Using an array is faster and convenient to use. Scanning through a list takes a lot of time, as element
wise operation is not possible on the list.
It is not easier to modify an array. A list is easier to modify.
It can contain only one type of data, hence not It can contain multiple types of data, hence flexible
flexible with datatypes. with datatypes.
It provides fast and efficient operations on arrays of It provides fast operations on arrays of heterogeneous
homogenous data. or homogenous data.
NumPy array has various functions, methods, and It does not have many functions to handle matrix
variables, to ease our task of matrix computation. computations.
Operated with NumPy package and cannot be directly Can be directly initialized as it is part of syntax of
initialized. Python.
Functions like concatenation, appending are not Functions like concatenation, appending not possible
possible with arrays. with lists.
Elements of an array are stored contiguously in Elements of a list need not be stored contiguously in
memory. memory.
It is used for arithmetic operations. Direct numerical It is used for data management.
operations can be done.
Example: To create a numPy array ‘T’: Example: To create a list:
import numpy T=numpy.array[1,2,3,4,5,6,7,8,9]
T=numpy.array([1,2,3,4,5,6,7,8,9])