
python basics_mattannur poly
Authored by Nithin G
Professional Development
1st Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following list operations?
aList = [10, 20, 30, 40, 50, 60, 70, 80]
print(aList[2:5])
[20, 30, 40, 50]
[30, 40, 50,60]
[10, 20, 30, 40]
[30, 40, 50]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to create a python List?
list1 = [1,2,"apple"]
list1 = (1,2,3)
list1 = {1,2,"'apple"}
list1 = 1,2,3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list1 = ["apple", "banana", "cherry", "orange"]
Write a program to print banana from the above list.
print(list1[0])
print(list1[1])
print(list1[2])
print(list1[3])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
array1 = np.array([1,2,3])
array2 = np.array([6,7,8])
print(array1+array2)
what is the output of this program?
[1,2,3,6,7,8]
[7,9,11]
[6,14,24]
[1,2,3,4,5,6]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to remove "ID" column from a dataframe named df.
df.drop("ID",axis=1)
df.drop("ID")
df.remove("ID")
df.remove("ID",axis=1)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the correct way to get the value of marks key.
student = { "name": "Emma", "class": 9, "marks": 75 }
m = student.get(2)
m = student([2])
m = student['marks'])
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following machine learning techniques use labelled data for training?
Unsupervised Learning
Supervised Learning
Reinforcement Learning
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
7 questions
L2 & CN P#rf#rm#nc# M#n#g#m#nt Fr#m#w#rk
Quiz
•
1st Grade
10 questions
New A Series August 2021
Quiz
•
1st - 4th Grade
10 questions
Analytics: Advance Part 1
Quiz
•
1st Grade
10 questions
Enabling Bank Statement Checking on CS
Quiz
•
1st Grade
10 questions
Taller de iconos TUMI
Quiz
•
1st Grade - Professio...
10 questions
P C N S E Domain 1
Quiz
•
1st Grade
8 questions
PH Pr#d#ct H#ng##t: D#sb#rs#m#nt
Quiz
•
1st Grade
7 questions
Quizz SENAI!
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Professional Development
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade