Search Header Logo

ĐỀ 2_KIỂU XÂU

Authored by Hong Nguyen

Computers

KG

Used 3+ times

ĐỀ 2_KIỂU XÂU
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

Thủ tục insert(s1,s2,p) thực hiện:

Chèn xâu s1 vào xâu s2 bắt đầu ở vị trí p;

Chèn xâu s2 vào xâu s1 bắt đầu ở vị trí p;

Chèn p kí tự của xâu s1 vào đầu xâu s2;

Chèn p kí tự của xâu s2 vào đầu xâu s1;

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho sâu s1 = ‘123’; s2 = ‘abc’ sau khi thực hiện thủ tục Insert(s1,s2,2) thì:

s1 = ‘123’; s2 = ‘a123bc’

s1 = ‘123’; s2 = ‘12abc’

s1 = ‘1abc23’; s2 = ‘abc’

s1 = ‘ab123; s2 = ‘abc’

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho s = ‘500 ki tu’, hàm Length(s) cho giá trị bằng:

‘500’;

‘5’;

9

500

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho s1 = ‘010’; s2 = ‘1001010’ hàm pos(s1,s2) cho giá trị bằng:

3

4

5

0

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho s = ‘123456789’ hàm Copy(s,2,3) cho giá trị bằng:

a. b. c. d.

‘234’;

234;

‘34’;

34;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Độ dài tối đa của xâu kí tự trong PASCAL là bao nhiêu?

256

255

254

tùy ý

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho xâu S là ‘Hanoi-Vietnam’. Kết quả của hàm Length(S) =?

12

13

'13'

'12'

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?