wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Data Science Quiz 1

Total questions: 17

Worksheet time: 9mins

Name
Class
Date
1.

Which of the following is a key advantage of Python?

a)

Limited libraries

b)

Low-level memory access

c)

Easy to read and write

d)

Platform dependency

2.

What type of language is Python?

a)

Compiled

b)

Assembly

c)

Interpreted

d)

Machine

3.

Which of the following is NOT a Python feature?

a)

Object-Oriented

b)

Strongly Typed

c)

Case-insensitive

d)

Dynamic Typing

4.

What is the output of print(type([1,2,3]))?

a)

<type 'tuple'>

b)

<type 'list'>

c)

<type 'dict'>

d)

<type 'array'>

5.

Which of these is not a Python data type?

a)

int

b)

char

c)

list

d)

dict

6.

Which character is used for single-line comments in Python?

a)

//

b)

/*

c)

<!--

d)

#

7.

Which of the following is the correct file extension for Python files?

a)

.pt

b)

.pyt

c)

.py

d)

.python

8.

Which library provides data structures and data analysis tools?

a)

NumPy

b)

TensorFlow

c)

Pandas

d)

SciPy

9.

Which Pandas function reads a CSV file?

a)

pd.read_csv()

b)

pd.load_csv()

c)

pd.import_csv()

d)

pd.get_csv()

10.

Which method in Pandas gives a statistical summary of a DataFrame?

a)

info()

b)

summary()

c)

describe()

d)

details()

11.

Jupyter Notebooks are mainly used for:

a)

Website building

b)

Gaming

c)

Data analysis and visualization

d)

App development

12.

Which feature does Jupyter Notebook NOT support?

a)

Markdown

b)

Inline plots

c)

Audio editing

d)

Code execution

13.

Which shortcut runs a cell in Jupyter Notebook?

a)

Shift + Enter

b)

Ctrl + R

c)

Alt + R

d)

Ctrl + Shift

14.

What is an IDE?

a)

Internal Data Editor

b)

Integrated Debugging Environment

c)

Integrated Development Environment

d)

International Developer Editor

15.

Which IDE is web-based and used extensively in data science?

a)

VS Code

b)

PyCharm

c)

Jupyter Notebook

d)

Thonny

16.

In VS Code, the extension used for Python development is:

a)

Python Tools

b)

PyDev

c)

Python Extension

d)

Code Python

17.

Which function can be used to sort values in Pandas?

a)

sort()

b)

order()

c)

sort_values()

d)

arrange()