ĐỀ CƯƠNG CUỐI HK2 11A9

ĐỀ CƯƠNG CUỐI HK2 11A9

12th Grade

60 Qs

quiz-placeholder

Similar activities

Ôn Tập Kiểm Tra Giữa HKI Môn GDQPAN

Ôn Tập Kiểm Tra Giữa HKI Môn GDQPAN

10th Grade - University

62 Qs

ĐỀ CƯƠNG CUỐI HK2 11A9

ĐỀ CƯƠNG CUỐI HK2 11A9

Assessment

Quiz

Specialty

12th Grade

Practice Problem

Medium

Created by

Tan Thi

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cách viết nào sau đây là đúng khi khai báo mảng một chiều?

Var <Kiểu chỉ số>: array[tên biến mảng] of <kiểu phần tử>;

Var <tên biến mảng>: array[kiểu chỉ số] of <kiểu phần tử>;      

Var <Array> of <kiểu phần tử>;  

Var <Kiểu phần tử>: array[kiểu chỉ số] of <tên biến mảng>;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong ngôn ngữ lập trình Pascal, đoạn chương trình sau thực hiện công việc:

 Readln(s); k:= length(S);  for i:= k downto 1 do write(S[i]);

in ra màn hình xâu S 

in ra màn hình độ dài xâu S

in ra màn hình xâu S đảo ngược

đưa ra màn hình xâu S

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cách viết nào sau đây là khai báo kiểu xâu?

Var Hoten:  record;

Var Hoten:  String[100]; 

Var Hoten:  Char[30];

Var Hoten:  Array[1..30] of Char;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Với khai báo A:  array[1..100] of integer; thì việc truy xuất đến phần tử thứ 5 như sau:

A(5)

A[5]

A5

A 5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Thủ tục đóng tệp có dạng:

Close(<biến tệp>);          

Close(<tên tệp>);               

Close

Close all

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Mở tệp để ghi dữ liệu, ta sử dụng thủ tục:

Reset(<tên tệp>);   

Reset(<biến tệp>); 

Rewrite(<tên tệp>); 

Rewrite(<biến tệp>);  

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Lệnh reset(<biến tệp>); dùng để

Mở tệp để đọc  

Đóng tệp  

Mở tệp vừa đọc vừa ghi   

Mở tệp để ghi.

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?