Week2 上周知识点回顾

Week2 上周知识点回顾

University

10 Qs

quiz-placeholder

Similar activities

Quiz Informatika Genap KLs 7

Quiz Informatika Genap KLs 7

7th Grade - University

15 Qs

Preguntas sobre Python

Preguntas sobre Python

University

10 Qs

Kiến thức về hàm print() trong Python

Kiến thức về hàm print() trong Python

2nd Grade - University

9 Qs

Quiz Pemrograman Python

Quiz Pemrograman Python

10th Grade - University

15 Qs

Python Programming Competition

Python Programming Competition

University

12 Qs

Contadores y Acumuladores

Contadores y Acumuladores

University

10 Qs

Bài 24

Bài 24

10th Grade - University

15 Qs

PYTHON APTITUDE

PYTHON APTITUDE

University

12 Qs

Week2 上周知识点回顾

Week2 上周知识点回顾

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Nila Zhang

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python解释器的作用是什么?

将Python代码编译成机器语言

直接执行语句并立即显示结果

创建图形用户界面

管理数据库

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下哪项是Python中的有效标识符?

variable_name

variable-name

1variable

for

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python 中的 'bool' 类型表示什么类型的数据?

整数

浮点数

逻辑值(T/F)

字符串

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在Python中创建注释的正确方式是什么?

// This is a comment

# This is a comment

/* This is a comment */

<-- This is a comment -->

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在Python中,表达式 (3 > 5 or 5 > 3) 的结果是多少?

Error

None

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python中的'in'运算符有什么作用?

检查两个变量是否相同

检查一个值是否存在于数据集合中

将一个值赋给一个变量

比较两个值

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下关于Python变量的说法哪一项是正确的?

变量必须声明类型

变量名可以以数字开头

变量名是区分大小写的

变量不能更改其值

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?