python2-lesson09

python2-lesson09

2nd - 12th Grade

15 Qs

quiz-placeholder

Similar activities

運算思維2016/2015

運算思維2016/2015

7th - 9th Grade

20 Qs

六年级TMK 单元3 编程与测试

六年级TMK 单元3 编程与测试

6th Grade

15 Qs

电脑与网络安全

电脑与网络安全

11th Grade

10 Qs

Hello World!

Hello World!

1st - 3rd Grade

12 Qs

109 第二學期 資訊科技 3-1 (2)

109 第二學期 資訊科技 3-1 (2)

7th Grade

15 Qs

Tinkercad 介紹

Tinkercad 介紹

5th Grade

16 Qs

Python_基礎觀念

Python_基礎觀念

9th Grade

12 Qs

scratch介面

scratch介面

7th Grade

16 Qs

python2-lesson09

python2-lesson09

Assessment

Quiz

Computers

2nd - 12th Grade

Medium

Created by

hang zheng

Used 62+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

range(100)相当于产生了一个几到几的列表?

0-99

1-100

1-99

0-100

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range(10,20):

print(i)

第一次循环,i取得的值应该是?

1

2

0

10

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range(5,10):

print(123)

上面的for循环会循环执行多少次?

4次

6次

5次

10次

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

continue和break区别是什么?

continue是中断某一次循环,break是中断整个循环

break是中断某一次循环,continue是中断整个循环

都是中断某一次循环

都是中断整个循环

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行上述代码,程序会输出多少行123?

无限行,一直不停的输出

程序会报错

一行都不输出

输出123行

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行上述代码,程序会输出几行111

10行

2行

3行

0行

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行上图中的代码,最后一行输出的内容是?

1000

1001

999

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?