
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
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
36 questions
Civil Rights Exam Review 2022
Quiz
•
11th Grade
40 questions
PAS EKONOMI Kelas 11 IPS
Quiz
•
11th Grade
35 questions
LẶNG LẼ SA PA
Quiz
•
9th Grade
41 questions
UNIT 2 TEST - Marquis
Quiz
•
12th Grade
35 questions
UH PPKN XI KD 3.1
Quiz
•
12th Grade
37 questions
Understanding the Cold War Origins
Quiz
•
10th Grade
40 questions
2019 - 302
Quiz
•
12th Grade
42 questions
AP Psych Unit 3: Biological Basis of Behavior
Quiz
•
11th - 12th 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
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
Discover more resources for Social Studies
35 questions
WH-Units 7 & 8 Test Review
Quiz
•
10th Grade
23 questions
Civil Rights Legislation and Amendments Quiz
Quiz
•
11th Grade
6 questions
Unit 8 DEUA Review
Lesson
•
11th Grade
40 questions
U.S Hist Interim Study Guide
Quiz
•
11th Grade
18 questions
Early civil rights and African Americans
Quiz
•
9th - 12th Grade
32 questions
Unit 7 Review
Quiz
•
10th Grade
40 questions
Unit 2 Test Review - CI
Quiz
•
9th Grade
22 questions
Benchmark 1 Review
Quiz
•
11th Grade
