
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
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade