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
15 questions
Intermediate Python

Quiz
•
9th - 11th Grade
18 questions
Unit 5: Conditionals Review

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

Quiz
•
1st Grade - University
25 questions
Python alap

Quiz
•
10th - 12th Grade
15 questions
9-klass informatika 2-sherek monitoring test sorawları

Quiz
•
9th - 12th Grade
20 questions
Java Values and datatypes

Quiz
•
9th - 12th Grade
20 questions
Python เบื้องต้น ม.5

Quiz
•
11th Grade
15 questions
Structuri neomogene

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade