
Python Part 1
Authored by Charl Fourie
Computers
7th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of the following code?
print("Hello" + "World")
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of the following code?
msg = "Hi there"
print(msg)
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
a = input('Enter a number: ')
b = input('Enter another number: ')
print(a + b)
User inputs:
Enter a number: 5
Enter another number: 6
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of the following code?
print(len("Hello World!"))
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of the following code?
print("Hi" * 3 + "1" * 2)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of the following code?
x = "5"
y = 2
print(x * y)
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of the following code?
name = "Harry"
surname = "Potter"
print(len(name + " " + surname))
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
13 questions
Контрольная Программирование 8 класс
Quiz
•
8th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
10 questions
analisis data dan visualisasi data
Quiz
•
10th Grade
15 questions
INFORMATIKA_8
Quiz
•
7th - 9th Grade
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - University
12 questions
website design elements
Quiz
•
12th Grade
10 questions
TIN 11- KIỂU XÂU
Quiz
•
11th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th 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