Blockly - Đề 4

Blockly - Đề 4

Assessment

Flashcard

Computers

6th - 8th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Building blocks in Blockly are divided into many categories. Which category does the following block belong to? Options: Lists, Loops, Logic, Color, None of the above

Back

Loops

2.

FLASHCARD QUESTION

Front

What is the expected result? A. -9 B. 231 C. 222 D. 240

Back

240

3.

FLASHCARD QUESTION

Front

What is the expected output? Why?

Back

NaN. Because -16 is a negative number. It doesn’t have square root.

4.

FLASHCARD QUESTION

Front

Student A wants to find average of 10 and 98. Which of the following script is correct?

Back

A

5.

FLASHCARD QUESTION

Front

What would this command do? Options: "Repeat while" loops repeat their bodies while some condition is false, "Repeat while" loops repeat their bodies while some condition is true, "Repeat while" loops repeat their bodies until some condition is false, "Repeat while" loops repeat their bodies until some condition is true, None of the above

Back

"Repeat while" loops repeat their bodies while some condition is true

6.

FLASHCARD QUESTION

Front

What would this command do? Options: The value of a = -2, Change the value of variable a by -2, Change name of variable a into -2, Change the value of variable a by 2, None of the above

Back

Change the value of variable a by -2

7.

FLASHCARD QUESTION

Front

What’s the expected output? Options: 12, -2, 0, a, None of the above

Back

0

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?