Search Header Logo

lớp 10 - Giữa HKII

Authored by Võ Minh Nhật

Information Technology (IT)

10th Grade

Used 24+ times

lớp 10 - Giữa HKII
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn chương trình for i in range(5): print(i,end= '' '') cho kết quả là:

1 2 3 4

1 2 3 4 5

0 1 2 3 4

0 1 2 3 4 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi thực hiện câu lệnh: for i in range(7,12): print('Hello World') thì trên màn hình sẽ xuất hiện bao nhiêu dòng chữ "Hello World" trên màn hình?

12

6

5

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hãy chọn dãy số do hàm range(1,10,2) tạo ra:

1,3,5,7,9

1,2,3,4,5,6,7,8,9,10

1,3,5,

1,3,5,7,10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Python, câu lệnh lặp với số lần biết trước là:

if

while

for

include

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp của câu lệnh lặp với số lần chưa biết trước là?

While <điềukiện>: <khối lệnh>

While <điều kiện> do <khối lệnh>

While <khối lệnh> : <điều kiện>

While <khối lệnh> do <điều kiện>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong câu lệnh While, ngay sau điều kiện sẽ là dấu nào?

;

?

=

:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tính tổng S = 1 + 2 + 3 + … + n + … cho đến khi S>109. Điều kiện nào sau đây cho vòng lặp while là đúng:

While S >=109:

While S =109:

While S <=109:

While S !=109:

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?