Chọn khai báo đúng:
Bài 11: KÍCH MẢNG MỘT CHỀU

Quiz
•
Computers
•
1st - 10th Grade
•
Hard
Vinh Thanh
Used 181+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Var A: array[1..20] of integer;
Var A= array[1..20] of integer;
Var A:= array[1..20] of integer;
Var A: array[1,20] of integer;
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho biết ý nghĩa của đoạn khai báo sau:
Const Max = 100;
Type Dayso = ARRAY[1..Max] Of real;
Var A : Dayso;
Khai báo biến Dayso gồm max số nguyên.
Khai báo biến Dayso gồm 100 số thực.
Khai báo biến mảng A gồm max số nguyên.
Khai báo biến A gồm tối đa 100 số thực.
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Cho khai báo biến: Var A : array[1..5] of Integer; Chọn lệnh đúng:
A[1] := 6/2 ;
A[2] := -10 ;
A(3) := 6 ;
A := 10 ;
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho X1, X2,...Xn là một mảng số thực. Ðể tính:
ta có đoạn chương trình sau gồm ba lệnh, một lệnh còn bỏ trống . . . :
S:=0;
For i:=1 to N do S := S + X[i];
. . .
Hãy điền lệnh thích hợp vào chỗ . . . :
Write ('S=', S);
Readln (S);
S := S/N;
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho câu lệnh: FOR i:=1 TO 100 DO A[i]:= Random(100) - Random(100);
Hãy cho biết giá trị của mảng A trong câu lệnh trên nhận giá trị nguyên trong đoạn nào?
Từ -99 đến 99
Từ -99 đến 100
Từ -100 đến 100
Từ -100 đến 99
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Trong khai báo sau còn bỏ trống . . . một chỗ, vì chưa xác định được kiểu dữ liệu của biến Max:
Var A: Array[‘a’..’d’] of Real;
Ch : Char ;
Max : . . . ;
Muốn biến Max lưu giá trị lớn nhất của mảng A thì cần khai báo biến Max kiểu dữ liệu gì vào chỗ . . . :
Real
Char
Integer
String
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Muốn tham chiếu đến một phần tử nào đó trong mảng ta cần phải có tối thiểu các thông tin
Tên kiểu mảng, tên biến mảng
Chỉ số phần tử, tên kiểu mảng
Tên biến mảng, chỉ số phần tử
Giá trị của phần tử, biến mảng
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
ÔN TẬP CUỐI KỲ II TIN 8

Quiz
•
8th - 11th Grade
20 questions
KT 15 PHUT TIN 8

Quiz
•
8th Grade
21 questions
ÔN TẬP HK1 LỚP 8

Quiz
•
8th Grade
15 questions
Ôn tập HK2 Python 10

Quiz
•
10th Grade
25 questions
ÔN TẬP CUỐI KÌ 1_TIN HỌC 8

Quiz
•
8th Grade
20 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 8

Quiz
•
8th Grade
18 questions
Ôn tập Kiểu mảng-Kiểu xâu - Lớp 11

Quiz
•
1st Grade
15 questions
Tin 8. BÀi 9:LÀM VIỆC VỚI DÃY SỐ

Quiz
•
8th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade