Blockly Logic and Math Quiz

Blockly Logic and Math Quiz

7th Grade

30 Qs

quiz-placeholder

Similar activities

Crypto Exchange

Crypto Exchange

1st - 12th Grade

27 Qs

Bài 4-qt-ta

Bài 4-qt-ta

7th Grade

30 Qs

Math Terms

Math Terms

3rd - 11th Grade

25 Qs

Learn to code 2 review

Learn to code 2 review

1st Grade - Professional Development

26 Qs

Number sense quiz1

Number sense quiz1

4th - 12th Grade

25 Qs

Unit 3: Computer Programming

Unit 3: Computer Programming

6th - 8th Grade

25 Qs

New School WA

New School WA

KG - University

26 Qs

Bài 1-qt-ta

Bài 1-qt-ta

7th Grade

30 Qs

Blockly Logic and Math Quiz

Blockly Logic and Math Quiz

Assessment

Quiz

Other

7th Grade

Medium

Created by

HP FPT

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To check if a number is even in Blockly, which block would you use?

Logic 'AND' block with two conditions

Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You need to check if a number is in the range from 50 to 100 (inclusive). Which configuration is correct in Blockly?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Blockly, to calculate the factorial of a number n (n!), which Math block would you use in a loop?

Factorial is the product of numbers from 1 to n, using the Multiply block in a loop to multiply the numbers.

Math 'Multiply' block

Math 'Add' block

Math 'Power' block

Math 'Modulo' block

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To check if a number is prime, which Logic block would be used to test for non-divisibility?

Media Image

Logic 'AND' block with 'number > 1'

Logic 'OR' block with 'number < 2'

Logic 'Comparison' block with 'number = 1'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a program in Blockly to check if a year is a leap year, which Logic block would you use?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Blockly, to calculate the sum of odd numbers from 1 to n, which Math and Logic blocks would you use?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a program in Blockly to check if a number is a power of 2, which Math block would be useful?

A number is a power of 2 if it can be repeatedly divided by 2 (using Modulo) until reaching 1 with no remainder.

Math 'Modulo' block with 'Remainder of number ÷ 2 = 0'

Math 'Power' block with '2^x'

Math 'Square root' block

Math 'Round' block

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?