Tin 8 - Điều kiện lệnh

Tin 8 - Điều kiện lệnh

University

18 Qs

quiz-placeholder

Similar activities

Kuis Pemrograman Dasar

Kuis Pemrograman Dasar

University

20 Qs

KIỂM TRA 15 PHÚT MÔN TIN 12

KIỂM TRA 15 PHÚT MÔN TIN 12

12th Grade - University

20 Qs

LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

10th Grade - University

18 Qs

ICT Unit-2

ICT Unit-2

University

20 Qs

Ms. Exel dan Fungsi Logika IF

Ms. Exel dan Fungsi Logika IF

10th Grade - University

15 Qs

Fotogrametri dan Penginderaan Jauh

Fotogrametri dan Penginderaan Jauh

University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Tin 8 - Điều kiện lệnh

Tin 8 - Điều kiện lệnh

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Quyên Phạm

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh điều kiện dạng đầy đủ là:

If < Điều kiện> then < Câu lệnh 1 >; Else < Câu lệnh 2 >;

If < Điều kiện> then < Câu lệnh >;

If < Điều kiện> then < Câu lệnh 1 >, < Câu lệnh 2 >;

If < Điều kiện > then < Câu lệnh 1 > Else < Câu lệnh 2 >;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Hãy cho biết giá trị của biến X bằng bao nhiêu sau khi thực hiện câu lệnh:

   if (10 mod 2) = 0 then X :=X+2;

   ( Biết rằng trước đó giá trị của biến X = 5)

5

9

7

11

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Ta có 2 lệnh sau:

   x:= 4;

   If x>5 then x := x +1;

   Giá trị của x là bao nhiêu?

5

4

8

6

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Câu lệnh Pascal nào sau đây được viết đúng:

If x:= 5 then a = b;

If x > 4; then a:= b;

If x > 4 then a:=b else m:=n;

If x > 4 then a:=b; else m:=n;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Chọn câu lệnh Pascal hợp lệ trong các câu sau:

If x : = a + b then x:=x + 1;

If a > b then max =a;

If a > b then max:=a else max:=b;

If 5 := 6 then x:=100;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

Var x, y: Integer;

Var x, y=Integer;

Var x, y Of Integer;

Var x, y := Integer;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

 

   

 

Const

Begin

Var

Uses

Create a free account and access millions of resources

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?