TRẮC NGHIỆM PYTHON

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Nguyen B2111314
Used 7+ 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
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình

Quiz
•
9th - 12th Grade
8 questions
10.1_KIỂM TRA THƯỜNG XUYÊN 16/2/23

Quiz
•
10th Grade
10 questions
Tin học 10 - Bài 29

Quiz
•
10th Grade - University
10 questions
KIỂM TRA THƯỜNG XUYÊN KHỐI 10_HKII

Quiz
•
10th Grade
9 questions
ПИТОН

Quiz
•
9th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade