Bài 11: KÍCH MẢNG MỘT CHỀU
Quiz
•
Computers
•
1st - 10th Grade
•
Hard
Vinh Thanh
Used 181+ times
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Chọn khai báo đúng:
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
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
20 questions
ÔN TẬP WHILE DO VÀ FOR TO DO
Quiz
•
8th Grade
20 questions
Trắc nghiệm Excel cơ bản - Nhóm 6
Quiz
•
4th Grade - University
15 questions
Tin học 4 Làm quen với Scratch
Quiz
•
4th Grade
15 questions
Ôn tập Python
Quiz
•
9th - 12th Grade
18 questions
Kiểu dữ liệu xâu kí tự trong Python
Quiz
•
10th Grade - University
20 questions
Ôn tập giữa kì I- Tin 7
Quiz
•
7th Grade
20 questions
TIN 10 Bài 10 CĐ F. Hàm
Quiz
•
10th Grade
20 questions
BÀI 16. ĐỊNH DẠNG VĂN BẢN
Quiz
•
5th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade
15 questions
MLA Formatting
Quiz
•
9th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
16 questions
4.2 Private & Personal Information
Lesson
•
4th Grade