Search Header Logo

Tin 8 - Củng cố For ... do ...

Authored by Viết Đặng

Other

KG

Used 24+ times

Tin 8 - Củng cố For ... do ...
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Câu lệnh lặp For i := 1 to 10 do ... thực hiện bao nhiêu lần lặp

0

1

10

không xác định

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Câu lệnh lặp for i:= 10 to 20 do ... thực hiện bao nhiêu lần lặp

21

10

20

11

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Sau khi thực hiện đoạn chương trình sau, giá trị của biến s là bao nhiêu:

s := 0;

For i := 1 to 3 do s := s + i;

0

3

6

không xác định

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Câu lệnh nào sau đây là đúng

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

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

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

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong câu lệnh for, biến đếm phải thuộc kiểu dữ liệu nào:

Kiểu số nguyên

Kiểu số thực

Kiểu gì cũng được

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xuất dữ liệu ra màn hình, ta sử dụng câu lệnh nào

if

for

read

write

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh để nhập dữ liệu vào từ bàn phím:

if

for

read

write

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?