Search Header Logo

Basic Python & Machine Learning

Authored by Aishwarya Sasanapuri

Other

University - Professional Development

Used 3+ times

Basic Python & Machine Learning
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings is a data structure in python. There are two types of data structures- immutable and mutable. Strings are under which category?

Always Immutable

Mutable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Python tuple?

(1,2,3)

[1,2,3]

{1,2,3}

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following line of code do to a string S, S.strip()

Remove spaces in the left side of the sting

Remove spaces in the right side of the sting

Remove empty spaces from both ends of the string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the functions map, reduce, filter work on Strings?

Map

Reduce

Filter

All of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The value of the correlation coefficient will always be:

infinity to 0

0 to infinity

Between -1 and 1

Between 0 and 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The strength of a linear regression line is determined by the value of the R-squared. If this value is found to be 0, what does it imply?

variance can be explained

No variance in the data is being explained by the fitted line.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose that you run a linear regression on the data, where you have X as the independent variable and y as the target variable. You find that the correlation between y and X is -0.97. What can you say in this situation?

X and Y are weakly correlated

X and Y are not at all related

X and y are strongly related

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?