Trong các cách khai báo biến mảng sau đây, cách khai báo nào là hợp lệ:
Kiểm tra bài cũ

Quiz
•
Education, Instructional Technology
•
1st - 5th Grade
•
Medium
Ngo Can
Used 27+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Var a: array[1,100] of integer;
Var a: array[1.5..100.5] of integer;
Var a: array[1..100] of integer;
Var a: array[1.5,100.5] of integer;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Các cách khai báo biến sau đây, cách khai báo nào là hợp lệ trong Pascal:
Var a= integer;
Var a: integer;
Var a: array;
Var: a: integer;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách xác định số phần tử của dãy số?
Chỉ số đầu – chỉ số cuối
Chỉ số đầu – chỉ số cuối + 1
chỉ số cuối – chỉ số đầu
Chỉ số cuối – chỉ số đầu + 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo mảng A gồm 30 phần tử bắt đầu từ phần tử thứ 3, là các số nguyên thì ta khai báo gì:
A: Array [1..30] of integer
A: Array [3...33] of integer;
A: Array [3..32] of integer;
A: Array [33] of integer;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tham chiếu đến phần tử thứ i của biến mảng A ta có thể viết:
A(i);
A{i};
A[i];
A[i};
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết ý nghĩa của câu lệnh sau: For i:=1 to 10 do Readln(a[i]);
In dãy số trong mảng a
Nhập dãy số cho mảng a
Nhập giá trị cho biến i
In giá trị cho biến i
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo biến mảng: Var A : array[1..7] of real;.
Sử dụng câu lệnh For i:= 1 to 5 do readln(A[i]); để gán giá trị cho các phần tử trong biến A từ bàn phím, ta sẽ nhập được bao nhiêu giá trị?
4
5
6
7
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
dấu gạch ngang

Quiz
•
4th Grade
15 questions
R5 _2.TEC -3 TRI Programação Front-End - Atividade 96_106

Quiz
•
2nd Grade
10 questions
JavaScript

Quiz
•
1st - 12th Grade
10 questions
KIỂM TRA 15 PHÚT

Quiz
•
1st Grade
12 questions
Табличні величини

Quiz
•
1st - 12th Grade
10 questions
Tin học 8 Bài thực hành 3: Khai báo và sử dụng biến

Quiz
•
1st Grade
12 questions
Bài tập tiết 11, 12

Quiz
•
KG - 1st Grade
15 questions
MD1_Array

Quiz
•
1st - 5th 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 Education
15 questions
Multiplication Facts

Quiz
•
4th 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
18 questions
Main Idea & Supporting Details

Quiz
•
5th Grade
5 questions
Basement Basketball

Quiz
•
3rd Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade