
tin học

Quiz
•
Social Studies
•
9th - 12th Grade
•
Medium
Inthone ne
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
40 questions
TRẮC NGHIỆM GHK1 KT&PL - LTV

Quiz
•
10th Grade
40 questions
2023-303

Quiz
•
12th Grade
39 questions
Luật nghĩa vụ quân sự năm 2015

Quiz
•
11th Grade
35 questions
KNTT 10 - ÔN HỌC KÌ 2 - BÀI 3

Quiz
•
1st Grade - University
40 questions
ĐỀ LUYỆN SỐ 7

Quiz
•
1st - 10th Grade
40 questions
Pháp luật Quốc tế

Quiz
•
12th Grade
40 questions
2021 - 301

Quiz
•
12th Grade
40 questions
CM_306_Ôn tập TN THPT

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Social Studies
6 questions
PRIDE Always and Everywhere

Lesson
•
12th Grade
5 questions
0.2 Cognitive Biases and Scientific Thinking

Quiz
•
11th Grade
10 questions
Exploring the Foundations of Representative Government in Colonial America

Interactive video
•
6th - 10th Grade
25 questions
Psychology Perspectives Review

Quiz
•
11th - 12th Grade
25 questions
Gilded Age and Westward Expansion Test Review 2025

Quiz
•
11th Grade
8 questions
Pre Civil Formative

Quiz
•
11th Grade
22 questions
Benchmark 1 Review

Quiz
•
11th Grade
20 questions
Plate tectonics

Quiz
•
9th Grade