
Python_Seires_Quiz_19.07.2023
Authored by Vikas Sharma
Computers
12th Grade
Used 5+ times

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
45 sec • 1 pt
Write the output of the following:
import pandas as pd
S1 = pd.Series(data = range(31, 2, -6), index = [x for x in "aeiou" ])
print(S1)
a 31
e 25
i 19
o 13
u 7
dtype: int64
a 31
e 25
i 19
o 13
dtype: int64
Error
None of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When we create a series from dictionary then the keys of dictionary become ________________
Index of the series
Value of the series
Caption of the series
None of the series
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following :
>>> S1=pd.Series(14, index = ['a', 'b', 'c'])
>>> print(S1)
a 14
b 14
c 14
dtype: int64
a 14
dtype: int64
Error
None of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following:
>>> S1=pd.Series(14, 7, index = ['a', 'b', 'c'])
>>> print(S1)
a 14
b 7
c 7
dtype: int64
a 14
b 7
dtype: int64
Error
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Write the output of the following :
>>> S1=pd.Series([14, 7, 9] ,index = range(1, 8, 3))
>>> print(S1)
14 1
7 4
9 7
dtype: int64
1 14
4 7
7 9
dtype: int64
Error
None of the above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many elements will be there in the series named “S1”?
>>> S1 = pd.Series(range(5))
>>> print(S1)
5
4
2
None of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Fill in the blank to get the output as 3
import pandas as pnd
S1=pnd.Series([1,2,3,4], index = ['a','b','c','d'])
print(S1[___________])
‘c’
2
c
All of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
18 questions
Neural Network
Quiz
•
9th - 12th Grade
18 questions
Web Design Advanced HTML CSS
Quiz
•
9th - 12th Grade
18 questions
2.3.1. Analysis Design and Comparison of Algorithms
Quiz
•
12th Grade
19 questions
Programming Techniques Survey
Quiz
•
8th - 12th Grade
19 questions
QUIZ 1
Quiz
•
12th Grade
20 questions
Chapter 7 Review
Quiz
•
9th - 12th Grade
21 questions
Computer Program
Quiz
•
10th - 12th Grade
15 questions
ASJ Kelas XII
Quiz
•
12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade