a) The diagrams shown below are the result of executing an algorithm which has one paramet...
a) The diagrams shown below are the result of executing an algorithm which has one parameter, N, which must be a non-negative integer, and alphabet boxes on a 10<10 grid. For values of N from O to 5, the algorithm produces the following patterns:
Q.3: (7 + 5 CLO2 [63] a) The diagrams shown below are the result of executing an algorithm which has one parameter, N, which must be a non-negative integer, and alphabet boxes on a 10x10 grid. For values of N from 0 to 5, the algorithm produces the following patterns: B RG B RG RB RG RB RG NEO N=1 N=2 G RB RIG RB RG B RIG RB RG RB RG G RB RG RB RG RB RG N=3 N=4 N25 Note: you can use the function CharXY(int x, int y, char C) to display the required char in the required box b) Write an algorithm convert an input non-negative integer to a string of octal numbers. Note: make sure that the string are printed in the correct order. Q.4: (7+5+5+5 Marks, CLO3 (C3])
Solved
COMPUTER SCIENCE
1 Answer
Hanzel Paz
Login to view answer.