
ontapHK2_tin8

Quiz
•
Computers
•
7th Grade
•
Medium
le phan
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho khai báo mảng như sau:
Var a : array[0..30] of integer ;
Để in giá trị phần tử thứ 20 của mảng một chiều A ra màn hình ta viết cú pháp như thế nào?
A. Readln(A[20]);
B. Write(A(20));
C. Write(A[20]);
D. Write([20]);
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cách khai báo biến mảng nào sau đây là đúng?
A. Var X: Array[3.. 4.8] of Integer;
B. Var X: Array[10 .. 1] of Integer;
C. Var X: Array[4 .. 10] of Real;
D. Var X: Array[10 , 13] of Real;
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Ưu điểm sử dụng biến mảng là gì?
A. Lưu nhiều dữ liệu liên quan đến nhau bằng 1 biến duy nhất
B. Giúp cho việc xử lí các dữ liệu ấy đơn giản hơn
C. Cả A và B đều đúng
D. Cả A và B đều sai
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cú pháp khai báo dãy số nào sau đây đúng nhất?
A. Var < tên dãy số > : array [ < chỉ số cuối > .. < chỉ số đầu >] of < kiểu dữ liệu >;
B. Var < tên dãy số > : array [ < chỉ số đầu > .. < chỉ số cuối >] for < kiểu dữ liệu >;
C. Var < tên dãy số > : array [ < chỉ số cuối > : < chỉ số đầu > ] of < kiểu dữ liệu >;
D. Var < tên dãy số > : array [ < chỉ số đầu > .. < chỉ số cuối > ] of < kiểu dữ liệu >;
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Tính số phần tử trong khai báo dưới đây:
Var hocsinh : array[12..80] of integer;
A. 80
B. 70
C. 69
D. 68
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Khai báo mảng nào là đúng trong các khai báo sau đây:
A. var tuoi : array[1..15] of integer;
B. var tuoi : array[1.5..10.5] of integer;
C. var tuoi : aray[1..15] of real;
D. var tuoi : array[1 … 15 ] of integer
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Để nhập dữ liệu từ bàn phím cho mảng A có 10 phần tử là số nguyên ta dùng lệnh nào sau đây?
A. Dùng 10 lệnh Readln(A);
B. For i:= 1 to 10 do Writeln(A[i]);
C. For i:=1 to 10 do Readln(A[i]);
D. Cả (A), (B), (C) đều sai.
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
HTML un CSS programmēšana

Quiz
•
7th Grade
10 questions
Câu hỏi kiến thức bài 9_rẻ nhánh

Quiz
•
KG - 12th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
15 questions
Java Basic Data Structures

Quiz
•
6th - 10th Grade
12 questions
Java Script 1.4. Массивы

Quiz
•
1st - 12th Grade
11 questions
Java Script 1.3. Циклы

Quiz
•
1st - 12th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
10 questions
BÀI KIỂM TRA CẢI THIỆN ĐIỂM TIN 8

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology

Quiz
•
4th - 8th Grade
11 questions
Technology Acceptable Use

Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
15 questions
Student Technology Agreement

Quiz
•
6th - 8th Grade
10 questions
Acceptable Use of Technology

Quiz
•
7th - 8th Grade