
Blockly Logic and Math Quiz
Authored by HP FPT
Other
7th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
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?
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?
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?
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
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?
Similar Resources on Wayground
33 questions
MS Office Applications
Quiz
•
7th - 8th Grade
30 questions
FFA Knowledge
Quiz
•
7th - 12th Grade
34 questions
Old Fashioned Sports logos
Quiz
•
KG - Professional Dev...
35 questions
Valentine's Day Trivia
Quiz
•
5th - 10th Grade
25 questions
Safety & Sanitation
Quiz
•
7th - 8th Grade
25 questions
Career Vocabulary
Quiz
•
7th Grade
25 questions
Health & Safety CSCS
Quiz
•
1st Grade - Professio...
29 questions
Making Change
Quiz
•
4th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
22 questions
distributive property
Quiz
•
7th Grade
18 questions
Angle Relationships
Quiz
•
7th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
20 questions
How Some Friendships Last — and Others Don’t Video Questions
Quiz
•
7th Grade
18 questions
Handbook Refresher Quiz
Quiz
•
7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade