Search Header Logo

Lập trình - Thực hành

Authored by Chính Hoàng Ngọc

English, Other

2nd Grade

Used 17+ times

Lập trình - Thực hành
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Câu lệnh lặp FOR ... TO... DO... dùng để:

Lặp với số bước lặp biết trước số lần lặp

Lặp với số bước lặp chưa biết trước số lần lặp

Lặp theo tùy chọn

Lặp tổng hợp

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Câu lệnh lặp While....do .... dùng để:

Lặp tùy chọn

Lặp với số bước lặp biết trước số lần lặp

Lặp tổng hợp

Lặp với số bước lặp chưa biết trước số lần lặp

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

s:=0;

câu lệnh for i:=2 to 5 do s:=s+1; kết thúc vòng lặp s mang giá trị

s=7

s=5

s=4

s=6

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

đoạn chương trình

s:=0; i:=3;

while i<=5 do begin

s:=s+1;

i:=i+1;

end;

Kết quả trả lại S=?

s=2

s=4

s=3

s=5

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

            Đoạn chương trình sau trả lại kết quả như thế nào?

Var x, y:integer;

Begin

x:=5; y:=8;

If  x<5 then x:=y+3 else x:=y+2; Writeln(‘ giá trị của x và y là:’, x,y);

End.

x=5, y=8

x=11, y=8

x=10, y=8

x=5, y=11

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Chọn đáp án đúng trong các đáp án sau:

for i= 100 to 1 do s:=s+i;

i:=1 ; while i<=100 do begin s:=s+i; i:=i+s; end;

a=5; if i:=a then writeln(‘ hai so a va i bang nhau’);

for i=1.5 to 1 do s:=s+1;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn chương trình sau trả lại kết quả như thế nào?

Var x, y:integer;

Begin

x:=5; y:=8;

If  x>5 then x:=y+3; Writeln(‘ giá trị của x và y là:’, x,y);

End.

x=5, y= 8

x=5, y=11

x=11, y=5

x=8, y=5

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?