
Kiểu dữ liệu danh sách - Xâu kí tự
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Kiều Nguyễn
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lệnh xóa một phần tử của danh sách A có chỉ số i là:
list.Del(i)
A.Del(i)
Del A[i]
A.Del[i]
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
........ trong một danh sách được bắt đầu từ 0.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh để thêm một phần tử vào danh sách A là:
A.append(element)
add(A, element)
A.addElement(element)
append(A, element)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, lệnh nào được sử dụng để tính độ dài của một danh sách?
size(A)
length(A)
len(A)
count(A)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s = "Đảng CS Việt Nam". Hãy cho biết độ dài của xâu s?
13
14
15
16
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Có thể truy cập từng kí tự của xâu thông qua chỉ số
Chỉ số bắt đầu từ 0
Có thể thay đổi từng kí tự của một xâu
Python không có kiểu dữ liệu kí tự
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau cho kết quả là bao nhiêu?
name="codename"
print(name[0])
"C"
"o"
"c"
Chương trình bị lỗi
Create a free account and access millions of resources
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?
Similar Resources on Wayground
10 questions
Lesson 1 Introduction to Database System
Quiz
•
10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
10 questions
Alapismeretek
Quiz
•
7th - 12th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
ExamenHojasdecalculo
Quiz
•
10th Grade
10 questions
𝐂𝐡𝐚𝐩𝐭𝐞𝐫 𝟐—The Blueprints for Modern Computers
Quiz
•
10th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
