
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
18 questions
School Mangement System ICT 0417 IGCSE
Quiz
•
10th - 12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
20 questions
Pemrograman Dasar 3
Quiz
•
9th - 12th Grade
20 questions
PTS KELAS 9
Quiz
•
9th - 12th Grade
16 questions
Quiz Pemrograman Java dengan netbeans
Quiz
•
10th Grade - University
16 questions
LA3.C3: Variables
Quiz
•
9th Grade - University
15 questions
Mengenal Jendela dan Ikon Microsoft Excel
Quiz
•
7th Grade - University
20 questions
Câu 21-40
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
