
Lập trình C- K11-B1415-Kieu Tep
Authored by Phuong Le
Education
11th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đặc điểm nào sau đây không phải của kiểu tệp?
Kiểu tệp lưu ở bộ nhớ trong
kiểu tệp lưu ở bộ nhớ ngoài
giúp tiết kiệm thời gian
lưu được lượng dữ liệu lớn
Answer explanation
vì tệp được lưu ở bộ nhớ ngoài
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn câu lệnh đúng khi khai báo biến f kiểu tệp
file *f;
FILE *f;
FILE f;
File *f;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chọn câu lệnh đúng:
Mở file vanban.txt để ghi dữ liệu vào
f=fopen("w", "vanban.txt");
f=fopen("vanban.txt", "r");
f=fclose("vanban.txt", "w");
f=fopen("vanban.txt", "w");
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chọn câu lệnh đúng:
Mở file vanban.txt để cập nhật dữ liệu vào
f=fopen("vanban.txt", "r");
f=fopen("vanban.txt", "r+");
f=fclose("vanban.txt", "r+");
f=fopen("vanban.txt", "a");
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chọn câu lệnh đúng:
Mở file vanban.txt để ghi tiếp dữ liệu vào cuối tệp
f=fopen("a", "vanban.txt");
f=fopen("vanban.txt", "r");
f=fclose("vanban.txt", "r+");
f=fopen("vanban.txt", "a");
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để ghi xâu vào tệp ta dùng lệnh
fputs...
fgets....
puts...
gets...
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đọc tệp
fputs...
fgets....
puts...
gets...
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?