pre assessment python

pre assessment python

University

19 Qs

quiz-placeholder

Similar activities

Unit 12: Exploring Hierarchical Organization in Plants + Animals

Unit 12: Exploring Hierarchical Organization in Plants + Animals

7th Grade - University

15 Qs

Tahapan dan Prinsip Dasar Kultur Jaringan

Tahapan dan Prinsip Dasar Kultur Jaringan

University

15 Qs

UAS Klimatologi Pertaian

UAS Klimatologi Pertaian

University

20 Qs

Practicar E2 ECT I

Practicar E2 ECT I

University

18 Qs

giải phẫu bệnh 4

giải phẫu bệnh 4

University

20 Qs

HQA-RWA

HQA-RWA

University

15 Qs

Ekonomi Teknik

Ekonomi Teknik

University

21 Qs

Unit 1-5 Practice Questions

Unit 1-5 Practice Questions

7th Grade - 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

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Already have an account?