Search Header Logo

NTI - Python 2

Authored by Eslam Elreedy

Fun

University

Used 2+ times

NTI - Python 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You're a professor teaching Data Science with Python, and you want to visually assess if the grades on your exam follow a particular distribution. Which plot do you use?

line plot

histogram

scatter plot

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You're a professor in Data Analytics with Python, and you want to visually assess if longer answers on exam questions lead to higher grades. Which plot do you use?

line plot

histogram

scatter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 8

y = 9

not ( not (x < 3) and not (y > 14 or y > 10) )

true

False

ERROR

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

area = 10.0

if(area < 9) :

print("small")

elif(area < 12) :

print("medium")

else :

print("large")

small

medium

large

ERROR

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 1

while x < 4 :

print(x)

x = x + 1

0

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add labels to the x-axis and y-axis in a Matplotlib plot?

Using the legend() function

Using the title() function

Using the xlabel() and ylabel() functions

Using the grid() function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which library in Python is commonly used for creating data visualizations?

Scikit-learn

Pandas

Matplotlib

NumPy

Access all questions and much more by creating a free account

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?