
Q&A – Decomposition & Sub-Routines (Primary 4 – 4CT.06)
Authored by Shervon Yak
Computers
4th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Decomposition means breaking a big task into smaller parts.
True
False
Answer explanation
True. Decomposition involves breaking a larger task into smaller, manageable parts, making it easier to tackle and complete the overall task.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is an example of decomposition?
Writing one long algorithm for everything
Splitting a program into smaller subroutines like “Input Data,” “Calculate Result,” “Output Result”
Repeating the same step again and again
Printing “Hello” 10 times
Answer explanation
Decomposition involves breaking down a complex problem into smaller, manageable parts. The correct choice, "Splitting a program into smaller subroutines like 'Input Data,' 'Calculate Result,' 'Output Result,'" exemplifies this process.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Decomposition is useful in algorithms because:
it breaks down complex problems into simpler parts.
it makes algorithms run slower.
it increases the complexity of problems.
it hides errors in the code.
Answer explanation
Decomposition is useful in algorithms because it breaks down complex problems into simpler parts, making them easier to understand and solve. This approach enhances problem-solving efficiency.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is better, and why?
Option A is better because it offers more advantages.
Option B is better because it is more efficient.
Option C is better because it is more popular.
Option D is better because it is less expensive.
Answer explanation
Option B is the best choice because efficiency often leads to better performance and productivity, making it a crucial factor in decision-making. While other options have their merits, efficiency is key in many contexts.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sub-routines can only be used once in an algorithm.
True
False
Answer explanation
Sub-routines can be called multiple times within an algorithm, allowing for code reuse and modular design. Therefore, the statement that they can only be used once is false.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which task benefits most from decomposition?
Turning on a light switch
Solving a math problem with 10 steps
Saying “Hello” once
Answer explanation
Solving a math problem with 10 steps benefits most from decomposition, as breaking it down into smaller, manageable parts makes it easier to understand and solve each step systematically.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can decomposition help?
Create a sub-routine called “Paint Line” and repeat it.
Make the program run faster by default.
Remove all loops from the code.
Increase the number of errors in the program.
Answer explanation
Decomposition helps by breaking down complex tasks into smaller, manageable sub-routines, like 'Paint Line'. This allows for easier code maintenance and reuse, enhancing clarity and efficiency in programming.
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
10 questions
Website Evaluation
Quiz
•
3rd - 6th Grade
13 questions
Who is this Roblox star
Quiz
•
4th Grade
10 questions
Our Online Tracks (4th)
Quiz
•
4th Grade
10 questions
Excel vocabulary
Quiz
•
3rd - 4th Grade
11 questions
Internet Safety
Quiz
•
4th - 5th Grade
12 questions
PowerPoint 2016
Quiz
•
4th Grade
10 questions
Parts of Keyboard and Correct Typing
Quiz
•
4th - 8th Grade
10 questions
Basic Algorithm elementary
Quiz
•
3rd - 5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
12 questions
Adding and Subtracting Fractions with Like Denominators
Quiz
•
4th Grade
6 questions
Winter Creative Drawing Activity
Quiz
•
4th Grade
10 questions
Holiday Song Guessing Game!
Quiz
•
3rd - 5th Grade
6 questions
Would You Rather Christmas
Lesson
•
4th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
22 questions
Christmas Math Fun--5th grade
Quiz
•
4th - 6th Grade