Search Header Logo

Câu hỏi ôn tập Pygame

Authored by B22DCCN034 Anh

Professional Development

Professional Development

Used 2+ times

Câu hỏi ôn tập Pygame
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào được dùng để khởi tạo Pygame?

pygame.start()

pygame.init()

pygame.begin()

pygame.launch()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để thiết lập kích thước cửa sổ trong Pygame?

pygame.set_mode()

pygame.display.set_window()

pygame.display.set_mode()

pygame.window.set_size()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để tải một hình ảnh trong Pygame?

pygame.image.load()

pygame.image.open()

pygame.load.image()

pygame.display.load()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào để vẽ một hình chữ nhật trong Pygame?

pygame.draw.rect()

pygame.shape.rectangle()

pygame.rect.draw()

pygame.rectangle()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm sao để cập nhật màn hình hiển thị sau khi vẽ các đối tượng?

pygame.display.render()

pygame.update()

pygame.display.flip()

pygame.refresh()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sự kiện nào được dùng để phát hiện khi người chơi nhấn phím thoát (ESC)?

pygame.KEYQUIT

pygame.KEYDOWN

pygame.QUIT

pygame.EXIT

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào kết thúc Pygame và đóng cửa sổ trò chơi?

pygame.stop()

pygame.quit()

pygame.exit()

pygame.close()

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?