PYTHON 2 REVIEW

PYTHON 2 REVIEW

KG - 1st Grade

15 Qs

quiz-placeholder

Similar activities

Luyện chuột Mouse Skills

Luyện chuột Mouse Skills

3rd Grade

20 Qs

Tin học 5 - CĐ2 - Soạn thảo văn bản

Tin học 5 - CĐ2 - Soạn thảo văn bản

5th Grade

18 Qs

Trắc nghiệm Bài 14_15 tin học K10

Trắc nghiệm Bài 14_15 tin học K10

10th Grade

20 Qs

Tin học 7 - ÔT Cuối kì 2 CĐ Bảng tính  - Trình chiếu

Tin học 7 - ÔT Cuối kì 2 CĐ Bảng tính - Trình chiếu

Professional Development

14 Qs

BÀI 24-25 TIN 10

BÀI 24-25 TIN 10

10th Grade

20 Qs

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 4

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 4

10th Grade

10 Qs

Hàm

Hàm

Professional Development

10 Qs

Internet i mrežni preglednik, pretraživanje interneta

Internet i mrežni preglednik, pretraživanje interneta

5th Grade

11 Qs

PYTHON 2 REVIEW

PYTHON 2 REVIEW

Assessment

Quiz

Computers

KG - 1st Grade

Practice Problem

Medium

Created by

huu nhi

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để truy cập đến phần tử thứ i của danh sách A, ta viết

A(i)

Ai

A[i]

A{i}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python cho:

number=[1, 2, 3, 4, 5]

print(number[1]) kết quả là:

1

2

3

báo lỗi

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python cho:

A=[1, 2, 3]

B= [‘a’, ‘b’]

print(A+B) kết quả là:

1 2 3 a b

báo lỗi

[1, 2, 3][‘a’, ‘b’ ]

[1, 2, 3, ‘a’, ‘b’].

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python cho:

A =['Lớp', 11 ,'Nguyễn Huệ', 1 ,2 , 6]

print(len(A))   kết quả là:

1

2

6

11

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả sau khi thực hiện đoạn chương trình:

A=[]

A.append(11)

A.append(2)

print(A)

[11,2]

112

11

2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biết ý nghĩa của đoạn chương trình sau:

A=[1,4,8,6,9,2]

A.reverse()

print(A)

In các phần tử là số lẻ của danh sách A..

In các phần tử của danh sách A theo thứ tự ngược lại.

In các phần tử của danh sách A.

In các phần tử là số chẵn của danh sách A.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python cho biết kết quả đoạn chương trình sau:

A=[1,4,8,6,9,2]

S=0

for i in A:

    if i%2==0:

        S+=i

print(S)

10

20

30

0

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?