
Bài tập python cơ bản
Authored by Vũ Giang
Computers
9th - 12th Grade
Used 81+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để khai báo biến x là kiểu xâu, ta khai báo như thế nào là đúng nhất:
x=int(input(’mời nhập’))
x=float(input(’mời nhập’))
x=string(input(’mời nhập’))
x=input(’mời nhập’)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Môi trường lập trình trợ giúp soạn thảo, kiểm tra từng câu lệnh viết đúng chưa, chuyển các câu lệnh sang ngôn ngữ mà máy hiểu được gọi là
Ngôn ngữ máy
Ngôn ngữ bậc cao
Hợp ngữ
Ngôn ngữ hệ thống
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Viết câu lệnh hiển thị dòng chữ “Lập trình cùng NNLT Python thật dễ ”
print(‘Lập trình cùng NNLT Python thật dễ’)
print(‘Lập trình cùng NNLT Python thật dễ’);
prin(‘Lập trình cùng NNLT Python thật dễ’)
print(Lập trình cùng NNLT Python thật dễ)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho bài toán sau
Tìm tuổi của mẹ. Biết rằng năm nay con 12 tuổi và con ít hơn mẹ 21 tuổi
Viết câu lệnh hiển thị tuổi của mẹ trên màn hình bằng NNLT Python.
12+21
print(12+21)
print(12+21);
print(‘12+21’)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy chỉ ra tên biến SAI trong các tên dưới đây
1a
_1a
_a
a1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ký hiệu phép toán chia lấy phần dư trong Python là
% (phần trăm)
: (dấu 2 chấm)
/ (xuyệt)
//
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức số học nào sau đây là SAI trong Python?
(20 - 3)(20 + 2)
(20 // 3)*(5 + 8)
20 % 3 * (5 + 8)
20 ** 3*(5 + 8)
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
40 questions
PTS Informatika kelas 9 - SMPN 3 JKT
Quiz
•
9th Grade
45 questions
SOAL PAT AIJ KELAS XI TKJ
Quiz
•
11th Grade
40 questions
SISTEMA E INSTALACIÓN DE SOFTWARE
Quiz
•
10th Grade
44 questions
Electricidad y electrónica
Quiz
•
6th - 12th Grade
40 questions
ĐỀ CƯƠNG ÔN TẬP CUỐI KÌ 1_TIN HỌC 10_KNTT
Quiz
•
12th Grade
40 questions
Computer Science Pre-Assessment Quiz
Quiz
•
9th - 12th Grade
45 questions
Comptia Network+ chapter 1-3 exam
Quiz
•
11th Grade - University
40 questions
Visual Basic Kelas XI Quiz
Quiz
•
11th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade