pre assessment python

pre assessment python

University

19 Qs

quiz-placeholder

Similar activities

Florida Zoology-- Quiz 8

Florida Zoology-- Quiz 8

University

16 Qs

Introduction to Data Analysis Quiz

Introduction to Data Analysis Quiz

12th Grade - University

15 Qs

clase 13

clase 13

University

15 Qs

Quiz Python Dasar 1

Quiz Python Dasar 1

University

21 Qs

Python Basic 4

Python Basic 4

12th Grade - Professional Development

20 Qs

PETERNAKAN B

PETERNAKAN B

University

15 Qs

Last Exam Basis Data

Last Exam Basis Data

University

20 Qs

AW Quiz: Pandemic

AW Quiz: Pandemic

1st Grade - Professional Development

16 Qs

pre assessment python

pre assessment python

Assessment

Quiz

Science

University

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?