
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
16 questions
Quiz on List and Tuples
Quiz
•
University
15 questions
Ôn tập lớp 8_Python
Quiz
•
University
12 questions
Intro to Scratch 2
Quiz
•
KG - University
10 questions
CSNP-04103 Chapter 6 - Functions
Quiz
•
University
20 questions
Web Development and Programming
Quiz
•
University
12 questions
Javascript
Quiz
•
University
15 questions
RLNVSP - Buổi 1 - Ôn tập
Quiz
•
University
20 questions
data structures1
Quiz
•
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
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
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University