Cho xâu s := ‘123456789’, sau khi thực hiện thủ tục delete(s,3,4) thì biến S chứa giá trị nào sau đây:
Kiểu Xâu

Quiz
•
Computers
•
8th - 11th Grade
•
Medium
Used 124+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
‘12789’
‘1256789’
‘123789’
Xâu rỗng
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trong xâu, câu lệnh sau làm gì?
For i:=1 to length(a) do write(a[i]);
Xuất xâu a theo thứ tự đã nhập
Xuất ra kí tự đầu của xâu a
Xuất xâu a theo thứ tự ngược
Xuất ra kí tự cuối của xâu a
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để xóa đi kí tự đầu tiên của xâu S ta viết:
Delete (S, 1, 1);
Delete (S, 1, i);
Delete (S, Length(S), 1);
Delete (S, i, 1);
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khai báo kiểu xâu trực tiếp ta sử dụng cú pháp nào?
Var <tên biến> : String[độ dài lớn nhất của xâu];
Var <tên biến> = <tên kiểu>;
Var <tên biến> = String[độ dài lớn nhất của xâu];
Var <tên biến> : <tên kiểu>;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho khai báo sau:
Var hoten : string;
Phát biểu nào dưới đây là đúng?
Xâu có độ dài lớn nhất là 255;
Xâu có độ dài lớn nhất là 0;
Cần phải khai báo kích thước của xâu sau đó;
Câu lệnh sai vì thiếu độ dài tối đa của xâu;
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cho S1:='Bien dao que huong';
S2:= upcase(S1[10]);
S2 có giá trị là:
'Q'
'Bien Dao Que Huong'
'Que'
‘Bien’
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu lệnh nào xóa kí tự cuối cùng của xâu a?
delete(a, length(a), 1);
delete(a, 1, 255);
delete(a, 255, 1);
delete(a, 1, length(a));
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Tin 11 - Bài 2 - Phần 2

Quiz
•
11th Grade
21 questions
Ôn tập

Quiz
•
8th Grade
20 questions
Một số lệnh làm việc với xâu kí tự

Quiz
•
10th Grade
21 questions
ÔN TẬP KIỂU XÂU

Quiz
•
1st - 12th Grade
20 questions
Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự

Quiz
•
10th Grade
20 questions
BÀI 24-25 TIN 10

Quiz
•
10th Grade
11 questions
BAI 24_LỚP 10

Quiz
•
10th Grade
20 questions
ÔN TẬP CUỐI HKII_TIN 8

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade