
Py1.1-2. Scalar Type
Authored by Dat Huu
Science
Professional Development
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu nào lưu trữ các ký tự đơn lẻ?
int
float
str
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để tìm kiểu dữ liệu của một biến trong Python?
define()
type()
data()
showType()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép toán nào sau đây sẽ cho kết quả là một số thập phân?
3 + 4
3 * 4
5 / 2
Tất cả các phép toán trên
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chuỗi Python (str) là:
Có thể thay đổi
Không thể thay đổi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để lấy độ dài của một chuỗi?
getLong()
len()
size()
getLength()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để truy cập một ký tự cụ thể trong chuỗi bằng cách sử dụng vị trí (chỉ số) của nó?
slice(index)
string[index]
string(index)
getChar(index)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lập chỉ mục âm trong chuỗi Python bắt đầu từ:
Đầu chuỗi
Cuối chuỗi
Giữa chuỗi
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?