📚 Year 7 CIE Computer Science Unit Test Mock Exam Analysis | Year 7 CIE 计算机单元测试模拟卷解析
This article provides a detailed walkthrough of a mock unit test for Year 7 CIE Computer Science. We will go through ten carefully selected questions, covering key topics such as hardware, software, data representation, basic programming concepts, and digital safety. Each question is followed by a clear answer and an in-depth explanation to help you understand the concepts and improve your exam technique. Let us dive in!
本文为 Year 7 CIE 计算机科学单元测试模拟卷提供详细解析。我们将逐题分析十道精心挑选的题目,涵盖硬件、软件、数据表示、基础编程概念和数字安全等核心知识点。每道题都配有清晰的答案和深入的解释,帮助你理解概念并提升应试技巧。让我们开始吧!
1. Question 1: Input and Output Devices | 第1题:输入与输出设备
Which of the following are input devices? (A) Keyboard, (B) Monitor, (C) Mouse, (D) Printer.
下列哪些是输入设备?(A) 键盘,(B) 显示器,(C) 鼠标,(D) 打印机。
Answer: A and C are input devices. B and D are output devices.
答案: A 和 C 是输入设备。B 和 D 是输出设备。
Explanation: An input device sends data or commands into the computer system. The keyboard allows you to type text and commands, while the mouse lets you point, click, and select items on the screen. In contrast, an output device takes information from the computer and presents it to the user. A monitor displays visual output, and a printer produces a physical copy on paper. Remembering the direction of data flow is key: input goes into the computer, output comes out of it.
解析: 输入设备将数据或指令发送到计算机系统中。键盘可用来输入文字和命令,鼠标则能指向、点击并选择屏幕上的项目。相反,输出设备从计算机中获取信息并呈现给用户。显示器展示视觉输出,打印机则在纸上生成实物副本。记住数据流向是关键:输入是进入计算机,输出则是从计算机出来。
2. Question 2: What Is an Operating System? | 第2题:什么是操作系统?
Define an operating system and list two of its main functions.
定义操作系统,并列出它的两个主要功能。
Answer: An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for application programs. Two functions are: managing files and folders, and handling multitasking (running several programs at once). Other acceptable functions include managing memory, providing a user interface, and controlling peripheral devices.
答案: 操作系统(OS)是管理计算机硬件和软件资源,并为应用程序提供通用服务的系统软件。两个功能是:管理文件和文件夹,处理多任务(同时运行多个程序)。其他可接受的功能包括管理内存、提供用户界面以及控制外围设备。
Explanation: Without an operating system, a computer would be very difficult to use. The OS acts as a bridge between the user and the hardware. For example, when you save a document, the OS decides where to store it on the hard drive (file management). When you listen to music while browsing the internet, the OS swiftly switches the CPU’s attention between tasks so that everything runs smoothly (multitasking). Common operating systems include Microsoft Windows, macOS, and Linux.
解析: 没有操作系统,计算机将极难使用。操作系统充当用户与硬件之间的桥梁。例如,当你保存文档时,由操作系统决定将其存储在硬盘的何处(文件管理)。当你一边上网一边听音乐时,操作系统会迅速切换 CPU 在各任务间的注意力,确保一切流畅运行(多任务处理)。常见的操作系统有 Microsoft Windows、macOS 和 Linux。
3. Question 3: Binary Conversion | 第3题:二进制转换
Convert the decimal number 12 into binary. Show your working.
将十进制数 12 转换为二进制。请展示你的步骤。
Answer: The binary equivalent is 1100.
答案: 对应的二进制数是 1100。
Explanation: We can use the division-by-2 method. Divide 12 by 2: 12 ÷ 2 = 6 remainder 0. Divide 6 by 2: 6 ÷ 2 = 3 remainder 0. Divide 3 by 2: 3 ÷ 2 = 1 remainder 1. Divide 1 by 2: 1 ÷ 2 = 0 remainder 1. Now read the remainders from bottom to top: 1, 1, 0, 0. Therefore, 12 in decimal equals 1100 in binary. We can verify this: (1 × 8) + (1 × 4) + (0 × 2) + (0 × 1) = 12.
解析: 我们可以使用“除以2取余法”。用12除以2:12 ÷ 2 = 6 余 0。6除以2:6 ÷ 2 = 3 余 0。3除以2:3 ÷ 2 = 1 余 1。1除以2:1 ÷ 2 = 0 余 1。现在从下往上读取余数:1, 1, 0, 0。因此,十进制数12等于二进制数1100。我们可以验证:(1 × 8) + (1 × 4) + (0 × 2) + (0 × 1) = 12。
4. Question 4: Algorithm vs Program | 第4题:算法与程序的区别
Explain the difference between an algorithm and a program.
解释算法和程序之间的区别。
Answer: An algorithm is a step-by-step set of instructions to solve a problem, independent of any programming language. A program is the implementation of an algorithm in a specific programming language that a computer can execute.
答案: 算法是解决某个问题的逐步指令集,它独立于任何编程语言。程序则是算法在特定编程语言中的实现,计算机可以执行它。
Explanation: Think of an algorithm like a recipe for baking a cake. The recipe lists the ingredients and steps (e.g., mix flour and eggs, bake for 30 minutes) but it is written in plain English. You could follow the same recipe in a different kitchen. A program is like actually baking that cake using a specific brand of oven and tools — it takes the recipe and makes it happen in a real, specific environment. In computing, you can express an algorithm using a flowchart or pseudocode, but a program must be written in code, such as Python or Scratch.
解析: 将算法想象成烘烤蛋糕的食谱。食谱列出原料和步骤(例如,混合面粉和鸡蛋,烘烤30分钟),但它只是用普通语言写成的。你可以在不同的厨房中按照相同的食谱操作。程序则像是在特定品牌的烤箱和工具上实际烘烤那个蛋糕 —— 它把食谱在真实、具体的环境中实现。在计算领域,你可以用流程图或伪代码表达一个算法,但程序必须用代码编写,比如 Python 或 Scratch。
5. Question 5: Strong Password Characteristics | 第5题:强密码的特征
What is a strong password? Give three rules for creating one.
什么是强密码?请给出创建强密码的三条规则。
Answer: A strong password is one that is difficult for attackers to guess or crack. Three rules are: (1) use a mix of uppercase and lowercase letters, numbers, and symbols; (2) make it at least 8 characters long; (3) avoid using personal information such as your name or birthday.
答案: 强密码是攻击者难以猜出或破解的密码。三条规则是:(1) 混合使用大小写字母、数字和符号;(2) 使其长度至少为8个字符;(3) 避免使用个人信息,例如你的姓名或生日。
Explanation: Cybercriminals use automated tools that can try millions of password combinations. A short password like “password123” can be cracked in seconds. By adding variety — for example, changing “password” to “P@ssw0rd!” — you dramatically increase the time needed to break it. A good tip is to use a memorable passphrase, such as “MyDogLikes2ChaseBalls!” which is long and contains different character types. Never reuse the same password across multiple accounts.
解析: 网络犯罪分子会使用能尝试数百万种密码组合的自动工具。像 “password123” 这样的短密码会在几秒内被破解。通过增加多样性 —— 例如将 “password” 改为 “P@ssw0rd!”—— 你可以显著增加破解所需的时间。一个好方法是使用易记的口令短语,如 “MyDogLikes2ChaseBalls!”,这个短语既长又包含不同字符类型。切勿在多个账户中重复使用同一密码。
6. Question 6: Units of Data Storage | 第6题:数据存储单位
Arrange the following in ascending order of size: Megabyte, Byte, Gigabyte, Kilobyte. Also write down how many Bytes are in one Kilobyte.
按从小到大的顺序排列以下单位:兆字节 (Megabyte)、字节 (Byte)、吉字节 (Gigabyte)、千字节 (Kilobyte)。并写出一千字节等于多少字节。
Answer: Ascending order: Byte, Kilobyte, Megabyte, Gigabyte. One Kilobyte is equal to 1024 Bytes (in binary terms).
答案: 升序排列:字节、千字节、兆字节、吉字节。一千字节等于 1024 字节(在二进制计数中)。
Explanation: Data sizes are based on the byte. A single byte can store one character, like the letter ‘A’. The next units scale by approximately 1000. A Kilobyte (KB) is 1024 bytes, a Megabyte (MB) is 1024 KB, and a Gigabyte (GB) is 1024 MB. To remember the order, think of a small text file (a few KB), a digital photo (a few MB), and a full-length movie (several GB). Note: sometimes the simplified 1000 bytes = 1 KB is used, but the exact binary value 1024 is the standard in computer science.
解析: 数据大小基于字节。一个字节可以存储一个字符,比如字母 ‘A’。之后的单位以大约 1000 倍递增。一千字节 (KB) 是 1024 字节,一兆字节 (MB) 是 1024 KB,一吉字节 (GB) 是 1024 MB。要记住顺序,可以想象一个小的文本文件(几 KB)、一张数码照片(几 MB)和一部完整电影(几 GB)。注意:有时会使用简化的 1000 字节 = 1 KB,但计算机科学中的标准是精确的二进制值 1024。
7. Question 7: Repetition in Scratch | 第7题:Scratch 中的重复执行
In Scratch, which block would you use to make a sprite say “Hello!” exactly 10 times?
在 Scratch 中,你要让角色准确地说 “Hello!” 10次,应该使用哪个积木块?
Answer: You would use the “repeat (10)” block from the Control category. Inside it, you place a “say Hello! for 2 seconds” block.
答案: 你会使用控制类别中的 “重复执行 (10) 次” 积木。在它内部放入一个 “说 Hello! 2 秒” 积木。
Explanation: Scratch provides loops to avoid having to drag the same block many times. The “repeat ( )” block allows you to run a set of instructions a specific number of times. A common mistake is to use a “forever” block, which would make the sprite say “Hello!” endlessly. In programming, this concept is called a “count-controlled loop” or “for loop” in text-based languages. Using the correct loop makes your code shorter and easier to read.
解析: Scratch 提供了循环积木,避免反复拖放相同的代码块。”重复执行 ( ) 次” 积木允许你将一组指令运行指定的次数。一个常见错误是使用 “重复执行” 积木中的 “无限循环”(即 “一直”),这会让角色无止境地说 “Hello!”。在编程中,这一概念在文本式语言中被称为 “计数控制循环” 或 “for 循环”。使用正确的循环能让你的代码更短、更易读。
8. Question 8: Star Network Topology | 第8题:星型网络拓扑
Describe a star network topology. Give one advantage and one disadvantage of this layout.
描述星型网络拓扑。给出这种布局的一个优点和一个缺点。
Answer: In a star topology, all devices (nodes) are connected to a central hub or switch. Advantage: if one cable or device fails, the rest of the network remains unaffected. Disadvantage: the entire network depends on the central hub; if the hub fails, the whole network goes down.
答案: 在星型拓扑中,所有设备(节点)都连接到一个中央集线器或交换机。优点:如果一条电缆或一台设备发生故障,网络其余部分不受影响。缺点:整个网络依赖中央集线器;如果集线器故障,全网瘫痪。
Explanation: Imagine a wheel with spokes: the hub is at the centre, and each spoke goes to a different computer. Data sent from one computer goes to the hub, which then forwards it to the correct destination. This design is very common in schools and offices because it is easy to add new devices and troubleshoot problems. However, the hub is a single point of failure. Compared to a bus topology, a star network uses more cable but offers better reliability.
解析: 想象一个带有辐条的轮子:集线器位于中心,每根辐条连接到不同的计算机。每台计算机发送的数据会先到达集线器,再由集线器转发至正确目的地。这种设计在学校和办公室中非常普遍,因为易于添加新设备和排除故障。然而,集线器是单一故障点。与总线拓扑相比,星型网络使用的电缆更多,但提供了更好的可靠性。
9. Question 9: Bubble Sort Basics | 第9题:冒泡排序基础
What is the main idea behind the bubble sort algorithm? You may use a small list of numbers to illustrate your explanation.
冒泡排序算法的主要思想是什么?你可以用一个小的数字列表来说明你的解释。
Answer: Bubble sort works by repeatedly stepping through the list, comparing adjacent elements, and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed. With list [5, 3, 8, 1]: compare 5 and 3 → swap to [3, 5, 8, 1]; compare 5 and 8 → no swap; compare 8 and 1 → swap to [3, 5, 1, 8]. After one pass, the largest number ‘8’ bubbles to the end. We repeat until sorted.
答案: 冒泡排序通过反复遍历列表、比较相邻元素并在它们顺序错误时进行交换来工作。对列表的遍历会重复进行,直到没有交换发生。以列表 [5, 3, 8, 1] 为例:比较5和3 → 交换为 [3, 5, 8, 1];比较5和8 → 不交换;比较8和1 → 交换为 [3, 5, 1, 8]。一趟之后,最大的数字 ‘8’ 像气泡一样浮到末尾。我们重复这一过程直到完全有序。
Explanation: The name “bubble sort” comes from the way smaller elements “bubble” to the top (beginning) of the list, while larger ones sink to the bottom (end). It is simple to understand but not very efficient for very large lists. In a list of n items, the algorithm may need up to n passes. After the first pass, the last element is guaranteed to be in its correct position, so we can ignore it in subsequent passes. Bubble sort is often the first sorting algorithm taught in computer science classes.
解析: “冒泡排序” 这个名字来源于较小的元素会像气泡一样 “浮” 到列表的顶端(开头),而较大的元素则沉到底端(末尾)。它易于理解,但对于很大的列表来说效率不高。在一个包含 n 个元素的列表中,该算法最多可能需要 n 趟。第一趟之后,最后一个元素保证在其正确位置上,因此我们可以在后续遍历中忽略它。冒泡排序通常是计算机科学课上教授的第一个排序算法。
10. Question 10: Digital Citizenship and Copyright | 第10题:数字公民与版权
Explain what copyright means in the context of digital work. Why is it wrong to copy and paste an image from the internet without permission?
解释在数字作品环境下版权的含义。为什么未经许可从网上复制粘贴图片是错误的?
Answer: Copyright is a legal right that grants the creator of original work exclusive rights to its use and distribution. Copying an image without permission is wrong because it infringes the creator’s copyright, is a form of theft, and can have legal consequences. It also shows a lack of respect for others’ intellectual property.
答案: 版权是一种法律权利,赋予原创作品的创作者对其使用和分发的专属权利。未经许可复制图片是错误的,因为它侵犯了创作者的版权,属于盗窃行为,并可能带来法律后果。这也表现出对他人知识产权的不尊重。
Explanation: Just as you would not steal a physical photo from someone’s album, you should not take digital content that does not belong to you. Many images online are protected by copyright. Some are offered under Creative Commons licenses or are in the public domain, meaning you can use them if you follow the rules (e.g., giving credit). A responsible digital citizen always checks the license, credits the creator, and asks permission when necessary. Plagiarism and piracy both harm the original creators.
解析: 正如你不会从别人的相册里偷走一张实体照片一样,你也不应该取用不属于你的数字内容。网络上的许多图片都受版权保护。有些图片以知识共享许可提供,或属于公共领域,这意味着如果你遵守规则(例如注明出处),就可以使用它们。一个负责任的数字公民总会检查许可条款、为创作者署名,并在必要时请求许可。剽窃和盗版都会伤害原创者。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导Cancel reply