2026年英语程序设计题库及答案.docVIP

  • 0
  • 0
  • 约7.62千字
  • 约 13页
  • 2026-10-12 发布于山东
  • 举报

2026年英语程序设计题库及答案

一、选择题(总共10题,每题2分)

1.WhichofthefollowingisNOTavaliddatatypeinPython?

A.Integer

B.Float

C.Boolean

D.Character

2.WhatwillbetheoutputofthefollowingPythoncode?

```python

x=10

y=20

print(x+y)

```

A.30

B.10

C.20

D.40

3.WhichoperatorisusedtocheckiftwovaluesareequalinPython?

A.=

B.==

C.

D.!=

4.WhatisthecorrectwaytocreateafunctioninPython?

A.functionmy_function():

B.defmy_function():

C.funcmy_function():

D.function:my_function()

5.Howdoyoucommento

文档评论(0)

1亿VIP精品文档

相关文档