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
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()
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
TRAC NGHIEM 12

Quiz
•
12th Grade
16 questions
Ôn tập Tin học Lớp 3_CKI

Quiz
•
3rd Grade - University
25 questions
Kiểm tra thường xuyên 2 - Tin 11 - 2023 - 2024

Quiz
•
9th - 12th Grade
18 questions
Tin học

Quiz
•
12th Grade
20 questions
Đề cương CKII - Lớp 5 - TH Minh Quang A

Quiz
•
5th Grade - University
20 questions
KIỂM TRA CUỐI KÌ 1 TIN 7 ( 24 - 25 )

Quiz
•
7th Grade - University
22 questions
Ôn Tập Cuối Học Kỳ 1

Quiz
•
6th Grade - University
22 questions
TIN 12_F4_TẠO DANH SÁCH BẢNG BIỂU

Quiz
•
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
20 questions
Digital Citizenship

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

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

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

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade