Chọn câu đúng cú pháp:

11_KieuXau

Quiz
•
Computers
•
11th Grade
•
Medium
Thanh Nhàn Bùi
Used 99+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Var s : string [30];
Var s = string[30];
Var s : string(30);
Var s := string;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Với s là biến kiểu chuỗi và s có giá trị: S:= ‘nguyen khuyen’;
Sau câu lệnh Delete(s,3,4); chuỗi s chứa các ký tự:
‘ng khuyen’
‘ngu khuyen’
‘ngukhuyen’
‘ngkhuyen’
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi chạy chương trình:
Var s1, s2 : string;
Begin
s1:=’123’;
s2:=’456’;
write (s1+s2);
end.
Kết quả in ra là:
‘123456’
579
123456
Cả 3 câu đều sai
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho khai báo:
Var ho, ten : string[15];
Lệnh nào sai:
write(‘Ho ten la:’ + ho + ten);
write(‘Ho ten la:’; ho ; ten);
write(‘Ho ten la:’, ho, ten);
write(‘Ho ten la:’, ho + ten);
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho s là biến chuỗi, sau khi thực hiện 2 lệnh:
s := copy(‘PASCAL VERSION 5.5’,8,7);
write(s);
Kết quả in trên màn hình output là:
VERSION 5.5
5.5
VERSION
PASCAL
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho s là biến chuỗi, sau khi thực hiện bốn lệnh: s:=’ABCDEF’;
delete(s,3,2);
insert(‘XYZ’,s,2);
write(s);
Kết quả in lên màn hình là:
AXYZBCDEF
AXYZBEF
ABXYZEF
AXYZ
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi chạy chương trình:
Var s : string;i, l : integer;
begin
s := ‘Hom nay thuc tap’;
x:= length(S);
for i:=1 to xdo
if (s[i]>=‘a’) and (s[i]<=‘z’) then s[i] := upcase(s[i]);
write (s);
end.
Chương trình in ra:
HOM NAY THUC TAP
Hom nay thuc tap
hom nay thuc tap
Hom Nay Thuc Tap
Create a free account and access millions of resources
Similar Resources on Quizizz
23 questions
Ôn tập kì Xuân Tin học 10. 2

Quiz
•
10th Grade - University
15 questions
THỬ THÁCH VỚI CHƯƠNG TRÌNH CON

Quiz
•
11th Grade
15 questions
Ôn tập Python

Quiz
•
9th - 12th Grade
22 questions
Tin học - Bài 25

Quiz
•
10th Grade - University
16 questions
Khai báo biến

Quiz
•
11th Grade
16 questions
Python Basics

Quiz
•
KG - University
18 questions
Kiểu dữ liệu xâu kí tự trong Python

Quiz
•
10th Grade - University
25 questions
tin 11 bài 12

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

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade