
Fun with Python and ML

Quiz
•
Other
•
12th Grade - Professional Development
•
Medium
Aishwarya Sasanapuri
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How will you extract Python from the string word "I love Python programming"? (More than one answers may be correct.)
word[7:13]
word[6:13]
word[7:12]
word[-18:-12]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between '/' and '//'?
'/' returns a float, '//' returns the integer part and discards the fractional part.
'//' returns a float, '/' returns the integer part and discards the fractional part.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The '%' operator returns the ________?
Float operations
Remainder of the division
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list_1 is [2, 33, 222, 14, 25]. What is list_1[-3]?
33
25
222
14
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an advantage of using local variables?
They allow the variable to be used throughout the whole program
They allow variable identifiers to be reused each time
They are easier to program than global variables
A wider range of data types can be used
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What term is used to describe data passed into/out of a program?
Variable
Loop
Constant
Parameter
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leo wants to create a subroutine that will roll a dice. Which syntax is correct?
def dice roll ():
def diceroll ()
def diceroll ():
def diceroll []:
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
National 5 Bus Mgt Annual Report

Quiz
•
KG - University
15 questions
Borrowing, Saving, and Investing

Quiz
•
9th - 12th Grade
14 questions
Genel Kültür Bilgi Yarıması

Quiz
•
Professional Development
15 questions
Application and Verification Guide (Ch 1 &2)

Quiz
•
University
15 questions
Financial Accounting Quiz(Unit-I)

Quiz
•
University
8 questions
XLFG and F-Structures Quiz

Quiz
•
University
15 questions
FABM 2 - Unit Review No. 3

Quiz
•
12th Grade
8 questions
Soal Berpikir Komputasional

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade