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

Quiz
•
Information Technology (IT)
•
University
•
Medium
Olzhas Toktassyn
Used 3+ 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
16 questions
4.1 Kod Arahan

Quiz
•
1st Grade - University
21 questions
Лекция 3. Текстовые строки. Ввод/вывод данных.

Quiz
•
University
24 questions
LAB_Quiz-2

Quiz
•
University
15 questions
Python - Revisão P2

Quiz
•
University
20 questions
quiz1B1

Quiz
•
7th Grade - University
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
15 questions
Bài 24

Quiz
•
10th Grade - University
23 questions
C++ Functions Quiz

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