Bé Sủi

Bé Sủi

9th - 12th Grade

33 Qs

quiz-placeholder

Similar activities

Битва умов

Битва умов

7th - 11th Grade

30 Qs

NUMBER CONVERSION QUARTER 2_SUMMATIVE 1

NUMBER CONVERSION QUARTER 2_SUMMATIVE 1

11th - 12th Grade

30 Qs

Komputer dan Jaringan Dasar

Komputer dan Jaringan Dasar

10th Grade

34 Qs

Pemahaman IP Address X TJKT

Pemahaman IP Address X TJKT

10th Grade

30 Qs

N5CS: Database Testing and Evaluation

N5CS: Database Testing and Evaluation

9th Grade

28 Qs

naprawa podzespołów i systemu operacyjnego

naprawa podzespołów i systemu operacyjnego

9th - 12th Grade

35 Qs

ĐỀ CƯƠNG ÔN TẬP HK1 TIN HỌC 11 - ĐỀ 911

ĐỀ CƯƠNG ÔN TẬP HK1 TIN HỌC 11 - ĐỀ 911

11th Grade

30 Qs

ASESMEN DIAGNOSTIK INFORMATIKA KELAS XI

ASESMEN DIAGNOSTIK INFORMATIKA KELAS XI

11th Grade

30 Qs

Bé Sủi

Bé Sủi

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Đạt Trần

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

S:=’Ha Noi mua thu’;

Delete(S,7,8);

Insert(‘Mua thu ’,S,1);

giá trị của biến S là:

A. Ha Noi Mua thu;

B. Mua thu Ha Noi mua thu;

C. Mua thu Ha Noi;

D. Ha Noi;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Pascal, để xóa ký tự đầu tiên của xâu ký tự S ta viết:

delete(S,1,1);

delete(S,1,i); {i là biến có giá trị bất kỳ}

delete(S, length(S),1);

delete(1,S,1);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Pascal, để tìm vị trí xuất hiện đầu tiên của xâu ‘hoa’ trong xâu S ta có thể viết bằng cách nào trong các cách sau?

I:=pos(S1,’hoa’);

I:=pos(S,’hoa’);

I:=pos(’hoa’,S);

I:=pos(‘hoa’,’hoa’);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Pascal, thủ tục Insert(s1, s2, vt) thực hiện công việc gì?

Chèn thêm xâu s1 vào xâu s2 bắt đầu từ vị trí vt của s1;

Không thực hiện công việc nào cả;

Chèn thêm xâu s2 vào xâu s1 bắt đầu từ vị trí vt của s1;

Chèn thêm xâu s1 vào xâu s2 bắt đầu từ vị trí vt của s2;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Pascal, thủ tục chèn xâu s1 vào xâu s2 bắt đầu từ vị trí vt được viết.

Insert (s2, s1, vt);

Insert (s1, s2, vt);

Insert (s1, vt, s2);

Insert (vt, s1, s2);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hãy chọn phương án ghép đúng. Độ dài tối đa của xâu kí tự trong PASCAL là

255.

Tùy ý.

65535.

256.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Pascal, hàm Upcase(Ch) cho kết quả là:

Chuyển Ch thành chữ thường;

Chuyển Ch thành chữ hoa;

Xâu Ch gồm toàn chữ hoa;

Xâu Ch toàn chữ thường;

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?