8-期中总结

8-期中总结

University

20 Qs

quiz-placeholder

Similar activities

python复习题1

python复习题1

University

17 Qs

20241127你真的會Excel嗎?

20241127你真的會Excel嗎?

University

15 Qs

Python Sets Quiz

Python Sets Quiz

University

16 Qs

S01.1数据资讯知识

S01.1数据资讯知识

6th Grade - University

24 Qs

113下學期七年級測驗

113下學期七年級測驗

7th Grade - University

22 Qs

色彩學隨機25題

色彩學隨機25題

University

25 Qs

网络安全应急响应

网络安全应急响应

University

25 Qs

Python Tuples Quiz

Python Tuples Quiz

University

15 Qs

8-期中总结

8-期中总结

Assessment

Quiz

Computers

University

Medium

Created by

Yilin Chen

Used 14+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列是合适的 变量、函数、类 等的命名的是:

Python1_3Fun

class

Python3-me

4Python3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列数值变量运算错误的是?

7 / 4= 1.75

7 // 4 = 2

7 % 4 = 3

7 * 4 = 28

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

对列表进行一系列操作后,输出结果为:

[3,2]

[1]

[2]

[3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

已知列表A=[1,2,4,5],我们想要向列表中添加元素 3 得到列表[1,2,3,4,5],下列操作正确的是:

A.append(2,3)

A.append(3,2)

A.insert(2,3)

A.insert(3,2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列变量a中不属于元组的是:

a = tuple([1,2,3,4])

a = 1,2,3,4

a = (1,)

a = (1)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列不能使用for循环进行遍历的数据类型是

list

tuple

string

int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

通过下列的循环控制语句之后,输出的值为:

0

15

21

28

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?