2F-1 | Python Quiz | 14/10/2024

Quiz
•
Information Technology (IT)
•
University
•
Medium
Olzhas Toktassyn
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will the following code print? print("Hello", "World", sep="-")
Hello-World
Hello World
Hello- World
Hello -World
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of these functions is used to get input from the user in Python?
print()
input()
int()
float()
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the result of 5 // 2 in Python?
2.5
2
3
2.0
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the end parameter in the print() function do?
Changes the default separator
Ends the program
Specifies what is printed at the end
Adds a new line at the end
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which operator is used for exponentiation in Python?
/
*
**
%
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the output of print(int(3.7))?
3
4
3.7
Error
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will print("A", "B", "C", sep="*") output?
A*B*C
ABC
A B C
A* B* C
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quiz tentang Google Colab

Quiz
•
10th Grade - University
25 questions
UTS Struktur dan Organisasi Data

Quiz
•
University
15 questions
Lista de Exercícios – Vetores em Java - Parte I

Quiz
•
University
19 questions
Introducción Django

Quiz
•
University
15 questions
Python Loop

Quiz
•
University
20 questions
Повторение 1 рейтинга

Quiz
•
University
15 questions
Bài 27

Quiz
•
10th Grade - University
15 questions
Assembly Language and MIPS Architecture Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University