Để khai báo thư viện ta sử dụng từ khóa nào?
TRẮC NGHIỆM PYTHON

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Nguyen B2111314
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
uses
import
include
attach
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, phép toán chia lấy phần nguyên là:
div
mod
//
%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, cấu trúc rẽ nhánh dạng thiếu là:
if <điều kiện> : <câu lệnh >
IF <điều kiện> : <câu lệnh >
if <điều kiện> then <câu lệnh >;
IF <điều kiện> THEN <câu lệnh >;
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
def chan_le():
number = int(input("Nhập vào một số: "))
if(number%2==0):
print(number, "là số chẵn")
_____(4)_____
print(number, "là số lẻ") chan_le()
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
a = int(.............("Nhập a: "))
b = int(.............("Nhập b: "))
if a<=0:
print("Vô nghiệm")
else:
print(-b/a)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Trong NNLT Python, để đưa kết quả ra màn hình ta sử dụng thủ tục nào?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, để nhập số thực cho biến n, câu lệnh nào sau đây đúng?
n=input(‘Nhập 1 số thực:’)
float(input(‘Nhập số thực n:’))
n=float(input(‘Nhập 1 số thực:’))
n=int(input(‘Nhập 1 số thực:’))
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Bài 32 - Ôn tập lập trình Python

Quiz
•
10th Grade
10 questions
Bài tập trắc nghiệm C++

Quiz
•
3rd - 12th Grade
10 questions
Bài tập thực hành 1 (tiết 2)

Quiz
•
12th Grade
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
10 questions
THỰC HÀNH SỐ 1

Quiz
•
12th Grade
10 questions
Lớp 10: Câu hỏi TN củng cố kiến thức

Quiz
•
10th Grade
11 questions
Python Quiz

Quiz
•
12th Grade
15 questions
Ôn tập Thi HK1

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University