
Week2 上周知识点回顾
Authored by Nila Zhang
Science
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪个是合法的标识符 (变量名)?
abc-123
aBc
1abc
hello world
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python中如何注释一行代码?
// This is a comment
# This is a comment
/* This is a comment */
<-- This is a comment -->
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python中字符串的索引是从哪个数字开始的?
1
0
-1
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下关于Python变量的说法哪一项是正确的?
变量必须声明类型
变量名可以以数字开头
变量不能更改其值
变量名是区分大小写的
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在Python中,如何定义一个字符串?
使用圆括号
使用单引号或双引号
使用大括号
使用方括号
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在Python中,如何输出数据?
使用show()函数
使用display()函数
使用print()函数
使用output()函数
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
哪个运算符执行除法并返回余数?
#
/
//
%
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?