Vous êtes sur la page 1sur 1

Mindanao State University

Maigo School of Arts and Trades


Maigo Lanao del Norte
December ___, 2019

Quarter Examination
ICT Computer Programming GRADE 11

I. Direction. Programming. Read and analyze the instructions carefully.


Create a program that will satisfy the problem below.

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 # * * *

Mindanao State University Page 1 of 1


Maigo School of Arts and Trades
Prepared by: Noted by:
Maigo, Lanao del Norte
JAVER C. BORNGO PROF. CATALINA A. REQUINA
Instructor School Principal

Vous aimerez peut-être aussi