
Bộ 4: Python cơ bản: variable, for loop, if-elif-else

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

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Trong Python, lệnh nào dùng để gán giá trị 10 cho biến x?
Back
x = 10
Answer explanation
2.
FLASHCARD QUESTION
Front
Trong Python, lệnh nào sau đây dùng để kiểm tra nếu x lớn hơn 5?
Back
if x > 5:
Answer explanation
3.
FLASHCARD QUESTION
Front
Trong Python, range(5) tạo ra dãy số nào?
Back
0, 1, 2, 3, 4
Answer explanation
4.
FLASHCARD QUESTION
Front
Trong Python, câu lệnh nào đúng để in từng ký tự trong chuỗi s?
Back
for c in s:
Answer explanation
5.
FLASHCARD QUESTION
Front
Phép so sánh nào dùng để kiểm tra x khác 0 trong Python?
Back
x != 0
Answer explanation
6.
FLASHCARD QUESTION
Front
Kết quả của biểu thức 3 * 2 ** 2 là gì?
Back
3 * (2 ** 2) = 12
Answer explanation
7.
FLASHCARD QUESTION
Front
Điều kiện nào đúng để kiểm tra n nằm trong khoảng [1, 10]? Options: if 1 <= n and n <= 10:, if 1 <= n <= 10:, if n in range(1,10):, if n in [1..10]:
Back
if 1 <= n <= 10:
Answer explanation
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Kiến thức cơ bản về Python

Flashcard
•
Professional Development
12 questions
GĐ01

Flashcard
•
University
10 questions
Ôn tập chủ đề F

Flashcard
•
KG
12 questions
Ôn tập Mobirise

Flashcard
•
12th Grade
10 questions
Quản trị nhân lực

Flashcard
•
University
10 questions
SQL Challenge bài 1

Flashcard
•
University
11 questions
Kiểm Tra Tin Học 9

Flashcard
•
KG - University
10 questions
Football

Flashcard
•
KG
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University