Chương trình đầu tiên yêu cầu làm gì?
Câu hỏi về lập trình Python

Quiz
•
Computers
•
12th Grade
•
Hard
Le Tuan
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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()
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
B1. Một số khái niệm cơ bản

Quiz
•
12th Grade
20 questions
Bài 13 đến 15

Quiz
•
12th Grade - University
20 questions
Bài 8 - Tin 12

Quiz
•
12th Grade
20 questions
K12 1 TIẾT HỌC KỲ 1 (2024-2025)

Quiz
•
12th Grade
18 questions
Tin học 12 - Bài 10: CSDL quan hệ

Quiz
•
12th Grade
20 questions
kiểm tra tin học 6a

Quiz
•
9th Grade - University
16 questions
ÔN TẬP TIN 6 HKI

Quiz
•
1st - 12th Grade
17 questions
Email Lớp 6

Quiz
•
6th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade