1) What can you do in Small Basic? a) Fix Hardware b) Create a Computer Program c) Hack Computer 2) Which key is used to run a program in Small Basic? a) Enter b) F5 c) F10 d) F12 3) What does this code do: GraphicsWindow.BackgroundColor="Yellow" a) Change the background colour to yellow b) Change the pen color to red c) Change the brush colour to yellow d) Change the pen colour to yellow 4) Which of these pieces of code will not work a) Turtle.PenDown(100) b) Turtle.TurnLeft() c) Turtle.Move(50) d) Turtle.Show() 5) What does this code do? "Turtle.X = 50 Turtle.Y=200" a) this codes set location of the turtle b) this codes set size of the turtle c) this codes set move of the turtle d) this codes set turn of the turtle 6) A small program inside a program that can be reused multiple times is known as a? a) Sub-Routine b) Variable c) Event d) GraphicsWindow 7) What happens if you do one letter wrong in the code? a) It will still work b) It won't work c) It will work a bit d) It will work but only for a second 8) Which one of these is used to draw a circle? a) Graphicswindow .AddEllipse(50,50) b) Shapes.AddEllipse(50, 50) c) Shapes.AddCircle(50,50) d) GraphicsWindow. AddCircle(50,50) 9) What is the first programming construct? a) Selection b) Sequence c) Iteration 10) What does the first programming construct, "Sequencing", mean? a) Instructions are sequenced in the correct order to perform a task b) Repeat instructions until a condition is met. c) Only run instructions when a condition is met. This allows your program to make decisions. 11) What is the second programming construct? a) Selection b) Sequence c) Iteration 12) What does the second programming construct, "Selection", mean? a) Instructions are sequenced in the correct order to perform a task b) Repeat instructions until a condition is met. c) Only run instructions when a condition is met. This allows your program to make decisions. 13) What is the third programming construct? a) Selection b) Sequence c) Iteration 14) What does the third programming construct, "Iteration", mean? a) Instructions are sequenced in the correct order to perform a task b) Repeat instructions until a condition is met. c) Only run instructions when a condition is met. This allows your program to make decisions. 15) What is the output of this bit of code? a) Prints out two numbers joined together as one number b) Prints the result of variables a and b being added together c) Prints the text "a+b" 16) To temporarily store a value in Small Basic you need to create a..? a) Operator b) Variable c) Subroutine d) Event 17) What is the variable? Square = Shapes. AddRectangle(100,100) a) Square b) shapes c) AddRectangle d) (100,100) 18) Variables - You should always start variable names with a letter? a) True b) False 19) Variables - You can use letters, digits, and underscores in the names of your variables? a) True b) False 20) I can have many variables in a program a) True b) False 21) Variables - You should name your variables so that they describe the values that they store. a) True b) False
0%
Y9 - L04 - Do Now - Small Basic Programming Quiz
共享
共享
共享
由
Mrwattsv1
Y9
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?