python4-lesson06

python4-lesson06

2nd - 12th Grade

10 Qs

quiz-placeholder

Similar activities

AI - Chapter 1 - Vocab Quiz 1

AI - Chapter 1 - Vocab Quiz 1

7th - 9th Grade

11 Qs

scratch终极大挑战

scratch终极大挑战

6th Grade

8 Qs

网络与通讯

网络与通讯

11th Grade

10 Qs

scratch

scratch

6th Grade

15 Qs

算法与伪代码

算法与伪代码

4th Grade

10 Qs

2022年第二届苏州软件比武大赛—热身题

2022年第二届苏州软件比武大赛—热身题

2nd Grade

10 Qs

11101八年級期末考

11101八年級期末考

8th Grade

11 Qs

初識Scratch

初識Scratch

5th Grade

10 Qs

python4-lesson06

python4-lesson06

Assessment

Quiz

Computers

2nd - 12th Grade

Easy

Created by

hang zheng

Used 5+ times

FREE Resource

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?