
KIỂU TỆP
Authored by Trịnh Trịnh Tường Vy
Computers
11th Grade
Used 44+ 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
Để gắn tên tệp cho tên biến tệp ta sử dụng câu lệnh theo cú pháp:
assign(<biến tệp>,<tên tệp>);
<tên tệp> := <tên biến tệp>;
<biến tệp> := <tên tệp>;
assign(<tên tệp>,<biến tệp>);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dữ liệu kiểu tệp:
Sẽ bị mất hết khi tắt máy
Sẽ bị mất hết khi tắt điện đột ngột.
Không bị mất khi tắt máy hoặc mất điện
Lưu ở bộ nhớ RAM
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào dưới đây là đúng?
A. Các kiểu dữ liệu đều được lưu trữ ở bộ nhớ trong (RAM).
A. Dữ liệu kiểu tệp được lưu trữ ở bộ nhớ ngoài (đĩa mềm, đĩa cứng, CD, thiết bị nhớ Flash).
Các dữ liệu trong máy tính đều bị mất đi khi tắt nguồn điện
Dữ liệu kiểu tệp được lưu trữ ở bộ nhớ trong
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Pascal để khai báo hai biến tệp văn bản f1, f2 ta viết như sau
var f1; f2 : text
Var f1 f2 : text
Var f1: f2 : text
Var f1, f2 : text
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho các thao tác với tệp sau
(1) Mở tệp để ghi dữ liệu ; (2) Mở tệp để đọc dữ liệu; (3) Khai báo và gán biến tệp với tên tệp; (4) Ghi dữ liệu; (5) Đóng tệp; (6) Đọc dữ liệu
Hãy chọn trình tự các thao tác đúng để ghi dữ liệu vào tệp:
(3) -> (1) -> (4) -> (5);
(1) -> (3) -> (4) -> (5);
(2) -> (6) -> (4) -> (3);
(3) -> (2) -> (6) -> (5);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho chương trình sau:
Var f: text;
Begin
Assign (f,'D:\Khoi11.txt'); Rewrite(f); Write(f,(105+304-234)); Close(f);
End.
105 304 234
105+304-234
175
105304234
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tệp f có dữ liệu 5 9 15 để đọc và ghi các giá trị này vào 3 biến x, y, z ta sử dụng câu lệnh:
Read(f, x, y, z);
Read(f, ‘x’, ‘y’, ‘z’);
Read(x, y, z);
Read(‘x’, ‘y’, ‘z’);
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?
Similar Resources on Wayground
13 questions
minecraft : )
Quiz
•
1st Grade - Professio...
10 questions
Podstawy Pythona
Quiz
•
9th - 12th Grade
8 questions
ทบทวนการเขียนโปรแกรมแบบมีเงื่อนไขและการออกแบบหน้าโปรแกรมทำงาน
Quiz
•
11th Grade
10 questions
TỪ BÀI TOÁN ĐẾN CHƯƠNG TRÌNH
Quiz
•
11th Grade
15 questions
Bimestral 2P
Quiz
•
11th Grade
12 questions
Computer Basics
Quiz
•
6th - 12th Grade
14 questions
Kiểm tra kiến thức tìm kiếm thông tin
Quiz
•
5th Grade - University
10 questions
Bài 15. Bảo mật và an toàn hệ cơ sở dữ liệu
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
15 questions
ACT Reading Practice
Quiz
•
11th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade