Académique Documents
Professionnel Documents
Culture Documents
Quarter Examination
ICT Computer Programming GRADE 11
Problem #1:
Create a 2-dimensional array with the following output: (20 points)
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
Problem #2
Create borders for your 2D in problem #1 (25 points)
* * * # a # * * *
* * * # * # * * *
* * * # * # * * *
# # # # * # # # #
d * * * * * * * b
# # # # * # # # # Problem #4
* * * # * # * * * Create a control for the
movement of pacman(@)
* * * # * # * * * using w,a,s,d key. (25
* * * # c # * * * points)
If the pacman(@) reaches
Problem #3 a- Output ‘A’ (5 pts)
Display pacman(@) at the center of your 2d (5 points)
b- Output ‘B’ (5 pts)
c- Output ‘C’ (5 pts)
* * * # a # * * * d- Output ‘D’ (5 pts)
* * * # * # * * *
* * * # * # * * * Compile without error (5pts).
# # # # * # # # #
d * * * @ * * * b
# # # # * # # # #
* * * # * # * * *
* * * # * # * * *
* * * # c # * * *