Uploaded by Naomi de Jesus

Cybersecurity Game Quiz in Scratch

advertisement
Cybersecurity Project
Instruction sheet
Name: ________
Date: ______
Project: Cybersecurity Game Quiz in
Scratch/Python
Introduction
Your task is to add cybersecurity-related questions and functionality to your game quiz. You must
work with a partner to complete the tasks. When you complete the task, save your file. Open the
following starter Scratch program and load the file from Teams’ Assignment. Analyse the starter
code before your begin and follow the instructions below. 您的任务是将与网络安全相关的问题和
功能添加到您的游戏测验中。您必须与合作伙伴合作才能完成任务。完成任务后,保存文件。
打开以下启动器 Scratch 程序并从 Teams 的 Assignment 加载文件。在开始之前分析入门代码并
按照以下说明进行操作。
Use the PowerPoint provided in Teams. 使用 Teams 中提供的 PowerPoint。
Task:
1. Complete subroutine q3. Then fill
up appropriate cybersecurity
question in the appropriate block.
Example: Which protection checks
incoming and outgoing network
traffic?
1. 完成子程序 q3。然后在适当的部分填写适当的网络
安全问题。
示例:哪种保护检查传入和传出的网络流量?
答案是:防火墙
The answer is: Firewall
2. Give the same feedback as
subroutines q1 and q2.
给出与子程序 q1 和 q2 相同的反馈。
3. Complete subroutine q4. Example: 3.完成子程序 q4。例子:
● What does the D stand for in
DOS attack?
○ Answer: Denial
● What does the S stand for in
DOS attack?
○ Answer: Service
4. In this subroutine, both questions
must be answered correctly for
Page 1
● DOS 攻击中的 D 代表什么?
○ 回答:拒绝
● DOS 攻击中的 S 代表什么?
○ 答:服务
在这个子程序中,两个问题都必须正确回答才能得到
“正确”的反馈。如果他们只有一个正确或两个都不
正确,那么他们应该得到“错误”作为反馈。
Year 7 – Programming essentials in Scratch: part I
Lesson 4 – Operators
Learner activity sheet
them to get the “Correct”
feedback. If they only get one
correct or neither, then they
should get “Wrong” as feedback.
5. Add a new question after the
Green flag has been clicked that
asks the user what year group
they are in.
单击绿色标志后添加一个新问题,询问用户他们所在
的年级组。
6. If the user enters a number lower
than seven, then they should be
asked questions 1 and 2,
otherwise they should be asked
questions 3 and 4.
如果用户输入的数字小于七,则应询问问题 1 和 2,
否则应询问问题 3 和 4。
Hint: Use the year-group variable
Explorer tasks (optional). 资源管理器任务(可选)
Task
1. Use the ‘score’ variable to add one 1 每当用户答对一道题时,使用“score”变量将分数
to the score each time the use
加一。
gets a question correct.
游戏开始时,分数应设置为 0。
When the game starts, the score
should be set to 0.
2. Add a question to subroutine q5.
2. 向子程序 q5 添加一个问题。
Use this question.
用这个问题。
How many possible userauthentication methods are
available to make data even more
secure?
有多少种可能的用户身份验证方法可以使数据更加安
3. Accept any answer between 1-5.
Page 2
全?
3. 接受 1-5 之间的任何答案。
Download