
PYTHON REVISION
Authored by Prema Selvam
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello" + str(2) + "world!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("12"*3)
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Code.org Lesson 1-14
Quiz
•
9th - 12th Grade
25 questions
Modern Technologies
Quiz
•
10th - 11th Grade
20 questions
Technology Innovations
Quiz
•
5th - 12th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
21 questions
Illustrator - Tools
Quiz
•
9th - 11th Grade
21 questions
HTML5 & CSS3 Refresher
Quiz
•
7th - 12th Grade
22 questions
PowerPoint 2013
Quiz
•
9th - 12th Grade
15 questions
Attacks Threats & Vulnerabilities (C1)
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade