
tin học
Quiz
•
Social Studies
•
9th - 12th Grade
•
Practice Problem
•
Medium
Inthone ne
Used 1+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây thực hiện gán tên tệp cho biến tệp?
Rewrite(f2);
Assign(f2,'dulieu.txt');
Assign(f2,dulieu.txt);
Reset(f2);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện đoạn lệnh S:=’Truong THPT Pleiku’; a:=Length(S); thì a bằng mấy?
15
18
11
14
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử A là 1 biến, B là biến tệp thì lệnh đọc tệp nào là đúng?
Read(A,B);
Write(A,B);
Read(B,A);
Write(B,A);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử B là biến tệp, x là biến, lệnh ghi dữ liệu vào tệp nào là sai?
Writeln(B, x:4);
Write(B,'x=',x);
Write(B, 'x=', x:4);
Read(B,x);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sử dụng hai lệnh Assign(F,'SoNguyen.PAS'); Rewrite(F); Khi chạy chương trình, nếu trên ổ đĩa C đã có tệp SoNguyen.PAS thì máy sẽ?
Giữ nguyên dữ liệu của tệp SoNguyen.Pas
Ghi tiếp dữ liệu vào sau dữ liệu đã có trong tệp SoNguyen.Pas
Xóa toàn bộ dữ liệu của tệp SoNguyen.Pas
Đưa ra thông báo đã tồn tại tệp SoNguyen.Pas
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào xóa kí tự cuối cùng của xâu a?
delete(a,1,255)
delete(a,255,1)
delete(a,length(a),1)
delete(a,1,length(a))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đọc dữ liệu trong tệp khi chưa hết tệp thì dùng câu lệnh lặp nào sau đây?
While not EOLn(f) Do
While EOF(f) = True Do
While not EOF(f) Do
While EOLn(f) = False Do
Create a free account and access millions of resources
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
40 questions
ĐỀ LUYỆN SỐ 10
Quiz
•
1st - 10th Grade
40 questions
FORMATIF_8
Quiz
•
12th Grade
40 questions
LUYỆN ĐỀ GDCD ĐỀ 22
Quiz
•
12th Grade
40 questions
ÔN TẬP GIỮA HỌC KÌ II
Quiz
•
12th Grade
35 questions
Great Depression/WWII/Cold War STAAR review
Quiz
•
11th Grade
40 questions
Đề luyện số 1
Quiz
•
1st - 10th Grade
40 questions
ĐỀ LUYỆN SỐ 2
Quiz
•
1st - 10th Grade
39 questions
Ôn tập Kiểm Tra GK2
Quiz
•
2nd Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Social Studies
53 questions
Fall Semester Review (25-26)
Quiz
•
10th Grade
20 questions
Unit 5 and 6 Final Review
Quiz
•
9th Grade
31 questions
Rec Note Taking Guide
Quiz
•
9th Grade
33 questions
OSE 2 Review
Quiz
•
11th Grade
21 questions
WH/WGI Common Assessment #9 Review Quiz
Quiz
•
9th - 12th Grade
40 questions
US Gov Semester Exam
Quiz
•
12th Grade
25 questions
Christmas Movies!
Quiz
•
5th Grade - University
60 questions
Logos and Slogan Quiz
Quiz
•
10th Grade - University
