2F-3 | Python Quiz | 14/11/2024

Quiz
•
Information Technology (IT)
•
University
•
Medium
Olzhas Toktassyn
Used 1+ 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
Similar Resources on Wayground
25 questions
Pyhton Debugging Questions

Quiz
•
University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Quiz
•
11th Grade - University
20 questions
Quiz Pra UAS Algoritma Python

Quiz
•
University
20 questions
Uji Pemahaman Array dan Fungsi

Quiz
•
11th Grade - University
20 questions
algoritma struktur data 20 maret

Quiz
•
University
15 questions
Bài 30

Quiz
•
10th Grade - University
15 questions
Microsoft Word Processing Skills Assessment

Quiz
•
10th Grade - University
17 questions
Quiz de Programação em C

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University