Question 2
The diagrams shown below are the result of executing an algorithm with one parameter N, a non-negative integer, that colors boxes on a 10 by 10 grid. For values of N from 0 to 5, the algorithm produces the following patterns:
Determine the algorithm that was used to draw these patterns and
Write it down.
Execute it for N = 6, and write down your result.
Give your description of the algorithm to a friend who is not a programmer, and ask him or her to execute it for N = 6.
Which of the following diagrams is the result
Answers
Answered by
5
Answer:
"patterns" (and any subsequent words) was ignored because we limit queries to 32 words.
Similar questions
Math,
3 months ago
Math,
3 months ago
Computer Science,
3 months ago
English,
7 months ago
World Languages,
7 months ago
Math,
1 year ago