Академический Документы
Профессиональный Документы
Культура Документы
NOTE: THERE ARE 10 (TEN) PAGES IN THIS TEST QUESTION # 1 10 MARKS COMMENTS
15
15
10
15
15
20
TOTAL
100
______________________________ . 4- One Giga Byte is equal to _________________________________ bytes. 5- A ____________________ is a program which converts source code written in a high level language to machine code that can be executed by a computer. 6- A computer which is more powerful than a workstation, and is built to handle and receive requests from many computers connected to it using a network is called a _____________________ . 7- Many devices connected to a computer are considered as input devices. These include the mouse, the keyboard, and _______________________ . 8- The term _________________ is used to describe the use of many mediums of communication such as audio, video, and text in a single application or software. 9- (2AC0)16 = ( _____________________________________ )8 . 10- The main memory of a computer is composed of RAM which is temporary, and _______________ which is permanent storage.
Question 5 ( 15 points)
Write a function that accepts a two-dimensional array (matrix) of 5 by 5 integer elements. The function should use nested loops to calculate and return the sum of the elements which are not on the border of the matrix. The shaded elements in the following diagram shows those elements which are included in the sum.
Use built-in (math) functions when appropriate in the formulas above. The first value of X is 3, last value of X is 15 and the increment of X is equals to 3 as shown above. Your output in the file TABLES.DAT should look like the above table.