tin học

tin học

9th - 12th Grade

40 Qs

quiz-placeholder

Similar activities

KHỐI 12 - ÔN TẬP CUỐI HỌC KÌ II

KHỐI 12 - ÔN TẬP CUỐI HỌC KÌ II

12th Grade

38 Qs

MH - 2023

MH - 2023

12th Grade

40 Qs

Economics Ch.1-2

Economics Ch.1-2

12th Grade

40 Qs

Historical Perspectives in Psychology Test

Historical Perspectives in Psychology Test

10th - 12th Grade

44 Qs

Kinh tế pháp luật

Kinh tế pháp luật

11th Grade

45 Qs

BÀI 2 - K12 THỰC HIỆN PHÁP LUẬT

BÀI 2 - K12 THỰC HIỆN PHÁP LUẬT

9th - 12th Grade

40 Qs

SOAL PAT SEJARAH INDONESIA X TKR/AK

SOAL PAT SEJARAH INDONESIA X TKR/AK

10th Grade

40 Qs

USP Sosiologi

USP Sosiologi

12th Grade

40 Qs

tin học

tin học

Assessment

Quiz

Social Studies

9th - 12th Grade

Practice Problem

Medium

Created by

Inthone ne

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?