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

Quiz về Tin học 10: Các lệnh vào ra đơn giản

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Th Đinh
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print()
input()
scan()
read()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi nào cần sử dụng lệnh float(input())?
Khi nhập danh sách
Khi nhập số nguyên
Khi nhập chuỗi
Khi nhập số thực
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây sẽ báo lỗi khi thực hiện?
y = int('abc')
z = float('123.45')
a = str(100)
x = input('Nhập số x: ')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu nào không phải là kiểu cơ bản trong Python?
Số nguyên
Danh sách
Chuỗi
Số thực
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào được sử dụng để chuyển đổi kiểu dữ liệu từ chuỗi sang số nguyên?
list()
str()
int()
float()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi nhập dữ liệu kiểu số thực, lệnh nào là đúng?
x = input('Nhập số: ')
x = float(input('Nhập số: '))
x = str(input('Nhập số: '))
x = int(input('Nhập số: '))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào không phải là lệnh vào ra trong Python?
input()
print()
write()
open()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Ôn tập biến và lệnh gán trong Python

Quiz
•
10th Grade
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
15 questions
BÀI 26: HÀM TRONG PYTHON

Quiz
•
10th Grade
10 questions
Bài 2 - Tin học 10

Quiz
•
10th Grade
15 questions
Bài 26

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

Quiz
•
10th Grade - University
10 questions
Ôn tập kiểm tra

Quiz
•
10th Grade
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz
•
7th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade