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 代碼
刪除
恢復自動保存:
?