

IT11_Bài 4.1_Dữ liệu mảng hai chiều
Presentation
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Nguyễn Hương
Used 1+ times
FREE Resource
12 Slides • 5 Questions
1
2
3
4
5
6
7
8
9
Multiple Choice
Cú pháp nào dưới đây đúng để truy cập phần tử tại hàng 2, cột 3 của mảng hai chiều A?
A[2][3]
B. A[1][2]
A[2,3]
A(2)(3)
10
Multiple Choice
Mảng hai chiều là gì?
Một tập hợp các biến toàn cục.
Một danh sách chứa các phần tử có kiểu dữ liệu khác nhau.
Một tập hợp các giá trị được sắp xếp không có thứ tự.
Một mảng mà mỗi phần tử là một mảng một chiều khác.
11
Multiple Choice
Mảng hai chiều là gì? Cho đoạn mã sau:
A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
print(A[0][2])
Kết quả khi chạy chương trình là gì?
1
2
3
9
12
Multiple Choice
Cách nào dưới đây là đúng để duyệt qua tất cả phần tử của mảng hai chiều A?
A. for i in A: for j in i: print(j)
B. for i in range(len(A)): print(A[i])
C. for i in range(len(A)): for j in range(len(A[i])): print(A[i][j])
D. Cả A và C đều đúng
13
Multiple Choice
Khi làm việc với mảng hai chiều trong Python, mô hình dữ liệu nào thường được sử dụng?
Tuple lồng nhau
List trong list
Dictionary lồng nhau
Set trong set
14
15
16
17
Show answer
Auto Play
Slide 1 / 17
SLIDE
Similar Resources on Wayground
11 questions
Variety
Presentation
•
KG
12 questions
Dimensional Analysis
Presentation
•
11th Grade
10 questions
Cable cruzado RJ45
Presentation
•
11th Grade
13 questions
MÓDULO I SUBMÓDULO I CONCEPTOS BÁSICOS Y METODOLOGÍAS
Presentation
•
10th - 11th Grade
12 questions
Prepositions
Presentation
•
3rd Grade
12 questions
Way Maker
Presentation
•
KG
12 questions
TRẮC NGHIỆM BÀI 17 TIN HỌC 11
Presentation
•
11th Grade
14 questions
AP CSP Unit 1 Test Review
Presentation
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade