
Kiến thức về hàm print() trong Python
Quiz
•
Information Technology (IT)
•
2nd Grade
•
Practice Problem
•
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
BASIC Programming (I)
Quiz
•
10th Grade
12 questions
CLC Lesson 7 Quiz
Quiz
•
University
10 questions
Quiz Proses Komputasi dan Data Bersih
Quiz
•
10th Grade
12 questions
Uji Pemahaman Microsoft Word
Quiz
•
10th Grade - University
10 questions
Asessmen Awal BAB 3
Quiz
•
7th Grade
10 questions
PRETEST SCRATCH
Quiz
•
7th Grade
10 questions
Refresh Python
Quiz
•
University
10 questions
QUIZ 2 PLC
Quiz
•
10th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
15 questions
Fun Christmas Trivia for Kids
Quiz
•
2nd Grade
26 questions
Christmas Songs
Quiz
•
2nd - 3rd Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
2nd Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
1st - 3rd Grade
