
Kiến thức lập trình Python cơ bản
Authored by Dũng Nguyễn Quốc
Information Technology (IT)
7th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
42 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến trong Python được sử dụng để làm gì?
Chia sẻ dữ liệu.
Tạo biến mới.
Lưu trữ dữ liệu.
Xóa dữ liệu.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo biến trong Python như thế nào?
Khai báo biến bằng cách định nghĩa kiểu dữ liệu trước, ví dụ: int x = 10.
Khai báo biến bằng cách nhập giá trị từ người dùng, ví dụ: x = input().
Khai báo biến bằng cách gán giá trị cho tên biến, ví dụ: x = 10.
Khai báo biến bằng cách sử dụng từ khóa var, ví dụ: var x = 10.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu nào sau đây là kiểu dữ liệu số trong Python?
int, float, complex
byte, double, set
char, decimal, tuple
string, boolean, list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách kiểm tra kiểu dữ liệu của một biến trong Python là gì?
Sử dụng hàm check() để xác định kiểu dữ liệu.
Sử dụng hàm type() để kiểm tra kiểu dữ liệu.
Dùng lệnh print() để in ra kiểu dữ liệu.
Áp dụng hàm data_type() để kiểm tra kiểu dữ liệu.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến nào sau đây là hợp lệ trong Python?
valid-variable-name
_validVariableName123
123_invalidVariableName
validVariableName!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if trong Python được sử dụng để làm gì?
Tạo một hàm mới trong Python.
Kiểm tra điều kiện và thực thi khối lệnh nếu điều kiện đúng.
Thực hiện vòng lặp qua các phần tử trong danh sách.
Kết thúc chương trình khi gặp lỗi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp của câu lệnh if-elif-else trong Python như thế nào?
if condition2: # code block 2
if condition1: # code block 1
if condition1: # code block 1 elif condition2: # code block 2 else: # code block 3
if condition1: # code block 1 elif condition3: # code block 3
Access all questions and much more by creating a free account
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
45 questions
Assessment on Computational Thinking
Quiz
•
7th Grade
44 questions
IC3 GS6 Level 2 - Chủ đề 1 (Test 1)
Quiz
•
7th Grade
38 questions
青少年软件编程(Python-3)202206
Quiz
•
7th Grade
40 questions
Quiz Kelas 7
Quiz
•
7th Grade
44 questions
Kiến thức về rừng và cây trồng
Quiz
•
7th Grade
42 questions
Ứng dụng tin học trong cuộc sống
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
22 questions
distributive property
Quiz
•
7th Grade
18 questions
Angle Relationships
Quiz
•
7th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
20 questions
How Some Friendships Last — and Others Don’t Video Questions
Quiz
•
7th Grade
18 questions
Handbook Refresher Quiz
Quiz
•
7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade