pre assessment python

pre assessment python

University

19 Qs

quiz-placeholder

Similar activities

Sangrado de tubo digestivo

Sangrado de tubo digestivo

University

18 Qs

ML Quiz

ML Quiz

University

20 Qs

Byte the panel game

Byte the panel game

University

20 Qs

SOMATOMETRIA

SOMATOMETRIA

University

14 Qs

QUIZ 1 - MANAJEMEN RISIKO

QUIZ 1 - MANAJEMEN RISIKO

University

20 Qs

Enviro Quizizz 2021

Enviro Quizizz 2021

University

20 Qs

General Physics 1 Long Test

General Physics 1 Long Test

12th Grade - University

20 Qs

Animal cognition NAB

Animal cognition NAB

University

20 Qs

pre assessment python

pre assessment python

Assessment

Quiz

Science

University

Practice Problem

Easy

Created by

Soham Vyas

Used 1+ times

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?