
Kiem_tra_15phut_Tin_11_Tep
Authored by Thanh Thi
Computers
University
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
CIS1101-programming practice
Quiz
•
University
10 questions
pointers and structures
Quiz
•
University
12 questions
PSSI Chp 1 dan 2
Quiz
•
University
15 questions
cmd and terminal
Quiz
•
7th Grade - University
17 questions
Minggu V - PKS 2 - Pemrograman C++
Quiz
•
University
20 questions
UNIT IV Normalization
Quiz
•
University
20 questions
BD 1 - SQL - geral
Quiz
•
University
20 questions
Búsqueda en Inteligencia Artificial
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University