Search Header Logo

ĐỀ HỌC KÌ II TIN 10 TĐN

Authored by Yến Vũ

Other

10th Grade

Used 12+ times

ĐỀ HỌC KÌ II TIN 10 TĐN
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, câu lệnh nào sau đây được viết đúng?

for i in range(10); print("Trần Đại Nghĩa").

for i in range(10): print("Trần Đại Nghĩa").

for i in range(10): print(Trần Đại Nghĩa).

for i in range(10) print("Trần Đại Nghĩa").

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong NNLT Python, câu lệnh nào sau đây đúng khi in ra màn hình dãy số tự nhiên từ 10 9 8 7 6 5 4 3 2 1 0 trên 1 dòng?

for i in range(10,0,-1): print(i,end=' ').

for i in range(10,-1): print(i,end=' ').

for i in range(10,-1,-1): print(i,end=' ').

for i in range(10,1,-1): print(i,end=' ').

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Điều kiện trong câu lệnh while là biểu thức dạng dữ liệu gì?

str.

int.

bool.

float.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình sau: a=6 s=1 while (a>0): s=s+a a=a-1 print(s) Giá trị của s khi thực hiện đoạn chương trình trên bằng bao nhiêu?

15.

25.

62.

22.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho khai báo list sau: A = [23, 34, 5, 6, 7, 8, 9,18] Để in giá trị phần tử cuối cùng của danh sách A ra màn hình ta viết:

print(A[2]).

print(A[7]).

print(A[3]).

print(A[0]).

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh gì?

a.[1].

a[0].

a.0.

a[].

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho A=[11,2,33,3,40,70,100]. Cho biết len(A)=?

9

7

10

6

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

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

Already have an account?