Trong Python, danh sách (list) được định nghĩa bởi dấu ngoặc nào? Dấu ngoặc vuông [], Dấu ngoặc nhọn {}, Dấu ngoặc đơn (), Dấu ngoặc kép ""

Bộ 5: Python: list, tuple, dict, json, function

Flashcard
•
Information Technology (IT)
•
University
•
Hard
Quizizz Content
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Dấu ngoặc vuông []
Answer explanation
2.
FLASHCARD QUESTION
Front
Điểm khác biệt chính giữa tuple và list trong Python là gì?
Back
Tuple là immutable, list là mutable.
Answer explanation
3.
FLASHCARD QUESTION
Front
Để tạo một tuple rỗng trong Python, cú pháp đúng là gì? Options: (), [], {}, (,), None
Back
()
Answer explanation
4.
FLASHCARD QUESTION
Front
Dictionary trong Python được sử dụng để lưu trữ dữ liệu dưới dạng?
Back
các cặp key-value
Answer explanation
5.
FLASHCARD QUESTION
Front
Để chuyển đổi một chuỗi JSON thành đối tượng Python, ta sử dụng module nào?
Back
json
Answer explanation
6.
FLASHCARD QUESTION
Front
Hàm json.dumps() được sử dụng để làm gì trong Python?
Back
Chuyển đổi đối tượng Python thành chuỗi JSON.
Answer explanation
7.
FLASHCARD QUESTION
Front
Để định nghĩa một hàm trong Python, ta sử dụng từ khóa nào?
Back
def
Answer explanation
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Computer Programming

Flashcard
•
University
10 questions
Chủ đề 4 - Tin 8

Flashcard
•
KG
15 questions
Phương trình mũ, phương trình logarit

Flashcard
•
12th Grade
19 questions
AVINYA 2K25

Flashcard
•
University
15 questions
Computer Science 1301 Final Questions

Flashcard
•
University
15 questions
CSE 102 Exam 3 Practice

Flashcard
•
University
12 questions
Python Functions and Docstrings Flashcard

Flashcard
•
University
20 questions
Redis and MongoDB

Flashcard
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University