python2-lesson03

python2-lesson03

2nd - 12th Grade

15 Qs

quiz-placeholder

Similar activities

TMK

TMK

2nd Grade

10 Qs

2022年第二届苏州软件比武大赛—热身题

2022年第二届苏州软件比武大赛—热身题

2nd Grade

10 Qs

scratch

scratch

6th Grade

15 Qs

Y6——TMK (算法、伪代码、流程图)

Y6——TMK (算法、伪代码、流程图)

6th Grade

18 Qs

Kuiz ICT dan Keselamatan Siber 2025

Kuiz ICT dan Keselamatan Siber 2025

3rd Grade

20 Qs

CyberSecurity Training - Quiz1

CyberSecurity Training - Quiz1

1st - 5th Grade

10 Qs

五年级设计与工艺(单元三)

五年级设计与工艺(单元三)

4th - 6th Grade

10 Qs

G4_1st semester final Revision 期末复习

G4_1st semester final Revision 期末复习

4th Grade

18 Qs

python2-lesson03

python2-lesson03

Assessment

Quiz

Computers

2nd - 12th Grade

Medium

Created by

hang zheng

Used 93+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行图中程序,最后输出的结果是?

100 90

90 90

100 100

90 100

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行图中程序,最后输出的结果是?

True

true

False

false

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

当编写if条件语句时,写在if语句中的代码需要?

缩进2个空格

缩进4个空格

缩进8个空格

不需要缩进空格

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

使用if-else条件语句时,什么时候会执行else语句中的代码?

if中的代码执行完毕之后

if 后面的条件结果为True的时候

if 后面的条件结果为False的时候

else 后面的条件结果为True的时候

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

运行图中代码,最后输出的结果是?

1 2 3

1 2

1 3

2 3

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

进行条件语句的判断时,if是必须的,else不是必须的

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if和else中的代码可以同时执行

True

False

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?