2F-3 | Python Quiz | 14/11/2024
Quiz
•
Information Technology (IT)
•
University
•
Medium
Olzhas Toktassyn
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will the following code output? print("Python", "Quiz", sep="*", end="123")
Python*Quiz123
Python*Quiz*123
Python * Quiz123
Python-Quiz-123
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How can you get integer input from the user and add 10 to it in one line of code?
input() + 10
str(input()) + 10
int(input()) + 10
float(input()) + 10
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the result of the expression 9 // 4.0 in Python?
2.0
2
3.0
3
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the sep parameter in the print() function do when used with multiple string arguments?
Changes the end character
Joins the strings with the given separator
Adds a space between strings
Causes an error
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which operator can be used to perform floor division in Python?
/
//
%
**
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the output of print(int("3.5") + 1)?
4.5
4
Error
5
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does print("A" * 3 + "B" * 2) produce as output?
ABBB
AABBB
AAABB
AAABBB
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
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
7th Grade - University
20 questions
Pengantar Teknologi Informasi_S1A
Quiz
•
University
20 questions
Unit-1 Introduction to Cloud Computing
Quiz
•
University
18 questions
2.2 Data Transmission
Quiz
•
University
15 questions
Uji Pemahaman Sistem Keamanan Jaringan
Quiz
•
12th Grade - University
15 questions
CC101: Quiz No. 1
Quiz
•
University
18 questions
Quiz 02-Finals-IT 222-FIAS
Quiz
•
University
20 questions
XI Kuis Analisis Data
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
