
Kiến thức Python cơ bản
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Xuân Quang
Used 3+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để chú thích trên nhiều dòng, Python sử dụng dấu?
#<các dòng chú thích>
###<các dòng chú thích>
“ <các dòng chú thích> ”
“ “ “ <các dòng chú thích> ” ” ”
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xuất được câu Lop 8 Tran Dai Nghia ra màn hình, người dùng sử dụng lệnh?
print (Lop 8 Tran Dai Nghia)
print (“Lop 8 Tran Dai Nghia”)
print ()
print (#Lop 8 Tran Dai Nghia#)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh: a = input() thì kiểu dữ liệu của biến a là?
str
int
float
list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm để kiểm tra kiểu dữ liệu của biến a là?
str(a)
tyep(a)
tepy(a)
type(a)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh print(54//3%5) cho kết quả là?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đổi kiểu dữ liệu của biến a về kiểu số thực ta dùng lệnh?
b = float(a)
a = float(a)
a = int(a)
b = int(a)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để nhập số tự nhiên từ bàn phím, ta dùng lệnh:
n = float(input(“Nhập số tự nhiên:”))
n = input(“Nhập số tự nhiên:”))
n = int(input(“Nhập số tự nhiên:”))
n = int(input(“Nhập số tự nhiên:”)
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
Computer Architecture : Basic
Quiz
•
8th - 10th Grade
37 questions
Banana Tales - CodeMonkey
Quiz
•
6th - 8th Grade
40 questions
TSDE Final Exam Review
Quiz
•
8th Grade
36 questions
Ôn tập thực hành thi chứng chỉ ICDL - Cơ bản về CNTT và TT
Quiz
•
6th - 8th Grade
35 questions
ASLM Genap Analisis Data
Quiz
•
8th Grade
40 questions
ปลายภาควิทยาการคำนวณ ม.3
Quiz
•
6th - 8th Grade
35 questions
Online Ethics
Quiz
•
8th - 9th Grade
40 questions
Prof Comm Final Exam Review
Quiz
•
8th 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
