Lệnh nào được sử dụng để nhập dữ liệu từ bàn phím trong Python?

kiemtraTin

Quiz
•
Computers
•
Professional Development
•
Hard
Le B2205354
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
A. print()
B. input()
C. read()
D. scan()
2.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
Để xuất dữ liệu ra màn hình trong Python, lệnh nào được sử dụng?
A. echo()
B. output()
C. print()
D. display()
3.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
Khi sử dụng lệnh input(), kiểu dữ liệu được trả về là gì?
A. Số nguyên
B. Chuỗi
C. Danh sách
D. Boolean
4.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
Làm thế nào để nhập một số nguyên từ người dùng trong Python?
A. số = input()
B. số = int(input())
C. số = float(input())
D. số = str(input())
5.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
Câu lệnh nào được sử dụng để chuyển đổi một chuỗi thành số thực trong Python?
A. float()
B. str()
C. int()
D. number()
6.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
Trong Python, lệnh nào được sử dụng để đọc dữ liệu từ một tệp?
A. readfile()
B. open()
C. load()
D. fetch()
7.
MULTIPLE CHOICE QUESTION
20 sec • 12 pts
Làm thế nào để kết hợp nhiều chuỗi trong lệnh print()?
A. print("Hello" + " World")
B. print("Hello" & " World")
C. print("Hello" * " World")
D. print("Hello", "World")
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Послеолимпиадный квиз!

Quiz
•
Professional Development
16 questions
Trắc nghiệm kiểu xâu

Quiz
•
Professional Development
10 questions
Computer components

Quiz
•
Professional Development
10 questions
IC3 Internet và các nguyên tắc cơ bản về mạng

Quiz
•
Professional Development
10 questions
Nguyenyen

Quiz
•
Professional Development
10 questions
DSpace Quiz 1

Quiz
•
Professional Development
8 questions
BIS - Khái niệm cơ bản

Quiz
•
Professional Development
7 questions
Hàm trong Python

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade