re-assessment Python+ML for Dinesh in Khanpur

re-assessment Python+ML for Dinesh in Khanpur

University

19 Qs

quiz-placeholder

Similar activities

EC8073_ME_Weekly_Quiz_III_(24.08.2020)

EC8073_ME_Weekly_Quiz_III_(24.08.2020)

University

20 Qs

Course8 Week1

Course8 Week1

University

20 Qs

Google Colab Quiz

Google Colab Quiz

University

15 Qs

Python3

Python3

University

16 Qs

Quiz

Quiz

University

20 Qs

Python MCQ Quiz

Python MCQ Quiz

University

20 Qs

FUNCTIONAL VS LOGIC

FUNCTIONAL VS LOGIC

University

15 Qs

Snakes

Snakes

4th Grade - Professional Development

16 Qs

re-assessment Python+ML for Dinesh in Khanpur

re-assessment Python+ML for Dinesh in Khanpur

Assessment

Quiz

Other

University

Hard

Created by

soham vyas

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid Python data type?
List
Tuple
Dictionary
ArrayList

Answer explanation

Python does not have an ArrayList type; it has lists.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?
def
function
define
func

Answer explanation

Python functions are defined using the 'def' keyword.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(type([])) in Python?
<class 'list'>
<class 'tuple'>
<class 'dict'>
<class 'set'>

Answer explanation

The empty brackets [] define a list in Python.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following libraries is used for data manipulation in Python?
NumPy
Matplotlib
Pandas
Seaborn

Answer explanation

Pandas is the primary library for data manipulation in Python.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'iloc' function in Pandas?
Filter rows based on a condition
Select data using integer location-based indexing
Remove missing values
Sort a DataFrame

Answer explanation

'iloc' is used for integer-location-based indexing in Pandas.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a supervised learning algorithm?
Linear Regression
Logistic Regression
k-Means Clustering
Decision Tree

Answer explanation

k-Means Clustering is an unsupervised learning algorithm.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which metric is commonly used to evaluate classification models?
Mean Squared Error
R-squared
Accuracy
Log Loss

Answer explanation

Accuracy is a common metric used for evaluating classification models.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?