Trong Python, kiểu dữ liệu nào dùng để lưu trữ chuỗi văn bản?

Câu hỏi trắc nghiệm về Python

Quiz
•
Other
•
10th Grade
•
Medium
HP FPT
Used 5+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
float
str
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép chia lấy dư trong Python là ký hiệu nào?
/
//
%
**
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để nhập dữ liệu từ bàn phím?
scanf()
input()
cin
get()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh print("Hello" + "World") sẽ in ra:
Hello + World
HelloWorld
Hello World
Lỗi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào đúng về biến trong Python?
Biến phải khai báo kiểu dữ liệu trước khi dùng
Biến không cần khai báo kiểu trước
Biến có thể đặt trùng từ khóa
Không thể thay đổi giá trị biến
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh x = int("123") có ý nghĩa gì?
Ép kiểu chuỗi sang float
Ép kiểu chuỗi sang int
Ép kiểu int sang chuỗi
Lỗi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh s = "Python" thì s[0] có giá trị gì?
P
y
n
Lỗi
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Bài tập TNKQ số 3

Quiz
•
9th - 12th Grade
28 questions
Kiểm Tra Giữa Kỳ Khối 10

Quiz
•
10th Grade
35 questions
TIN HK2

Quiz
•
10th Grade
30 questions
GDKT&PL 10

Quiz
•
10th Grade - University
25 questions
hehetin

Quiz
•
10th Grade
35 questions
Tin HK2

Quiz
•
9th - 12th Grade
26 questions
ÔN TẬP GIỮA KỲ 2 _TIN 6

Quiz
•
1st - 12th Grade
25 questions
Tin học

Quiz
•
10th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade