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

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

University

18 Qs

quiz-placeholder

Similar activities

CÂU HỎI ÔN TAP HKI

CÂU HỎI ÔN TAP HKI

5th Grade - University

21 Qs

GIT Básico

GIT Básico

University

18 Qs

Tin hoc

Tin hoc

University

16 Qs

data structures1

data structures1

University

20 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

Electrónica básica

Electrónica básica

1st Grade - Professional Development

20 Qs

RLNVSP - Buổi 1 - Ôn tập

RLNVSP - Buổi 1 - Ôn tập

University

15 Qs

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

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

Assessment

Quiz

Computers

University

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?