Blockly trắc nghiệm 5 - Phan Thủy

Blockly trắc nghiệm 5 - Phan Thủy

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Scratch Basics

Scratch Basics

7th - 9th Grade

12 Qs

LESSON 5: CREATING ART WITH CODE

LESSON 5: CREATING ART WITH CODE

7th Grade - University

11 Qs

BJC Unit 1 Review

BJC Unit 1 Review

10th - 12th Grade

13 Qs

Scratch

Scratch

3rd - 10th Grade

11 Qs

116 Building Beasts - Code Check

116 Building Beasts - Code Check

9th Grade

11 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Intro to CS: Unit 1 quiz

Intro to CS: Unit 1 quiz

9th - 12th Grade

15 Qs

IoT 2: Everything is Programmable

IoT 2: Everything is Programmable

12th Grade - Professional Development

15 Qs

Blockly trắc nghiệm 5 - Phan Thủy

Blockly trắc nghiệm 5 - Phan Thủy

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

thuy phan

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?