
Kiến thức về hàm print() trong Python
Quiz
•
Information Technology (IT)
•
2nd Grade
•
Medium
Tâm Đức
Used 2+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm print() trong Python dùng để làm gì?
Tính toán giá trị và trả về kết quả
In ra màn hình thông tin hoặc kết quả
Lưu trữ thông tin trong biến
Dừng chương trình
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau sẽ là gì? print("Hello", "World")
HelloWorld
Hello World
Error
World Hello
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào sau đây giúp in nhiều giá trị trong Python mà không có khoảng trắng giữa chúng?
print("Hello", "World", sep=",")
print("Hello", "World", end="")
print("Hello", "World", sep="")
print("Hello", "World", end=" ")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì? print("Hello", "World", end="!")
Hello World
Hello World!
Hello World!!
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm print() trong Python có thể in được loại dữ liệu nào?
Chỉ số nguyên
Chỉ chuỗi
Chỉ danh sách
Tất cả các loại dữ liệu
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây sử dụng print() để in ra một dòng trống?
print()
print(" ")
print("")
print(None)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Python", "is", "fun", sep="-")
Python-is-fun
Python is fun
Error
Python--is--fun
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau sẽ là gì? print("Hello", end=" ") print("World")
HelloWorld
Hello World
Error
HelloWorld!
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì? print("Welcome to Python", 2025)
Welcome to Python2025
Welcome to Python 2025
Error
2025 Welcome to Python
Similar Resources on Wayground
10 questions
Koding dan Kecerdasan Buatan
Quiz
•
12th Grade
10 questions
Informatika Kelas 8
Quiz
•
8th Grade
10 questions
Se liga 1º trimestre 1º Ano
Quiz
•
10th Grade
10 questions
TRẮC NGHIỆM VUI PYTHON
Quiz
•
10th Grade
10 questions
TEST_10
Quiz
•
University
10 questions
Quiz Chapter 3
Quiz
•
University
10 questions
BÀI 19. THỰC HÀNH TẠO LẬP CƠ SỞ DỮ LIỆU VÀ CÁC BẢNG
Quiz
•
11th Grade
10 questions
Kuis BK : Strategi Algoritmik
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
10 questions
Verbs
Quiz
•
2nd Grade
7 questions
Compare and Classify Quadrilaterals
Lesson
•
2nd - 4th Grade
10 questions
2-Digit Addition with Regrouping
Quiz
•
2nd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
30 questions
Multiplication Facts 1-12
Quiz
•
2nd - 5th Grade
16 questions
American Revolution
Interactive video
•
1st - 5th Grade
20 questions
Sentence Fragments and Complete Sentences
Quiz
•
2nd - 4th Grade
