B22.3-Tin10

B22.3-Tin10

12th Grade

10 Qs

quiz-placeholder

Similar activities

ĐIỆN TRỞ TỤ ĐIỆN

ĐIỆN TRỞ TỤ ĐIỆN

11th - 12th Grade

10 Qs

Python Functions and Method

Python Functions and Method

10th - 12th Grade

15 Qs

Pseudocódigos

Pseudocódigos

9th - 12th Grade

12 Qs

Neural Networks Strcutures

Neural Networks Strcutures

12th Grade

9 Qs

Latihan 1 Kelas 9

Latihan 1 Kelas 9

12th Grade - Professional Development

10 Qs

MÁY THU THANH

MÁY THU THANH

9th - 12th Grade

10 Qs

Principios de Programación

Principios de Programación

12th Grade

15 Qs

B22.3-Tin10

B22.3-Tin10

Assessment

Quiz

Instructional Technology

12th Grade

Practice Problem

Hard

Created by

TRUC Ng

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

Trong python, để khai báo một danh sách và khởi tạo sẵn một số phần tử ta dùng cú pháp nào?

< tên danh sách > = [< danh sách phần tử, phân cách bởi dấu phẩy >].

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

[< danh sách phần tử, phân cách bởi dấu phẩy >].

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, '3']

list.

int.

float.

string.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho khai báo mảng sau: A = list("3456789") Để in giá trị phần tử thứ 2 của mảng một chiều A ra màn hình ta viết:

print(A[2]).

print(A[1]).

print(A[3]).

print(A[0]).

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là kiểu dữ liệu danh sách?

list.

bool.

str.

int.

5.

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[].

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho arr = ['xuan', 'hạ', 1. 4, 'đông', '3', 4.5, 7]. Đâu là giá trị của arr[3]?

1.4.

đông.

hạ.

3.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giả sử có một list: i = [2, 3, 4]. Nếu muốn in list này theo thứ tự ngược lại ta nên sử dụng phương pháp nào sau đây?

print(list(reversed(i))).

print(list(reverse(i))).

print(reversed(i)).

print(reversed(i)).

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?