Search Header Logo

TIN11_KTTX1

Authored by Phuong Lan

Computers

11th Grade

Used 4+ times

TIN11_KTTX1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chọn khai báo biến mảng đúng sau đây?

var A: array [1..100] of integer;

var A: array [1...100] of integer;

var A: array[1..100] integer;

var A: array [1.5..100] of integer;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho khai báo: var A: array[1..100] of integer;

Tham chiếu đến phần tử thứ 5 của mảng A được viết là:

A(5)

A[5]

A{5}

A<5>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình sau, cho biết kết quả in ra màn hình nếu mảng A nhập các phần tử (5; 4; 12; 45; 7)

var A: array[1..100] of integer; s, i: integer;

begin

for i:= 1 to 5 do readln(A[i]);

s:=0;

for i:= 1 to 5 do s:= s+A[i];

write(s);

end.

5

73

s

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cho xâu S= 'va ngay nao do'; hàm length(s) cho phép trả về kết quả

13

0

10

14

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S1:= 'hanh'; s2:= 'phuc';

cho biết kết quả trả về khi gọi thủ tục Insert(s1, s2, 2);

'haphucnh'

'hphucanh'

'phanhhuc'

'phhanhuc'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S:= 'hanh phuc';

Kết quả trả về khi gọi thủ tục Delete(S, 6,2);

'hanh uc'

'hanh'

'phuc'

'hanhhuc'

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cho xâu S:= 'Khue moc lang';

Kết quả trả về của hàm pos('a', S) là:

11

12

10

0

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?