Blockly - Đề 4

Blockly - Đề 4

Assessment

Flashcard

Computers

6th - 8th Grade

Practice Problem

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

Media Image

Back

Loops

2.

FLASHCARD QUESTION

Front

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

Media Image

Back

240

3.

FLASHCARD QUESTION

Front

What is the expected output? Why?

Media Image

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?

Media Image

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

Media Image

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

Media Image

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

Media Image

Back

0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?