### 瑠淵淵篤」脚牌織辮

```rsity
I午

College of Engineering
tage
Subject: Computers
Time:
Examiner: Dr. Basim Al-Humeidawi
3 hours
Date: /
/2014
rinal Exanl:nat:om 2013‐
2014
Ql:
Write a programm. i" Fort
■
０
１
１
・
■
１
・
■
■
・
１
■1
0
1
１ １ １ １ ュ Ｉ Ｉ Ｉ ｌ ︰ Ｊ
２
０
１
0
1
1
︲ ︲
５ ４ 引２ 餌 ０
︲
■
■

ヽ
０
31 41
21 3!
11 21
Q2: A) Correct the following *.o"gJtutements (Answer f"
1' Equation Y: {x+3-*2/ 3*-4 r""d to be solvei using Microsoft Excel. If you know
… that x value was
W¨
wri■ en h cdl C5,thc equttion was so市 ed as=c弄 *1/2+3-x∧
Iな
2/(3*こ
ξ
…………
(eyboard you havc tO prcss ctrl‐ 卜
F.

ws
5. The systenl unit cOnsists OfmOther bOard,central prOcessing unit and Output unit
6. TransistOr was uscd in flfth generatiOn ofcOmputers.
B)COnVCrtthe fol10wing numbcrs from their current system tO decimal system(Answcr Three Only).
Write the steps of cOnverting.
1-(1011.101)2
2-(2C3.7ED)16
3…
(120.75)8
4-(CA3.73B)16
A) write a programme in FORTRAN to read the matrix B (100) and find the factorial of the
average value
of their elements of the matrix. print both the average and the factorial.
B) Write
a

programme in Fortran to read the matrix A (1,{) then arrange their
elements in Ascending order
TT… … T……
…… T…… … F―
{』
J!』 重ョェ:≦ F)
……
Q4:A)Write
aprOgrallllme
in Fortran tO flnd the value OfY
accOrding tO f0110wing
equatiOn oOte:PHnt X
=T…
========rTIITTτ
=マ
●
ヽ
ア
___1_
_
、
ア
●
・
^_」
^^
_.
「
value^^^v_
as
and Y value as
i two
different
lines)
, in
tァ 01.、
y:
X:,
-100≦
χ =0
25>χ >o
ｅ
ｈ
ｔ
ｄ
χ
０
χ
０
＞
ｘ
Ｗ ＜ 一
＞

ａ
ｒ
ｄ
ｎ
ａ
＞

χ
ｒ
ｏ ｎ
ｇ ｉ
ｓ
︲
ａ ２
Ｄ ｙ
¨

y=
χ <o
flaw chart to find the value of
y
from the following equation
０
χ
20 Marks
Q5: write a programme.in Fortran to read X value then find
s value for all terms greater than 1 x lT6.
(Note: print S value in 5th line starting
:l
*itr, +ilcJ**
"r'i
∫
=
Ψ

Ψ

( 20 Marks)
の ヵ グS′ ′06“a
“ "「
のπG“れ ′¨
```