
python4-lesson02

Quiz
•
Computers
•
4th - 12th Grade
•
Medium

hang zheng
Used 8+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pygame.display.set_mode((800,400))
这句话的意思是?
创建一个高为800,宽为400的游戏窗口
创建一个宽为800,高为400的游戏窗口
创建一个宽为800,高为400的背景图片
创建一个高为800,宽为400的背景图片
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pygame.QUIT 是pygame中的什么事件
游戏开始事件
键盘按下事件
游戏退出事件
鼠标移动事件
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在游戏窗口中,每一个掉落的代码雨字母其实是?
一张字母图片
一个字符串
一个实例
一张背景图
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在渲染图片的过程中,是先画背景图还是先画每一张字母图片?
背景图片
字母图片
字母和背景同时画
随机排序,没有先后之分
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如果不画背景图,只画字母图片,会产生什么样的效果?
字母只出现在第一行,不会落下
屏幕正常显示,代码雨正常落下
屏幕全黑,没有任何图案
所有的帧图案进行重叠,代码铺满整个屏幕
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pygame.time.delay(30)这句代码的作用是?
让程序等待30秒
让程序等待30毫秒
让程序等待30微妙
让程序每秒显示30帧的画面
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
bg.fill(pygame.Color(0, 0, 0,20))表示给背景图设置颜色,第4个参数表示透明度,如果现在想将背景图设置为绿色,完全不透明,那么括号中的参数应该如何填写
(0,255,0,255)
(0,255,0,0)
(0,0,255,0)
(0,0,255,255)
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
第八章 系统软体

Quiz
•
12th Grade
7 questions
G4 challenge

Quiz
•
4th Grade
6 questions
Создание 2Д игр

Quiz
•
9th Grade
15 questions
J05.3 常见的应用软体

Quiz
•
7th Grade
10 questions
microbit 指令方块

Quiz
•
5th Grade
11 questions
PyGame (пайгейм) кітапханасы

Quiz
•
10th Grade
14 questions
影像資料測驗

Quiz
•
12th Grade - University
10 questions
python4-lesson09

Quiz
•
2nd - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade