PYTHON 2 REVIEW

PYTHON 2 REVIEW

KG - 1st Grade

15 Qs

quiz-placeholder

Similar activities

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

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

1st - 10th Grade

10 Qs

Pengenalan Komputer

Pengenalan Komputer

7th Grade

10 Qs

test 3.6

test 3.6

11th Grade

10 Qs

Test word buổi 1

Test word buổi 1

KG

13 Qs

Ulangan1-DETIC-Informatika

Ulangan1-DETIC-Informatika

10th Grade

20 Qs

Ôn Thi HK2 Tin học Lớp 3*TH Đống Đa -TB

Ôn Thi HK2 Tin học Lớp 3*TH Đống Đa -TB

1st - 5th Grade

20 Qs

Ôn tập_CK1_22.23_Tin Học 3_Phần 2

Ôn tập_CK1_22.23_Tin Học 3_Phần 2

3rd Grade

10 Qs

Python_Biến_Nhập Xuất

Python_Biến_Nhập Xuất

KG

17 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

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?