0% found this document useful (0 votes)
34 views24 pages

Data Science Cse

Uploaded by

Ayush Singh
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)
34 views24 pages

Data Science Cse

Uploaded by

Ayush Singh
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/ 24

1. Which of the following is the most important language for Data Science?

A. Java
B. Excel
C. C++
D. Python
i. ANSWER:D

2. Which of the following is one of the key data science skills?


A. Statistics
B. Machine Learning
C. Data Visualization
D. All of the mentioned
ANSWER:D

3. Which of the following are the Data Sources in data science?


A. Structured
B. UnStructured
C. Both (a) and (b)
D. None Of the above
ANSWER:C

4. Which of the following is not a application for data science?


A. Online Price Comparison
B. Price predication
C. Recommendation Systems
D. Image & Speech Recorder
ANSWER:D

5. Which of the following step is performed by data scientist after acquiring the data?
A. Data Replication
B. Data Integration
C. Data Forecasting
D. Data Cleaning
ANSWER:D

6. np.empty(2,2),always return an array


A. Consisting all Zero(2,2)
B. Empty
C. Garbage Value(2,2)
D. NaN(2,2)
ANSWER:C

7. Array-Valued Version of python range function in Numpy


A. aarange()
B. asarray()
C. arange()
D. aarray()
ANSWER:C

8. Function used to produce array of all ones of shape and dtype similar to another array
A. ones()
B. ones_like()
C. one
D. one.like()
ANSWER:B

9. Function to get identity on diagonal we want,


A. identity()
B. eye()
C. diagonal()
D. Ones_like()
ANSWER:B

10. Using ndim we can find


A. the dimension of the array
B. Size of array
C. Operational activities on Matrix
D. None of the mentioned above
ANSWER:A

11. In boolean indexing, index can be


A. Unique
B. Non-unique
C. Binary
D. Sequential
ANSWER:C

12. Keywords which work with boolean indexing


A. And
B. Or
C. Both option
D. None of option
ANSWER:D

13. array.T function of Numpy is similar to ......... of python.


A. Swapaxes
B. Trans
C. Change.axis
D. Swap.axis
ANSWER:A

14. Which function is not a Unary Ufuncs


A. square
B. ceil
C. power
D. tan
ANSWER:C

15. Which Function is not a aggregation mathematical function?


A. mean()
B. Sum()
C. std()
D. Mod()
ANSWER:D

16. Which of the following is/are used to analyze the data in pandas?
A. Dataframe
B. Series
C. Both A and B
D. None of the mentioned above
ANSWER:C

17. What will be the minimum number of arguments require to pass in pandas series?
A. 1
B. 2
C. 3
D. 4
ANSWER:A

18. Which of the following is a correct syntax for panda's dataframe?


A. Pandas.DataFrame(data, index, dtype, copy)
B. pandas.DataFrame( data, index, columns, dtype, copy)
C. pandas.DataFrame(data, index, dtype, copy)
D. pandas.DataFrame( data, index, rows, dtype, copy)
ANSWER:B

19. Which of the following can be used to create various inputs using pandas DataFrame?
A. Lists, dict
B. Series
C. Numpy ndarrays and Another DataFrame
D. All of the above mentioned
ANSWER:D

20. Amongst which of the following is / are not an iterative function for dataframe?
A. iterrows()
B. itercolumns()
C. iteritems()
D. All of the mentioned above
ANSWER:B

21. PANDAS stand for


A. Panel data analyst
B. Panel data
C. Panel data dataframe
D. panel data CSV
ANSWER:B

22. PANDAS data structure for 3D data


A. Series
B. Data series
C. Dataframe
D. frame
ANSWER:C
23. How to install PANDAS using python package
A. install pandas
B. pip
C. pip install pandas
D. pandas
ANSWER:C

24. Which of the following print series S in reverse order?


A. print(reverse S[1::1])
B. print(S[::1])
C. print(S[-1::1])
D. print(S[::-1])
ANSWER:D

25. Which of the following used to assign name to series?


A. seriesname
B. type.name
C. series.name
D. name
ANSWER:D

26. In regression analysis, the variable that is being predicted is;


A. the independent variable
B. the dependent variable
C. usually denoted by x
D. usually denoted by r
ANSWER:B

27. In the regression equation y = bo + b1x, bo is the;


A. slope of the line
B. independent variable
C. y intercept
D. coefficient of determination
ANSWER:C

28. If the slope of the regression equation y = bo + b1x is positive, then;


A. as x increases y decreases
B. as x increases so does y
C. Either a or b is correct
D. as x decreases y increases
ANSWER:B

29. If the regression equation is equal to y=23.6-54.2x, then 23.6 is the _____ while -54.2 is the
____ of the regression line.
A. Slope, intercept
B. Slope, regression coefficient
C. Intercept, slope
D. Radius, intercept
ANSWER:C
30. The process of constructing a mathematical model or function that can be used to predict or
determine one variable by another variable is called
A. regression
B. correlation
C. residual
D. outlier plot
ANSWER:A

31. In the regression equation Y = 21 - 3X, the slope is


A. 21
B. -21
C. 3
D. -3
ANSWER:C

32. In the regression equation Y = 75.65 + 0.50X, the intercept is


A. 0.50
B. 75.65
C. 1.00
D. indeterminable
ANSWER:B

33. The difference between the actual Y value and the predicted Y value found using a
regression equation is called the
A. slope
B. residual
C. outlier
D. scatter plot
ANSWER:B

34. The total of the squared residuals is called the


A. coefficient of determination
B. sum of squares of error
C. standard error of the estimate
D. r-squared
ANSWER:B

35. In regression analysis, R2 is also called the


A. residual
B. coefficient of correlation
C. coefficient of determination
D. standard error of the estimate
ANSWER:C

36. The coefficient of determination must be


A. between -1 and +1
B. between -1 and 0
C. between 0 and 1
D. equal
ANSWER:C
Dashboard Courses Departments Faculty CSE Prof. MIR SHAHNAWAZ AHMAD

160512-Data Science using Python Quiz2

Started on Wednesday, 7 September 2022, 11:26 AM


State Finished
Completed on Wednesday, 7 September 2022, 11:31 AM
Time taken 5 mins 2 secs
Grade 5.00 out of 5.00 (100%)

Question 1
Correct

Mark 1.00 out of 1.00

In data sciences, a structured data needs more processing in comparison to unstructured data.

Select one:
True

False 

The correct answer is 'False'.

Question 2
Correct

Mark 1.00 out of 1.00

A dataset, containing details of passengers at an airport over 3 years, has an attribute "X" which
represents Passenger's Continent to which he/she belongs. Then what type of data represented by "X" is:

a. High Dimensional

b. Nominal 

c. Ordinal

d. Unstructured

The correct answer is:


Nominal
Question 3

Correct

Mark 1.00 out of 1.00

Which of the following categorical data encoding technique is preferred when the data is Nominal:

a. Target Encoding

b. Hash Encoding

c. One-Hot encoding 

d. None are correct

The correct answer is:


One-Hot encoding

Question 4
Correct

Mark 1.00 out of 1.00

Which of the following is not the component of a Time series data:

a. Skewness 

b. Trend

c. Noise

d. Seasonality

The correct answer is:


Skewness
Question 5

Correct

Mark 1.00 out of 1.00

Which of the following has a categorical data:

a. Attribute of a dataset containing ordinal data

b. All are true 

c. Attribute of a dataset containing nominal data

d. Attribute of a dataset representing Gender of humans

The correct answer is:


All are true

Previous activity
← Quiz1

Jump to...

Next activity
Quiz3 →

Stay in touch
Madhav institute of Technology & Science , Gwalior, M.P.
 http://mitsgwalior.in/
 Phone :0751-2409300
 pro@mitsgwalior.in

    

 Get the mobile app

Switch to the recommended theme for your device


Dashboard Courses Departments Faculty CSE Prof. MIR SHAHNAWAZ AHMAD

160512-Data Science using Python Quiz1

Started on Tuesday, 30 August 2022, 3:51 PM


State Finished
Completed on Tuesday, 30 August 2022, 3:59 PM
Time taken 8 mins 1 sec
Grade 7.00 out of 10.00 (70%)

Question 1
Incorrect

Mark 0.00 out of 1.00

Choose the correct one:

a. All are correct

b. Data science is the domain of study that deals with vast volumes of data using modern tools and 
techniques to find unseen patterns, derive meaningful information, and make business decisions.

c. Data science uses complex machine learning algorithms to build predictive models.

d. In data sciences, we analyze business data to extract meaningful insights.

The correct answer is:


All are correct
Question 2

Correct

Mark 1.00 out of 1.00

Data science:

a. Combines historical and current data to predict future performance and outcomes 

b. Uses only historical data to predict future performance and outcomes

c. does not use historical or current data to predict future performance and outcomes

d. Uses only current data to predict future performance and outcomes

The correct answer is:


Combines historical and current data to predict future performance and outcomes

Question 3
Correct

Mark 1.00 out of 1.00

Select the option where data science can find its application:

a. In Law Enforcement, to better understand where and when to deploy personnel to prevent crime.

b. For Targeted Advertising

c. In Virtual assistance for patients and customer support

d. In Driver-less Vehicles, to make sensor technology more cost-effective and accurate.

e. All are correct 

The correct answer is:


All are correct

Question 4
Correct

Mark 2.00 out of 2.00

What will be the output of below code segment:

print(sum(i+1 for i in range(5)))

Answer: 15 

The correct answer is: 15


Question 5

Correct

Mark 1.00 out of 1.00

Which of these is not a core data type?

a. Class 

b. Dictionary

c. List

d. Tuple

The correct answer is:


Class

Question 6
Correct

Mark 1.00 out of 1.00

Select the correct sequence of data science life cycle stages:

a. Data Acquisition, ML algorithms, Data pre-processing, pattern evaluation, knowledge representation

b. Data pre-processing, Data acquisition, ML algorithms, pattern evaluation, knowledge representation

c. Data Acquisition, data pre-processing, ML algorithms, pattern evaluation, knowledge representation 

d. Data Acquisition, data pre-processing, ML algorithms, knowledge representation, pattern evaluation

The correct answer is:


Data Acquisition, data pre-processing, ML algorithms, pattern evaluation, knowledge representation
Question 7

Incorrect

Mark 0.00 out of 2.00

What will be output of below code segment:


import re
def getUserNames(strings):
result = []
for v in strings:
v = re.sub('[@!?_#]', '', v)
v = re.sub('gmail.com', '', v)
v = v.upper()
v = v.strip()
if v not in result: result.append(v)
return result
mails = [' ram@gmail.com ', 'mahesh_123@gmail.com', 'karan_Sharma#5@gmail.com',
'mahesh_123@gmail.com','ram@gmail.com']
print(getUserNames(mails))

a. ['RAM', 'MAHESH123', 'KARANSHARMA5']

b. ['RAMGMAILCOM', 'MAHESH123GMAILCOM', 'KARANSHARMA5GMAILCOM']

c. ['RAM', 'MAHESH123', 'KARANSHARMA5', 'MAHESH123', 'RAM'] 

d. ['RAMGMAIL.COM', 'MAHESH123GMAIL.COM', 'KARANSHARMA5GMAIL.COM']

The correct answer is:


['RAM', 'MAHESH123', 'KARANSHARMA5']

Question 8
Correct

Mark 1.00 out of 1.00

Data Science techniques work on:

a. Only Unstructured Data

b. None

c. Only Structured Data

d. Both Structured and Unstructured data 

The correct answer is:


Both Structured and Unstructured data
Previous activity
← Lecture Notes: Unit 5 Part 1

Jump to...

Next activity
Quiz2 →

Stay in touch
Madhav institute of Technology & Science , Gwalior, M.P.
 http://mitsgwalior.in/
 Phone :0751-2409300
 pro@mitsgwalior.in

    

 Get the mobile app

Switch to the recommended theme for your device

You might also like