Tin10-22

Tin10-22

5th Grade

10 Qs

quiz-placeholder

Similar activities

Wage Application

Wage Application

2nd - 8th Grade

12 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

Ôn lại Paint 5

Ôn lại Paint 5

1st - 5th Grade

10 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

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

Ôn tập Logo

Ôn tập Logo

4th - 5th Grade

11 Qs

Tin10-22

Tin10-22

Assessment

Quiz

Computers

5th Grade

Practice Problem

Hard

Created by

Đức Huỳnh

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có mấy kiểu duyệt phần tử của danh sách?

4

1

2

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được dùng để tính độ dài của danh sách A?

len[A]

A.append(x)

len(A)

A.append[x]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn lệnh sau làm nhiệm vụ gì?

A = []

for x in range(10):

A.append(int(input()))

Nhập dữ liệu từ bàn phím cho danh sách A có 10 phần tử là số nguyên

Nhập dữ liệu từ bàn phím cho danh sách A có 10 phần tử là số thực

Nhập dữ liệu từ bàn phím cho danh sách A có 10 phần tử là xâu

Nhập dữ liệu từ bàn phím cho danh sách A có 10 phần tử bao gồm số thực và số nguyên

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A= [11, 4, 7, 5, 19, 20]

Sau khi in danh sách A với dòng lệnh for i in range(2,4) ta được:

Dùng lệnh nào để có thể duyệt lần lượt các phần tử của danh sách A?

[11,4,7,5]

[7,5]

[7,5,19]

[4,7,5]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh xoá một phần tử i của danh sách A là:

list.del(i)

A.del(i)

A.del[i]

del(A[i])

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để thêm phần tử x vào cuối danh sách A ta dùng hàm nào?

del A[x]

A.append(x)

del A(x)

A.append[x]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khai báo một danh sách rỗng ta dùng cú pháp sau

< tên danh sách > ==[].

< tên danh sách > = 0.

< tên danh sách > = [].

< tên danh sách > = [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

Already have an account?