Python Sem. Review P1

Quiz
•
Computers
•
11th Grade
•
Easy
LARRY GREEN
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What input will cause only line #12 to be executed?
food_id('potato')
food_id('apple')
food_id('orange')
food_id('banana')
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What input will cause only line #14 to be executed?
food_id('potato')
food_id('apple')
food_id('orange')
food_id('banana')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string that contains no characters is called a _____.
Empty String
Bank String
Null String
Guess String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following two inputs will produce an error?
type('tr' + “y this”)
type('tr' + 5)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_____ involves pasting together two strings, one after another.
Iterables
Concatenation
len
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_____ are sequences that can be counted in order, one at a time, during iteration.
Iterables
Concatenation
len
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The _____ function returns the number of elements in an iterable.
len
sum
count
Iterables
Concatenation
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Strings in python -1

Quiz
•
11th Grade
15 questions
Python Basics

Quiz
•
KG - University
16 questions
Python Basics

Quiz
•
KG - University
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
15 questions
python basics

Quiz
•
11th Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade