Câu hỏi về lập trình Python
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Le Tuan
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình đầu tiên yêu cầu làm gì?
Nhập dãy số từ bàn phím.
Nhập dãy số từ file.
Nhập dãy số từ cơ sở dữ liệu.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đầu vào của file dữ liệu có dạng gì?
Chỉ có một dòng.
Hai dòng, dòng đầu là số lượng phần tử.
Nhiều dòng không quy định.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi sắp xếp dãy số, thuật toán nào được sử dụng?
Sắp xếp nổi bọt.
Sắp xếp nhanh (Quick sort).
Sắp xếp chèn.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đầu ra của chương trình sẽ được ghi vào đâu?
Màn hình.
File đầu ra.
Cơ sở dữ liệu.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để mở file trong Python?
open()
read()
write()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để ghi dữ liệu vào file, tham số nào cần phải sử dụng?
'r'
'w'
'a'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi đọc dữ liệu từ file, hàm nào được sử dụng để đọc một dòng?
readline()
read()
input()
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
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
20 questions
ÔN TẬP KÌ I TIN HỌC 4
Quiz
•
3rd Grade - University
20 questions
Công Nghệ ôn tập HK1
Quiz
•
4th Grade - University
20 questions
Luyện tập 2 (bài 3,4)
Quiz
•
12th Grade
20 questions
HỆ CSDL - ÔN LUYỆN
Quiz
•
12th Grade
18 questions
Quiz tổng hợp_Access
Quiz
•
10th Grade - University
20 questions
Tin học 4 - Bài 1 Phần cứng và phần mềm
Quiz
•
4th Grade - University
20 questions
Bài 2. Trí tuệ nhân tạo trong khoa học và đời sống.
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
