
Blockly trắc nghiệm 5 - Phan Thủy
Authored by thuy phan
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the "procedure" block in Blockly?
A. Variable initialization
B. Create a function
C. Check the condition
D. Repeat actions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Blockly, how to use a global variable in multiple functions?
A. Declare variables inside the function
B. Declare variables outside all functions
C. Declare variables in the main function
D. Cannot use global variables
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which block in Blockly allows creating asynchronous events?
A. Event blocks
B. Callback blocks
C. Promise blocks
D. Async blocks
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using the "lists" block in Blockly, what method is used to add an element to the end of the list?
A. lists_append
B. lists_add
C. lists_insert
D. lists_push
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the "mutator" block in Blockly?
A. Change the value of a variable
B. Customize the structure of other blocks
C. Call another function
D. Create a loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to handle exceptions in Blockly?
A. Use "try-catch" block
B. Use the "error handling" block
C. Use "catch" block
D. Use "exception" block
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Blockly, to optimize program performance, what should you do when dealing with large loops?
A. Use nested loops
B. Use global variables
C. Use the "loop optimization" block
D. Reduce the number of loop executions and optimize the code within the loop
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?