Search Header Logo

python4-lesson09

Authored by hang zheng

Computers

2nd - 12th Grade

Used 2+ times

python4-lesson09
AI

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

1 min • 1 pt

在pygame中,图片的旋转默认是哪个方向

顺时针

逆时针

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

在pygame中,一张墙体图片需要加载几次,需要渲染几次?

加载1次 渲染无数次

加载无数次 渲染1次

加载1次 渲染1次

加载无数次 渲染无数次

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

下列哪一行代码不属于加载图片的3个基本方法

bg = pygame.Surface((800, 600), flags=pygame.SRCALPHA)

img=font.render(“字”,True, (0, 255, 0))

img=pygame.image.load(“xxx.jpg”)

pygame.display.update()

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

已知img文件夹中有一张名为"wall.jpg"的图片,下列哪一行代码可以正常画在这一张图片?

pg.image.load(“.\img\wall.png")

pg.image.load(“.\img\wall.jpg")

pg.image.load(“wall.jpg")

pg.image.load(“wall.png")

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

已知主角图片刚开始默认朝右,那么当按下左键时,应该将原图逆时针旋转多少度?

0

90

180

270

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

已知self.image是一个图片对象,下面哪句代码可以将这个图片画在窗口的左上角

screen.blit(self.image,(0,0))

screen.blit(,(0,0),self.image)

screen.blit(self.image,(100,100))

screen.blit(,(100,100),self.image)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

当主角通过旋转得到一张新的图片时,需要根据新图片得到一个新的矩形对象

True

False

Access all questions and much more by creating a free account

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?