Search Header Logo

#Sg_Spaic Last season Quiz (ML and Python)

Authored by ouhammouch hanane

Other

KG - Professional Development

10 Questions

Used 4+ times

#Sg_Spaic Last season Quiz (ML and Python)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet?

print('abcdefcdghcd'.split('cd', 2))

[‘ab', ‘ef', ‘ghcd']

[‘ab', ‘efcdghcd']

[‘abcdef', ‘ghcd']

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet? print('abcd'.translate('a'.maketrans('abc', 'bcd')))

bcde

abcd

error

bcdd

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

Error

0

[-20, -60, -80]

[0, 0, 0]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions cannot be used on heterogeneous sets?

pop

remove

update

sum

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is false about recursion?

Every recursive function must have a base case

Infinite recursion can occur if the base case isn't properly mentioned

A recursive function makes the code easier to understand

Every recursive function must have a return value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is “Naive” Bayes naive?Naive Bayes is considered “Naive” because it makes an assumption that is virtually impossible to see in real-life data

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Recall Is known as the false positive rate

True

False

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?