
kiểu xâu

Quiz
•
Computers
•
11th Grade
•
Medium
Ngô T. Phương Lan
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng
1
2
0
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết độ dài của xâu s ta dùng hàm:
str(s)
len(s)
length(s)
s.len()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s1=’ab’, xâu s2=’a’ với cú pháp: s2 in s1 cho kết quả là:
true
True
False
false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
srt()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in thường từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
str()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st =’abc’, xâu st có độ dài là:
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo xâu s rỗng ta dùng lệnh:
s=’0’
s=“”
s=[]
s=0
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
TIN HỌC 11 KNTT- TX1-HK2

Quiz
•
11th Grade
23 questions
Ôn tập kì Xuân Tin học 10. 2

Quiz
•
10th Grade - University
25 questions
tin 11 bài 12

Quiz
•
11th Grade
15 questions
Lapt 2.

Quiz
•
11th Grade
20 questions
KT BÀI CŨ

Quiz
•
9th - 12th Grade
25 questions
PTS Informatika

Quiz
•
11th Grade
20 questions
Unit 7 Review

Quiz
•
9th - 12th Grade
20 questions
Tin 11 - Bài 3 - Câu hỏi trắc nghiệm

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade