TRẮC NGHIỆM PYTHON
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Nguyen B2111314
Used 7+ times
FREE Resource
Enhance your content in a minute
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
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
10 questions
CỦNG CỐ KIẾN THỨC BÀI 2 - TIN HỌC 12
Quiz
•
10th - 12th Grade
10 questions
NHÓM HÀM CƠ SỞ DỮ LIỆU
Quiz
•
11th Grade
10 questions
BÀI KIỂM TRA 15P HK2 TIN HỌC 11
Quiz
•
11th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
Java Fundamentals
Quiz
•
12th Grade
15 questions
daily test 10
Quiz
•
10th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
