Professional Documents
Culture Documents
حاسوب 100 - نشامى -
حاسوب 100 - نشامى -
إعداد:
حمزة معادات
2020
مجموعة مختصة للمادة لالجابة على جميع
استفساراتكم بما يخص المادة باسم " مهارات
الحاسوب للكليات االنسانية " على الفيسبوك
www.facebook.com/groups/computer100JU/
PROBLEM SOLVING : حل المسائل
1- X is Integer
وهي االعداد التي تكتب بدون أسس او فاصلة عشرية سواء
.كانت سالبة او موجبة
X = 5 , X = -3
2- Real
هي االعداد التي تكتب بصيغة الفاصلة العشرية او الصيغة
.االسية
Y is real
Y = 4.5 , Y = 0.623
Z = True Z = 213
X = “computer”
X = `s`
X = “2019”
X = “1999”
X = “3.7”
X = “True”
: أمثلة
1- X,Y is integer .. Y=3
X=Y+5
X=3+5
X=8
2- X is string
”X = “2.45
3- X is integer
X = 3.62
4- Z is real
Z = 7.0
5- A is integer
(خطأ) A / B = 5
(صح) A = 5 * B
NOTES :
-1يجب أن يكون الجانب األيمن والجانب األيسر من نفس نوع
البيانات.
-2يجب أن يكون الجانب األيسر متغير واحد.
مثال :
X , Y integer
(خطأ) X + Y = 2
(صح) X = 2 – Y
- Constant : a memory location whose value
remains the same during problem
execution. )(ثابت
: سؤال
Determine the constant and the variable when
calculating the area of a circle ? A = 5 * R
: الحل
Constant : 5
Variable : R , A
: أمثلة
7 mod 2 = 1
13 mod 5 = 3
8 mod 2 = 0
9 mod 4 = 1
25 mod 5 = 0
: قاعدة مهمة
A mod 1 = A mod A = 0
10 mod 1 = 0
13 mod 13 = 0
: قاعدة مهمة
X mod Y = X
إذا كانX < Y
3 mod 5 = 3
7 mod 9 = 7
Precedence : األولوية
( )
^
* ,/ تقل األولوية
mod
+-
: مثال
Find the result of A
A = 2*9+6*3-(4+2)*2
: الحل
A = 2*9+6*3-6*2
= 18+18-12
= 36-12
= 24
2- Logical operation :
NOT , AND , OR
: مثال
3- Relational operation
> : greater than
>= : greater than or equal
< : less than
<= : less than or equal
<> : not equal
= : equal
: مثال
Find m when , a=2 , b=3 , d=8 , e=10
1- m = (a + b + c + d + e) / 5
2- m = a * b^c + e / c – d
3- m = e mod b^1^c – d
الحل :
1- m = (2 + 3 + 2 + 8 + 10) / 5
= 25 / 5
= 5
=,<>,<,<=,>,>= العالئقية
NOT
A المنطقية
OR
: مثال
Find Z , when X = 1 , y = 5
Z = X <= y and not X * 5 <> y or X + 2 < (X + y) / 2
F أوT الزم الجواب يكون
: الحل
Z = 1 <= 5 AND NOT 1 * 5 <> 5 OR 1 + 3 < (1+5)/2
= 1 <= 5 AND NOT 1 * 5 <> 5 OR 1 + 3 < 6 / 2
= 1 <= 5 AND NOT 5 <> 5 OR 1 + 3 < 3
= 1 <= 5 AND NOT 5 <> 5 OR 4 < 3
= T AND NOT F OR F
= T AND T OR F
= T OR F
=T
: مثال
Find Y
Y = 3 >= 9 or (5 + 1) <>2and not((7–3)<2or not F)
= 3 >= 9 or 6 <> 2 and not (4 < 2 or not F)
= 3 >= 9 or 6 <> 2 and not (F or not F)
= 3 >= 9 or 6 <> 2 and not (F or T)
= 3 >= 9 or 6 <> 2 and not T
= F or T and F
= F or F
=F
: مثال
X = 3.6 + 9 MOD (6 (3+2)) / 2 + 2^(3-2)
= 3.6 + 9 mod 30 / 2 + 2
= 3.6 + 9 mod 15 + 2
= 3.6 + 9 + 2
= 14.6
- Algorithm
1- pseudo code أشباه الجمل
2- Flow chart مخطط سير العمليات
Start , end
Process
Condition
Connector
Sequence of operation
End
F X >= 50 T
end
مخطط سير العمليات الدوراني(التكراري) Looping flow chart
Information system
1- Hardware
Solid equipment that including the computers
all the support equipment , such as input &
output devices , storage devices &
telecommunication equipment.
المعدات الصلبة التي تمثل الحواسيب وكل المكونات المادية مثل
.اإلدخال واإلخراج وأجهزة التخزين
2- Software
Computer programs that control the hardware
parts of the system to achieve the system
objectives .
البرمجيات التي تقوم بتوجيه الحاسوب للتعامل مع معدات العمل
.إلنجاز المهمة المطلوبة
3- Data
Facts that are used by programs to produce
useful information & to achieve system
objectives .
البيانات التي يتم استخدامها من قبل البرامج إلنتاج معلومات وإنجاز
.األهداف المطلوبة
4- People
The persons dealing with the information
system .
.األشخاص الذين يتعاملون مع المعلومة
5- Procedures
Are the policies that govern the operation of an
information system .
.السياسات التي تحكم تشغيل نظام المعلومات
6- Computer network
Communication system that connected two are
more computers so that they can exchange
information and share resources.
انظمة اتصال تربط اجهزة الحاسوب بحيث يمكن تبادل المعلومات
.والموارد فيما بينهما
- Management levels :
3- top
management
2- middle
management
1- low management
-1مستوى اإلدارة الدنيا :
low level management
وتقسم إلى أربعة أقسام :كل قسم مرتبط بمستوى إدارة معين
EIS
DSS
MIS
TPS
ب -تقارير الحاالت الخاصة :التقارير غير االعتيادية التي تصدر في
أوقات لتغطية أحداث خاصة :
)Exception reports that is covers (unusual events