1) 1. What is the primary purpose of conditional blocks in programming? a) a) To make a computer repeat an action. b) b) To help a computer make decisions based on a condition. c) c) To change the color of a sprite. d) d) To store data for later use. 2) In Scratch, if a condition in an "if...then" block is true, what happens? a) a) The blocks inside the "if" block are ignored. b) b) The blocks inside the "if" block are activated. c) c) The entire program stops running. d) d) The program moves to a different section of code. 3) 3. What happens in an "if...then...else" block if the condition is false? a) a) The blocks inside the "if" section are performed. b) b) The blocks inside the "else" section are performed. c) c) The program skips the entire block. d) d) The computer gets an error. 4) conditional blocks are found in which category? a) a) Looks b) b) Events c) c) Control d) d) Motion 5) What happens if the condition in an "if...then" block is false? a) a) The blocks inside the "if" section will be performed. b) b) The program will automatically run an "else" block. c) c) The blocks inside the "if" section will be skipped. d) d) The program will stop. 6) What is the key difference between an "if...then" block and an "if...then...else" block? a) a) The "if...then" block is only for simple conditions. b) b) The "if...then...else" block provides an alternative action to perform if the condition is false. c) c) The "if...then...else" block can only be used with numbers. d) d) The "if...then" block performs the same action whether the condition is true or false. 7) What is the primary function of an "if... then" block? a) a) To make a character move b) b) To perform a specified task only if a certain condition is met c) c) To change the color of a sprite d) d) To ask the user a question 8) what color are Sensing blocks in Scratch? a) a) Green b) b) Orange c) c) Yellow d) d) Light blue 9) The "ask... and wait" block is used for what purpose? a) a) To play a sound b) b) To make a sprite disappear c) c) To receive an answer from the user through an input box d) d) To activate the blocks below it when a specified key is pressed 10) What is the function of the "touching color" block? a) a) It changes a sprite's color to the specified color. b) b) It detects if a sprite is touching the specified color. c) c) It asks the user what color they want. d) d) It makes a sprite disappear. 11) How many Sensing blocks are there, according to the text? a) a) 12 b) b) 6 c) c) 18 d) d) 10 12) What does the "answer" block do? a) a) It plays a sound effect. b) b) It shows an input box on the screen. c) c) It stores the answer that the user entered in the input box. d) d) It checks if a key is pressed. 13) What is the function of the key space pressed? block? a) a) To ask the user to press the space bar. b) b) To move a sprite using the keyboard. c) c) To activate blocks when the specified key is pressed. d) d) To detect if a sprite is touching the space bar key. 14) Which of the following is an example of a sensing block? a) a) a go to x: y: block b) b) a say hello for 2 seconds block c) c) an ask what's your name? and wait block d) d) a change color effect by 25 block 15) Which control block is used to check if the apple sprite is touching the basket? a) (a) forever b) (b) if... then c) (c) wait d) (d) go to random position 16) From which category is the touching mouse-pointer block found? a) (a) Motion b) (b) Control c) (c) Sensing d) (d) Operators 17) What action is required to make the if... then block check for a collision with the basket sprite? a) (a) Drag the go to random position block into it. b) (b) Click the drop-down menu in the touching block and select Basket. c) (c) Change the value of the wait block. d) (d) Put the if... then block inside a repeat loop. 18) What is the purpose of the script shown under the heading "Making a Sprite Disappear on Touching a Colour"? a) a) It makes an apple sprite disappear forever. b) b) It changes the color of the basket sprite. c) c) It makes the apple sprite move to a random location if it touches a specific object. d) d) It changes the sprite's costume. 19) the go to random position block as being found in which category? a) a) Control b) b) Motion c) c) Sensing d) d) Events 20) In one of the script examples, a change y by -10 block is used. What effect does this block have on a sprite's position? a) a) It moves the sprite up by 10 steps. b) b) It moves the sprite down by 10 steps. c) c) It moves the sprite right by 10 steps. d) d) It moves the sprite left by 10 steps. 21) What is the purpose of the "go to random position" block described in the instructions? a) (a) To make the sprite move to a specific coordinate on the screen. b) (b) To make the sprite change its direction. c) (c) To make the sprite move to an unpredictable location on the screen. d) (d) To make the sprite disappear completely

Classement

Style visuel

Options

Changer de modèle

Restauration auto-sauvegardé :  ?