python4-lesson06

python4-lesson06

2nd - 12th Grade

10 Qs

quiz-placeholder

Similar activities

问卷调查

问卷调查

7th Grade

6 Qs

109 第二學期 資訊科技 3-1 (2)

109 第二學期 資訊科技 3-1 (2)

7th Grade

15 Qs

109 第二學期 資訊科技 3-2

109 第二學期 資訊科技 3-2

7th Grade

15 Qs

偽代碼程序編寫

偽代碼程序編寫

10th Grade

11 Qs

Python_基礎觀念

Python_基礎觀念

9th Grade

12 Qs

4 年级 RBT - Scratch

4 年级 RBT - Scratch

1st - 12th Grade

8 Qs

电脑与网络安全

电脑与网络安全

11th Grade

10 Qs

Hello World!

Hello World!

1st - 3rd Grade

12 Qs

python4-lesson06

python4-lesson06

Assessment

Quiz

Computers

2nd - 12th Grade

Practice Problem

Easy

Created by

hang zheng

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

用古代的单个士兵和士兵联队分别表示精灵和精灵组,下列对应关系正确的是

单个士兵--精灵 士兵联队--精灵组

单个士兵--精灵 士兵联队--精灵

单个士兵--精灵组 士兵联队--精灵组

单个士兵--精灵组 士兵联队--精灵

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

pg.sprite.spritecollide(self, self.game.walls, False)表示检测主角和墙体精灵组的碰撞,第3个参数False表示的是什么?

是否删除主角这个实例

当产生碰撞时,是否删除整个精灵组

当产生碰撞时,是否删除精灵组中产生碰撞的元素

当产生碰撞时,是否让他们回到原位

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

已知walls是一个精灵组,那么只有精灵类的实例,或者是继承了精灵类的类的实例,才能放入wall中,这句话是否正确。

正确

错误

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

已知walls是一个精灵组,那么下列哪个类的实例,可以放入walls中?

class Wall:

class Wall(pygame.sprite.Sprite)

class Player():

class Player(pygame.Sprite)

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

当主角从左向右移动时撞上了墙壁,那么此时主角应该在墙壁的????

左侧

右侧

上侧

下侧

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

主角移动时撞上了墙壁,那么通过此时应该让主角显示在墙壁的哪一侧呢?

左侧

右侧

有可能是左侧,也有可能是右侧

无法确定,因为不知道主角的移动方向

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

一个游戏中只能存在一个精灵组,这句话是否正确?

正确

错误

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

Already have an account?