
Kiem_tra_15phut_Tin_11_Tep
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Thanh Thi
Used 26+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Pascal câu lệnh Var <tên biến tệp> : Text ; có ý nghĩa gì ?
Thủ tục gán tên tệp cho tên biến tệp.
Thủ tục mở tên để đọc dữ liệu.
Khai báo biến tệp.
Thủ tục đóng tệp.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Pascal câu lệnh Assign(<tên biến tệp>,<tên tệp) ; có ý nghĩa gì ?
Thủ tục gắn tên tệp cho tên biến tệp.
Thủ tục mở tên để đọc dữ liệu.
Khai báo biến tệp.
Thủ tục đóng tệp.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp lệnh đọc dữ liệu trong tệp:
Write(<biến tệp>,<danh sách kết quả>);
Reset(<biến tệp>);
Read(<danh sách biến>);
Readln(<biến tệp>,<danh sách biến>);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình:
VAR F: TEXT;
BEGIN
ASSIGN(F,’DATA.TXT’);
REWRITE(F);
WRITE(F, '123+456+789');
CLOSE(F);
END.
Tệp DATA.TXT có nội dung như thế nào sau khi thực hiện chương trình trên:
1368
123+456+789
123 456 789
123456789
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho a, b là 2 biến kiểu xâu. Nếu biến nào lớn hơn thì ghi giá trị biến đó vào tệp F, ta dùng lệnh:
If a>b Then Writeln(b);
If a<b Then Write(f, a);
If a<b Then Write(a);
If a>b Then Writeln(f, a);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đọc dữ liệu trong tệp D:\so.dat thì:
Phải xóa tệp so.dat trong đĩa D: \ trước.
Tệp so.dat không cần phải có trong đĩa D:\
Tệp so.dat phải tồn tại trong ổ đĩa D:\
Tệp so.dat phải tồn tại trong ổ đĩa C:\
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tên thủ tục mở tệp f để ghi dữ liệu:
Reset(f)
Write(f)
Rewrite(f)
Read(f)
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
15 questions
Sinh hoạt lớp Tuần 7
Quiz
•
1st Grade - University
10 questions
Bài test CTDL
Quiz
•
University
11 questions
Execl Quiz
Quiz
•
7th Grade - University
11 questions
Latex
Quiz
•
University
18 questions
Juego sobre pseudocódigo en PseInt
Quiz
•
University
13 questions
Question of MCE
Quiz
•
University
10 questions
Tin học 10 Bài 20
Quiz
•
12th Grade - University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
