
PYTHON REVISION
Quiz
•
Computers
•
11th Grade
•
Hard
Prema Selvam
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Hello" + str(2) + "world!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this print?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this out put? print(users[2][1])
error
16
brown
smith
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
30
200
1020
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose a function called add() is defined in a module called adder.py. Which of the following code snippets correctly show how to import and use the add() function? Select all that apply.
import add from adder
result = add(2, 3)
from adder import add
result = add(2, 3)
from adder import add
result = adder.add(2, 3)
import add
result = adder.add(2, 3)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This command will open MyFile = open("MyText.txt")
To read the file
To append to the file
To write to the file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python shell can be in ________________ways
2
3
1
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
LOOKUP
Quiz
•
9th Grade - University
15 questions
Bebras Colage B
Quiz
•
7th - 12th Grade
20 questions
Toán tử trong C ++
Quiz
•
10th - 12th Grade
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
20 questions
ÔN TẬP KÌ I TIN HỌC 4
Quiz
•
3rd Grade - University
20 questions
El Computador
Quiz
•
5th - 11th Grade
20 questions
Testing dan Implementasi UTS
Quiz
•
KG - University
15 questions
DATABASE SERVER
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
