1) How is user input taken in MakeCode for a calculator program? a) Using prompt blocks b) By defining variables directly in the code c) Using input blocks for numbers d) By reading from a file 2) Which MakeCode block is used to perform addition in a calculator program a) A. Logic block b) B. Math block c) C. Text block d) D. Variables block 3) In a flowchart representing a calculator program, what shape is used to denote the start and end of the program? a) A. Rectangle b) B. Oval c) C. Diamond d) D. Parallelogram 4) In MakeCode, what type of variable would you typically use to store a user's name? a) A. Number b) B. String c) C. Boolean d) D. Array 5) What is the main difference between the 'ask for number' block and the 'ask for string' block in MakeCode? a) A. 'Ask for number' block allows text input while 'ask for string' block only allows numeric input b) B. 'Ask for number' block allows numeric input while 'ask for string' block allows text input c) C. 'Ask for number' block stores the input as a text type while 'ask for string' block stores it as a number type d) D. There is no difference between the two blocks

Tabla de clasificación

Estilo visual

Opciones

Cambiar plantilla

¿Restaurar actividad almacenada automáticamente: ?