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
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?