Search Header Logo

python2-lesson02

Authored by hang zheng

Computers

2nd - 12th Grade

Used 92+ times

python2-lesson02
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行上图中的代码,a最后的值是多少?

10

1000

1010

0

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行上图中的代码,a最后的值是多少?

1

1000

1001

1100

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

运行上图中的代码,请问最后a和b的值分别是多少?

a是10 b是67

a是670 b是67

a是10 b是670

a和b都是670

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

*在python中表示数学的哪种运算符号?

加号

减号

乘号

除号

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

2.4

2.0

2

7

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

在python中, a==7 表示什么?

将变量a赋值为7

判断a和7是否相等

判断a和7是否不相等

判断a是不是数字类型

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

正确

错误

True

False

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?