Loading

Quipoin Menu

Learn • Practice • Grow

python-for-ai / What is Scikit-learn?
mcq
Direction: Choose the correct option

Q1.

What is scikit-learn?
A. A deep learning framework
B. A web framework
C. A data visualization library
D. A machine learning library for Python
Direction: Choose the correct option

Q2.

Which of the following is a feature of scikit-learn?
A. Extensive documentation
B. All of the above
C. Consistent API
D. Open source
Direction: Choose the correct option

Q3.

How do you import scikit-learn?
A. import scikitlearn
B. Both A and B
C. from sklearn import *
D. import sklearn
Direction: Choose the correct option

Q4.

What is the purpose of `sklearn.datasets`?
A. Both A and B
B. Load sample datasets
C. Train models
D. Create synthetic data
Direction: Choose the correct option

Q5.

Which module in sklearn provides preprocessing utilities like scaling?
A. sklearn.pipeline
B. sklearn.utils
C. sklearn.feature_extraction
D. sklearn.preprocessing
Direction: Choose the correct option

Q6.

What is the name of the API for building pipelines in scikit-learn?
A. sklearn.pipeline.Pipeline
B. Both A and B
C. Pipeline
D. make_pipeline
Direction: Choose the correct option

Q7.

Which class is used for cross-validation?
A. KFold
B. StratifiedKFold
C. cross_val_score
D. All of the above
Direction: Choose the correct option

Q8.

What does `sklearn.exceptions` provide?
A. Model exceptions
B. Data exceptions
C. Custom exceptions
D. None
Direction: Choose the correct option

Q9.

How do you check the version of scikit-learn?
A. import sklearn; sklearn.show_versions()
B. Both A and C
C. sklearn.__version__
D. sklearn.version
Direction: Choose the correct option

Q10.

Which of the following is NOT a typical component of scikit-learn?
A. Clustering
B. Decision trees
C. Deep neural networks
D. Support vector machines