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
15 questions
IC3_LUYỆN TẬP BÀI 21+22+23
Quiz
•
7th Grade
20 questions
Grade 6 Exam
Quiz
•
6th Grade
25 questions
TIN HỌC 5 - SÁCH HDTH (ÔN HK2 NĂM 2023-2024)
Quiz
•
1st - 5th Grade
20 questions
Year 8 IT - Network Communication
Quiz
•
7th - 9th Grade
20 questions
GRADE 6 - CH 5 ADVANCED WORD PROCESSING
Quiz
•
6th Grade
20 questions
Prueba diagnostica informática séptimo grado
Quiz
•
7th Grade
16 questions
Procesador de textos
Quiz
•
9th Grade
20 questions
Složeno grananje:naredba IF; IF-ELIF; IF-ELIF-ELSE
Quiz
•
6th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
41 questions
Respectful or Not Respectful
Quiz
•
6th Grade
20 questions
Logos
Quiz
•
2nd - 8th Grade
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade