python2-lesson03

python2-lesson03

2nd - 12th Grade

15 Qs

quiz-placeholder

Similar activities

电子商务

电子商务

12th Grade

15 Qs

109S STEAM營隊

109S STEAM營隊

5th - 7th Grade

20 Qs

科技益智问答Part1

科技益智问答Part1

7th - 12th Grade

10 Qs

中五名句(11-20课)练习

中五名句(11-20课)练习

1st - 10th Grade

10 Qs

翰林 七下 第四章 資訊保護與資訊安全(1)

翰林 七下 第四章 資訊保護與資訊安全(1)

7th Grade

12 Qs

第2次資訊素養問答

第2次資訊素養問答

KG - Professional Development

15 Qs

Windows知識驗收

Windows知識驗收

8th Grade

15 Qs

資安素養2~分辨網路的假消息

資安素養2~分辨網路的假消息

3rd - 6th Grade

10 Qs

python2-lesson03

python2-lesson03

Assessment

Quiz

Computers

2nd - 12th Grade

Medium

Created by

hang zheng

Used 97+ times

FREE Resource

AI

Enhance your content

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

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

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?