Search Header Logo

Bài tập củng cố về hằng và biến

Authored by 01_Tạ Anh

Computers

1st Grade

Used 1+ times

Bài tập củng cố về hằng và biến
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tìm điểm sai trong khai báo hằng sau:

   Const Max :=2010;

Dư dấu bằng (=)

Tên hằng không được nhỏ hơn 4 kí tự

Từ khóa khai báo hằng sai

Dư dấu hai chấm (:)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khai báo nào sau đây đúng?

Var x, y: Integer;

Var x, y=Integer;

Var x, y Of Integer;

Var x, y := Integer;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Pascal, từ khóa để khai báo biến là:

Const

Begin

Var

Uses

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khai báo biến x thuộc kiểu xâu kí tự ta khai báo:

Var x: String;

Var x: Integer;

Var x: Char;

Var x: Real;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Pascal, từ khóa để khai báo hằng là:

Const

Begin

Var

Uses

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giả sử A được khai báo là biến với kiểu dữ liệu xâu, X là biến với kiểu dữ liệu số thực. Phép gán sau đây là không hợp lệ?

X:=4.1;

X:=324.2;

A:= ‘3242’;

A:=3242 ;

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?