Mathematics

Oxford Computing toolkit

Professor PiAlgebra12 张卡片免费 · 无需注册

先在心里作答,再点击翻面。左右滑动或用按钮打分。

MathematicsOxford Computing toolkit
1 / 12
Mathematics · Oxford Computing toolkitProfessor Pi
↔ 正反两问先在心里作答…A named store in a program that holds a value which can change as it runs
轻点看答案

KS3-MATH-OCC-0001正面

Mathematics · Oxford Computing toolkitProfessor Pi

A variable

提示In algebra the same idea wears a letter such as x; in code it wears a name such as score.

为什么In maths a letter usually stands for one unknown number that never moves during the question. In code the same box is written to over and over: score = score + 1 means 'work out the right-hand side, then put the result back in the box'. Reading = as 'becomes' rather than 'equals' is the biggest single step from Year 7 algebra into programming, and the Blockly tasks in the younger age groups are built on it.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0001背面

Mathematics · Oxford Computing toolkitProfessor Pi
先在心里作答…A program tests whether a whole number is even by looking at what is left over after dividing it by 2. What is that leftover called?
轻点看答案

KS3-MATH-OCC-0002正面

Mathematics · Oxford Computing toolkitProfessor Pi

The remainder

提示It is the bit that will not fit into any whole group — three sweets shared between two children leaves one.

为什么Even means the leftover is 0, odd means it is 1. The test costs one step however huge the number, which is why so many coding tasks hide an odd-or-even question inside them.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0002背面

Mathematics · Oxford Computing toolkitProfessor Pi
填空先在心里作答…When one loop sits inside another, the total number of inner steps is the outer count ____ by the inner count.
轻点看答案

KS3-MATH-OCC-0003正面

Mathematics · Oxford Computing toolkitProfessor Pi

multiplied

提示The two counts do not go together by addition — think of rows and columns in a rectangle of chairs.

为什么Five rows of four chairs is twenty chairs, not nine, and a loop inside a loop behaves the same way: an outer loop of 5 wrapping an inner loop of 4 performs 20 inner steps. This is why nesting makes a program slow so quickly — three nested loops over a hundred items each is a million steps, and a timed round will not wait for it.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0003背面

Mathematics · Oxford Computing toolkitProfessor Pi
↔ 正反两问先在心里作答…Repeatedly comparing neighbouring items and swapping any pair in the wrong order
轻点看答案

KS3-MATH-OCC-0004正面

Mathematics · Oxford Computing toolkitProfessor Pi

A bubble sort

提示The slowest of the classic ordering methods, and the first one most people are taught.

为什么It makes pass after pass along the list, comparing item 1 with item 2, item 2 with item 3, and so on, swapping whenever a pair is the wrong way round; after each pass the largest remaining item has reached its place. Easy to write under pressure but slow — a hundred items can need thousands of comparisons. Every competition language already has a much faster built-in ordering method, and knowing when to reach for it is part of the skill.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0004背面

Mathematics · Oxford Computing toolkitProfessor Pi
填空先在心里作答…A point on a screen grid is written as an ordered pair, and the ____ number is always the one read across.
轻点看答案

KS3-MATH-OCC-0005正面

Mathematics · Oxford Computing toolkitProfessor Pi

first

提示The across-then-up order is the same one you met for x and y; think of walking into a room before climbing the stairs.

为什么Coordinates are (across, up), so (3, 1) is three across and one up while (1, 3) is somewhere else entirely. Screen grids add one twist: many put (0, 0) at the top-left corner and count downwards, so a larger second number means lower down the screen. Check which convention a task uses before you move anything.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0005背面

Mathematics · Oxford Computing toolkitProfessor Pi
⌨ 打字作答先在心里作答…Writing 5! is shorthand for 5 × 4 × 3 × 2 × 1. What is this operation called? (one word)

KS3-MATH-OCC-0006正面

Mathematics · Oxford Computing toolkitProfessor Pi

factorial

提示Name the operation, not its value: a single word ending in -ial.

为什么5! is 120, and it grows terrifyingly fast — 10! passes three million and 13! passes six billion. That is why a program that tries every possible order of a list is hopeless beyond about ten items, and why a task that looks like "try all the arrangements" almost always wants a cleverer idea instead.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0006背面

Mathematics · Oxford Computing toolkitProfessor Pi
⌨ 打字作答先在心里作答…Computers group bits together into bytes. How many bits make one byte? (type the number only)

KS3-MATH-OCC-0007正面

Mathematics · Oxford Computing toolkitProfessor Pi

8

提示It is a power of two, and it is how many switches an old-fashioned text character needed.

为什么A byte holds 2⁸ = 256 different patterns, enough for every letter, digit and punctuation mark in plain English text. Larger units keep doubling in powers of two, which is why memory sizes run 512, 1024, 2048 rather than in round hundreds.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0007背面

Mathematics · Oxford Computing toolkitProfessor Pi
先在心里作答…A task asks for the best of an enormous number of options and the clock is running. What is the name for simply trying every option in turn?
轻点看答案

KS3-MATH-OCC-0008正面

Mathematics · Oxford Computing toolkitProfessor Pi

A brute-force search

提示Two words: no cleverness at all, just raw effort until something works.

为什么This approach is honest and always right, which makes it a fine first answer — but only when the number of options is small. Ten items can be arranged in 3,628,800 ways and a computer will chew through that happily; twenty items has more arrangements than a person could count in a lifetime. The skill is estimating the size of the job before writing it, then looking for a rule that skips most of it.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0008背面

Mathematics · Oxford Computing toolkitProfessor Pi
多处填空先在心里作答…Everyday arithmetic is written in base ____; a computer stores everything in base ____; programmers shorten long rows of bits using base ____.
轻点看答案

KS3-MATH-OCC-0009正面

Mathematics · Oxford Computing toolkitProfessor Pi

ten; two; sixteen

提示Fingers, then switches, then a short-hand that squeezes long rows of switches into far fewer symbols.

为什么Base ten uses the digits 0–9 because we have ten fingers. Base two uses 0 and 1 because a switch is on or off. The third — hexadecimal — adds A to F so that a group of four bits becomes one symbol, which is why a colour on a web page is written like #FF8800. All three are the same numbers wearing different clothes.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0009背面

Mathematics · Oxford Computing toolkitProfessor Pi
先在心里作答…A loop meant to run once for each of ten items runs eleven times instead. What is the usual name for this classic slip?
轻点看答案

KS3-MATH-OCC-0010正面

Mathematics · Oxford Computing toolkitProfessor Pi

An off-by-one error

提示Think of the posts along a fence: there is always one more post than there are panels.

为什么Computers usually number from 0 and people from 1, and the gap between those two habits is where this bug lives. Ask two questions before running any loop: does it start at 0 or at 1, and does it stop at the last value or just before it? Writing out the first two and last two steps by hand catches nearly every one.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0010背面

Mathematics · Oxford Computing toolkitProfessor Pi
先在心里作答…A student cannot simply sign up for the Oxford University Computing Challenge. What earns them a place?
轻点看答案

KS3-MATH-OCC-0011正面

Mathematics · Oxford Computing toolkitProfessor Pi

A top Bebras result

提示It is decided by how you did in the autumn computational-thinking challenge, not by applying.

为什么The Oxford University Computing Challenge is run by the Raspberry Pi Foundation in partnership with the University of Oxford, and invitations go to roughly the top tenth of UK Bebras entrants. Bebras therefore does double duty: worth entering for its own sake, and the only door through to this. There are four age groups spanning ages 10 to 18, and everything is done online in school under a teacher's supervision, with answers marked automatically.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0011背面

Mathematics · Oxford Computing toolkitProfessor Pi
先在心里作答…Bebras puzzles need no programming at all. What does the Oxford University Computing Challenge ask you to do on top of the thinking?
轻点看答案

KS3-MATH-OCC-0012正面

Mathematics · Oxford Computing toolkitProfessor Pi

Write working code

提示Bebras asks what a set of steps would produce; here you must build the steps and let a machine run them.

为什么You do not describe a method here, you implement it, and it is tested automatically — so a nearly-right idea scores nothing. The two younger age groups work in Blockly, a drag-together block language, while the older groups may use a text language such as Python. Turning a Bebras answer into a small working program is the most direct preparation there is.

下次复习日期相同——「太简单」会让之后的间隔拉得更快

KS3-MATH-OCC-0012背面

Oxford Computing toolkit

12 张卡片

0记住了
0有点难
12跳过
收进我的星空还没有账号?查看方案

把学到的留下来

在这个页面上,练习不会被保存。在孩子自己的星空里,每一张卡都有排程——在快要忘记之前重新出现——写这张卡的教授也只有一步之遥。