NEW
Font size
WorksheetsPython with DataScience
Total questions: 10
Worksheet time: 7mins
Which Python Library is normally used for Data Visualization?
Numpy
Pandas & Matplotlib
Tkinter
None of the above
Debug this function & find an error in code:
call function with same spelling as used for defining i.e., Sum (10, 5)
define function using def.
delete indentation(spaces) before calling function.
all of the above
What will be the output?
To add a title in the chart we use the function:
Title("Title Of The Chart")
plt.title("Title Of The Chart")
Plt.Title(Title Of The Chart)
How to apply label at horizontal position in any graph?
plt.xlabel(“Horizontal Axis”)
dataset.xlabel(“Horizontal Axis”)
pd.label(“Horizontal Axis”)
What is the value of x when this code executes?
101
99
None of the above, this is an infinite loop
100
Complete the code to iterate the list.
in range(10)
in color
in list
all of the above
What is the output of the following for loop and range() function:
2, 1, 0
2, 1, 0, -1, -2, -3, -4, -5
2, 1, 0, -1, -2, -3, -4
Return keyword in function is?
Use to exit function
Use to continue a function
Both option 1 and 2
Continue keyword is used to?
Stop the loop
Start the loop
Skip the current value
