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

Flashcard
•
Information Technology (IT)
•
University
•
Hard
Quizizz 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
Câu hỏi về kỹ năng vận động trẻ 5-6 tuổi

Flashcard
•
University
10 questions
Bài 17. Tách chát ra khỏi hỗn hợp

Flashcard
•
KG
10 questions
Flashcard về Lý thuyết 6 ERP

Flashcard
•
University
10 questions
Trắc nghiệm về kinh tế vĩ mô

Flashcard
•
University
10 questions
Kiểm tra chủ đề 1

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

Flashcard
•
KG
10 questions
Chương 3: Hệ Thống I/O

Flashcard
•
University
9 questions
ÔN TẬP AI BUỔI 1

Flashcard
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade