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
Để khai báo thư viện ta sử dụng từ khóa nào?
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 Wayground
10 questions
LUYỆN TẬP - TIN 10 - BÀI 17

Quiz
•
10th Grade
15 questions
Python Basics Quiz

Quiz
•
9th Grade
10 questions
G10.W20 - Review biến, lệnh gán, lệnh print

Quiz
•
10th Grade
14 questions
Cấu trúc rẽ nhánh

Quiz
•
11th Grade
13 questions
Python

Quiz
•
9th Grade
15 questions
Bài 18: Các lệnh vào ra đơn giản

Quiz
•
11th Grade
15 questions
Ôn tập Python

Quiz
•
9th - 12th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade