Trong các khai báo sau, khai báo nào là đúng?

KIỂU XÂU

Quiz
•
Computers
•
1st - 10th Grade
•
Medium
Nguyen Oanh
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A.Var st:string[150];
B. Var st:string[257];
C. Var st = string [10];
D. Var st = string ;
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Để nhập vào từ bàn phím xâu St
ta sử dụng lệnh nào sau đây?
A.Write (St);
B.Write (St[i]);
C.Readln (St[i]);
D.Readln (St);
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Lệnh nào để in ra màn hình
kí tự cuối cùng trong xâu St?
A.Write (St);
B. Write (length(St));
C. Write (St[length(st)]);
D. Write (St[1]);
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho xâu : S1:= ‘Chao cac ban’; S2:= ’11A6’;
Để được xâu S3 có giá trị là ‘Chao cac ban 11A6’ ta sử dụng lệnh nào sau đây?
A.S3:=S2+S1;
B. S3:= S1+ S2;
C. S3:= S1+ ‘ ‘ +S2;
D. S3:= S1+ ’11A6’;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho xâu st:=‘Mon tin hoc’;
Sau khi thực hiện thủ tục Delete( st,8,4)
thì giá trị của st là?
A.Mon hoc
B. Mon Tin
C. tin hoc
D. Mon tin
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chọn đáp án đúng về các phép so sánh xâu sau?
A. ‘Turbo’ < ’Turbo Pascal’
B. ‘Lop tin B’ < ’Lop tin A’
C. ‘Que huong’ <> ’Que huong’
D. Tất cả đều sai
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho biết kết quả của đoạn chương trình sau?
Var A, B: string;
Begin A:= ‘Tin hoc’; B:= ’ 11’;
Insert(B, A, 8);
Write(A);
A. tin hoc 11
B. Tin hoc11
C. Tinhoc 11
D. Tin hoc 11
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
ÔN TẬP TIN 8 HK2 (1)

Quiz
•
7th Grade
10 questions
TN Bài 12 xâu kí tự _ Cô Tuyết

Quiz
•
10th Grade
10 questions
kiểm tra tin học 8

Quiz
•
8th Grade
10 questions
G10.W20 - Review biến, lệnh gán, lệnh print

Quiz
•
10th Grade
14 questions
Gõ phím không dấu lớp 1

Quiz
•
1st Grade
15 questions
L3: Ôn tập cuối học kì 2

Quiz
•
3rd Grade
10 questions
TIN HỌC 8 - BÀI TH1

Quiz
•
8th Grade
13 questions
Паскаль

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade