Code for Life logo Ocado Group logo menu
Teachers Students
Register
  • Teacher
    chevron_right
  • Student
    chevron_right
  • Independent
    chevron_right
Register now
Teacherchevron_right Studentchevron_right Independentchevron_right
Teacher chevron_right Student chevron_right About us chevron_right Help and support chevron_right Cookie settings chevron_right Privacy policy chevron_right Terms of use chevron_right Home learning chevron_right Get involved chevron_right
Rapid Router logo
Levels Create

图形化编程入门练习

这套编程练习使用图形化编程语言Blockly,你可以点击 这里了解更多图形化编程的知识.

新手入门 练习 1-12

1: 你能帮助卡车回到房子那里吗?

2: 这次房子更远一些了

3: 你能使卡车向右转吗?

4: 你越来越擅长这个了!让我们试着左转

5: 干得好!你已经准备好迎接更艰难的事情了

6: 干得好!让我们使用这三个代码块

7: 这条路比较复杂

8: 仓库并不总是在同一个地方

9: 你能从右向左走吗?

10: 干得好!再来一次怎么样?

11: 蜗牛迷宫!

12: 这条路更复杂

随机:选一个随机练习进行尝试。

最短路径 练习 13-18

13: 多条路线

14: 你能找出最短的路线吗?

15: 如果有不止一次交货怎么办?

16: 这次有更多的房子

17: 房子超负荷!

18: 这个真是一团糟

随机:选一个随机练习进行尝试。

循环和重复 练习 19-28

19: 重复自己很无聊

20: 使用循环结构使你的程序更短、更简单

21. 四叶草

22: 现在事情变得相当漫长和复杂

23: 蛇形!

24: 这条路又长又弯

25: 瀑布水位

26: 冬季仙境!

27: 农场

28: 大城市

随机:选一个随机练习进行尝试。

带条件的循环 练习 29-32

29: 不需要数字

30: 你能再做一次吗?

31: 熟能生巧

32: 哦,这是直到永远!

随机:选一个随机练习进行尝试。

如果…那么 练习 33-43

33: 现在是时候尝试如果结构了

34: 多个如果

35: 让我们把它们放在一起!

36: 还有什么?否则就是这样!

37: 更长一点

38: 第三次幸运!

39: 死胡同!

40: 调整您以前的方案

41: 决策时间

42: 这次你觉得怎么样?

43: 干得好!你还能做什么?

随机:选一个随机练习进行尝试。

红绿灯 练习 44-50

44: 哦,不!红绿灯!

45: 绿色表示出发,红色表示等待

46: 干得好,你已经走得很远了!

47: 真是一团糟!但是你能找到路线吗?

48: 把所有的艰苦工作都付诸实践

49: 太神了,再来一次!

50: 灯光迷宫

随机:选一个随机练习进行尝试。

有限的代码块 练习 51-60

51: 扭转局势,回归基本

52: 更聪明一点

53: 明智地选择你的代码块

54: 转圈圈

55: 怪鱼!

56: 混凝土荒地

57: 这次不同了

58: 雪蛇

59: 巧妙的转弯

60: 就在街区周围

函数 练习 61-67

61: 你能创建“摇摆”函数吗?

62: 很多红绿灯!

63: 摇摆摇摆摇摆

64: 混乱的模式

65: 复杂的道路

66: 雪中寻路

67: 疯狂农场

脑筋急转弯 练习 68-79

68: 赶时间

69: 鸭池躲避

70: 冬之仙境

71: 冰冻挑战

72: 韦斯能找到他的午餐吗?

73: 红绿灯冻结!

74: 奇幻之路

75: 迷宫时间

76: 无法左转!

77: 一路冲到底

78: 流浪的菲尔

79: 混乱导致慌乱

Python levels

The next set of levels introduce you to coding directly with Python. You can read more about Python here.

Introduction to Python Levels 80-91

80: Here's Python!

81: Matching Blockly

82: Don't forget to find the shortest route

83: Repeating yourself in Python looks different

84: Repeat and watch

85: Looks easy but use repeat until and see what happens?

86: See what the if blocks looks like in Python

87: Don't forget to use else if

88: See what happens when you add Traffic lights

89: Watch carefully as you have another go

90: Have a go at procedures - what do they look like in Python?

91: Put it all together

Python Levels 92-109

92: Start with the basics, forward, left and right

93: Keep it simple

94: Take the shortest route

95: Count and repeat

96: Count and repeat is easy

97: Loop the loop

98: Repeat and check

99: Find a general solution

100: Watch out for the dead end!

101: Function or Junction?

102: Watch for the patterns

103: Patterns within patterns

104: Can you see the repeating pattern?

105: Find the shortest route

106: Spiral and add

107: Spiral and double

108: Think less

109: Final challenge!

About us

Help and support

Privacy policy

Terms of use

Cookie settings

Home learning

Get involved

Coding clubs

Please confirm that you are over 18.

Code for Life
Code for Life Ocado Group

© Ocado Group 2023