
Lập trình C- K11-B1415-Kieu Tep
Quiz
•
Education
•
11th Grade
•
Medium
Phuong Le
Used 5+ times
FREE Resource
Student preview

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...
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade