
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
Scratch介绍与动画基础

Quiz
•
3rd - 6th Grade
15 questions
极客争霸赛-第四回合

Quiz
•
10th Grade
16 questions
scratch介面

Quiz
•
7th Grade
13 questions
CTHW P4 電腦科評估

Quiz
•
6th Grade
10 questions
五年级设计与工艺(单元三)

Quiz
•
4th - 6th Grade
15 questions
认识电脑(2011~2018年)

Quiz
•
6th - 8th Grade
8 questions
4 年级 RBT - Scratch

Quiz
•
1st - 12th Grade
12 questions
S07.2 常见的应用软体

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade