University of Babylon College of Information Technology Department of Information Networks VBII-Second Exam

advertisement
University of Babylon
College of Information Technology
Department of Information Networks
VBII-Second Exam
Q1\ Suppose a numeric array (A) having (5 row and 3 columns), and that (B) is a numeric array having (3 rows and 5
columns). Write a code Program to calculate the elements of the numeric array C, where a numeric array C is
determined from the following formula: [𝐶]=[𝐴]∗[𝐵]. Print a numeric array C. (3 M)
Q2\ Write procedure named (Input) to read N numbers and then find the largest and smallest number, this
procedure is call two procedures: (3 M)
1- Procedure named (Average) to find the average for the smallest and largest number.
2- Procedure named (Output) to print result of average and the smallest and largest number.
Q3\ Write a specific code for a function to convert the length from meter to centimeter. (3 M)
‫ وسام سمير بهيه‬.‫د‬
‫رئيس القسم‬
‫مدرس المادة‬
‫أنـــوار جعفر موسى‬
Download