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
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:
‘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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
ĐỀ CƯƠNG ÔN TẬP HỌC KÌ I - TIN HỌC 8 NĂM HỌC 2022 - 2023
Quiz
•
9th Grade
20 questions
KIỂM TRA 15P TIN 7 (18-23/10-2022)
Quiz
•
6th - 9th Grade
20 questions
Tin 11 - Bài 4,5 - Câu hỏi trắc nghiệm
Quiz
•
11th Grade
16 questions
Ôn tập CK1 - Tin 10A7
Quiz
•
10th Grade
17 questions
Kiến thức về trang tính
Quiz
•
7th Grade - University
20 questions
Ôn Tập Môn Tin Học Khối 5 HKI
Quiz
•
1st Grade - University
20 questions
BÀI KIỂM TRA 15 PHÚT (CỘNG ĐIỂM)
Quiz
•
11th Grade
20 questions
Ôn tập Tin học giữa kỳ I - Khối 1
Quiz
•
1st Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
