Search Header Logo

Tin học 11 HKII

Authored by 6dkn56qqy2 apple_user

Computers

9th - 12th Grade

Used 5+ times

Tin học 11 HKII
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa Type trong Pascal có ý nghĩa:

​Khai báo biến mới

​Định nghĩa 1 kiểu dữ liệu mới

Mở đầu chương trình

Gõ giá trị từ bàn phím và lưu vào biến như thủ tục readln

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khai báo nào sau đây là đúng cú pháp:

Type mang1c = array [1-100] of byte;

​Type 1mang = array [1..100] of byte;

Type mang1c = array [1..100] of byte;

Type mang1c = array (1..100) of byte;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chọn khai báo đúng :

Var A: array[1,10] of integer;

​Var A: array[1..10] of integer;

Var A= array[1..10] of integer;

​Var A:= array[1..10] of integer;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho khai báo biến:Var A : array[1..5] of Integer;Hãy chọn lệnh đúng :

A(3) := 6 ;

A[2] := -6 ;

A[1] := 4/2 ;

A := 10 ;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn chương trình sau làm gi?S:=0;For i:=1 to n do S:=S+A[i];

Đếm số phần tử của mảng A

Tính tổng các phần tử của mảng A

Nhập mảng A

In ra mảng A

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn chương trình sau làm gì?S:=0;For i:=1 to n do If A[i] >0 then S:=S+1;

Đếm số phần tử có giá trị dương của mảng A

Nhập mảng A

In ra mảng A

Tính tổng các phần tử của mảng A

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho khai báo: Var A: Array[1..4] of Integer ;    i : Integer ;Sau khi thực hiện các lệnh :For i:=1 to 4 do A[i]:= i;For i:=1 to 4 do A[i]:= A[i]+1; thì mảng A có gía trị là :

A[1]=1, A[2]=1, A[3]=1, A[4]=1

A[1]=1, A[2]=2, A[3]=3, A[4]=4

A[1]=2, A[2]=3, A[3]=4, A[4]=5

A[1]=0, A[2]=1, A[3]=2, A[4]=3

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?