You are on page 1of 31

‫بسم هللا الرحمن الرحيم‬

‫الملخص الجديد لمادة‬


‫المهارات الحاسوبية للكليات اإلنسانية‬
‫(حاسوب ‪)100‬‬

‫إعداد‪:‬‬
‫حمزة معادات‬
‫‪2020‬‬
‫مجموعة مختصة للمادة لالجابة على جميع‬
‫استفساراتكم بما يخص المادة باسم " مهارات‬
‫الحاسوب للكليات االنسانية " على الفيسبوك‬
‫‪www.facebook.com/groups/computer100JU/‬‬
PROBLEM SOLVING : ‫حل المسائل‬

Input Process Output


(data) ‫معالجة‬ ‫ناتج معالجة البيانات‬

Input (data type ‫(المدخالت‬


Data is the main element of programming.
The different type of data include:
1- Integer ‫عدد صحيح‬
2- Real ‫عدد حقيقي‬
3- Boolean ‫معامل منطقي‬
4- Strings ‫ثابت رمزي‬

1- X is Integer
‫وهي االعداد التي تكتب بدون أسس او فاصلة عشرية سواء‬
.‫كانت سالبة او موجبة‬
X = 5 , X = -3
2- Real
‫هي االعداد التي تكتب بصيغة الفاصلة العشرية او الصيغة‬
.‫االسية‬
Y is real
Y = 4.5 , Y = 0.623

3- Boolean : which is used to store logical values (T,F)


Z is Boolean
.false ‫ او‬true ‫وهي القيم المنطقية وتكون فقط‬

Z = True Z = 213

4- String : series characters between double “ “


.‫وهي مجموعة من الرموز توجد بين عالمتي اقتباس‬

:‫وهي ثالثة انواع‬


- Number : ‫االرقام‬
- Letter : ‫الحروف‬
- Symbols : ‫الرموز‬

X = “computer”
X = `s`
X = “2019”
X = “1999”
X = “3.7”
X = “True”

ASSIGMENT STATEMENT : ‫جمل التعيين‬


Assignment statement is used to assign value
to the declared variables.
‫تستخدم جمل التعيين لتحديد قيم المتغيرات التي بدورها ستخزن مواقع‬
.‫محددة داخل ذاكرة الحاسوب‬
)‫ (الجهة اليسار‬Variable name = expression )‫(الجهة اليمين‬

: ‫أمثلة‬
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. )‫(ثابت‬

- Variable : a memory location whose value


remains the change during problem
execution. )‫(متغير‬

: ‫سؤال‬
Determine the constant and the variable when
calculating the area of a circle ? A = 5 * R
: ‫الحل‬
Constant : 5
Variable : R , A

Computer operation ( 3 type ) :


1- Arithmetic ‫( حسابية‬+ , - , * , mod)
2- Logical ‫( منطقية‬and , note , or)
3- Relational ‫ >( عالئقية‬, < , >= , <= , =)
1- Arithmetic operation :
Addition +
Subtraction -
Multiplication *
Division ÷
Mod ‫باقي القسمة‬
Exponentiation ^ ‫األس‬

: ‫أمثلة‬
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

: ‫مثال‬

X NOT X ‫عكس القيمة‬


F T
T F
X Y X AND Y X OR Y
)T ‫ عشان يعطي‬T ‫(الزم الثنين‬ )T ‫ يعطي‬T ‫(إذا وجد حرف‬
T T T T
T F F T
F T F T
F F F F

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‬‬

‫‪2- m = 2 * 3^2 + 10 / 2 – 8‬‬


‫‪= 2 * 9 + 10 / 2 – 8‬‬
‫‪= 18 + 5 – 8‬‬
‫‪= 15‬‬

‫‪3- m = 10 mod 3^1^2 – 8‬‬


‫‪= 10 mod 9 – 8‬‬
‫‪=1–8‬‬
‫‪= -7‬‬

‫قاعدة مهمة ‪:‬‬


‫‪ X^0 = 1‬‬
‫‪ X^1 = X‬‬
‫أمثلة ‪:‬‬
‫‪5^0 = 1‬‬
‫‪5^1 = 5‬‬
‫‪2^-3 = 1/2^3 = 1/8‬‬
 PRECEDENCE : ‫األولويات‬
( )
^
*,/ ‫الحسابية‬
mod
+,-

=,<>,<,<=,>,>= ‫العالئقية‬

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

Problem solving steps :


1- Analyze the problem
1- Problem understanding
2- Define input
3- Define output
4- Define processing steps

2- Design the solution ( algorithm ) flow chart


Pseudo code
3- Code the program
4- Test the program
5- Validate the solution

 Algorithm : set of steps used to solve a problem


using : flow chart , pseudo code .
 Pseudo code : is a set of English like statement
show algorithm steps .
: ‫مثال‬
Write a pseudo code to determine the Avg of 5
scores
: ‫الحل‬
1- Start
2- Input 5 scores
3- Sum the 5 scores
4- Divide the summation by 5
5- Print the result
6- End

- Algorithm
1- pseudo code ‫أشباه الجمل‬
2- Flow chart ‫مخطط سير العمليات‬
Start , end

Input , output , print

Process

Condition

Connector

Sequence of operation

- Flow chart type :


1- Sequence flow chart )‫تتابعي (ابسط نوع‬
2- Collection flow chart ‫اختياري‬
3- Looping flow chart ‫دوراني‬

- Sequence flow chart : ‫المخطط التسلسلي‬


: ‫مثال‬
Write a pseudo code and flow chart to calc. X, when
X=A+B+C/5
: ‫الحل‬
1- Start start
2- Input A , B , C
3- Calc X, when input A,B,C
X=A+B+C/5
4- Print X X=A+B+C/5
5- End
Print

End

, ‫) اختياري‬pseudo code( ‫ في الـ‬end ‫ و‬Start 


. )flow chart( ‫لكنهم إجباري بالـ‬

- Selection flow chart


: ‫مثال‬
Draw of flow chart and write a pseudo code
that will print poss if grade greater than or
equal 50 , otherwise print fail
: ‫الحل‬
1- Start start
2- Input X
3- If X >= 50 then print “poss” input X
Else print “fail”
4- End

F X >= 50 T

Print “fail” print “pass”

end
‫‪‬‬ ‫مخطط سير العمليات الدوراني(التكراري) ‪Looping flow chart‬‬

‫‪1-‬‬ ‫‪If‬‬ ‫‪F‬‬ ‫‪ -‬ما يطلع من الدوران إال إذا أعطى‬


‫”‪“F‬‬
‫‪T‬‬
‫‪Statement‬‬

‫‪2-‬‬ ‫‪If‬‬ ‫‪T‬‬ ‫‪ -‬ما يطلع من الدوران إال إذا أعطى‬


‫”‪“T‬‬
‫‪F‬‬
‫‪Statement‬‬

‫‪ ‬يرجى التطبيق على األمثلة التي‬


‫يطرحها مدرس المادة وضرورة حل‬
‫الواجبات جميعها لضمان العالمة‬
‫الكاملة‪.‬‬
LECTURE 8

Information system

An information system consists of six main part :


1- Hardware
2- Software
3- Data
4- Procedures
5- People
6- Computer network

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.
‫انظمة اتصال تربط اجهزة الحاسوب بحيث يمكن تبادل المعلومات‬
.‫والموارد فيما بينهما‬

- Functions of information system


1- Accounting : which records all financial
activities such as billing, customers, paying
employees.
‫تسجيل األنشطة االقتصادية وتسجيل فواتير العمالء ودفع رواتب‬
.‫الموظفين‬

2- Marketing : which handles planning, pricing,


promoting, selling and distributing goods and
services to customers.
‫تخطيط التسويق والتسعير والترويج وبيع السلع وتوزيع السلع‬
.‫والخدمات‬

3- Human resources : which is responsible for


finding, hiring people, training and promoting
people.
.‫إيجاد وتوظيف الناس وترقيتهم وتدريبهم‬
4- Production : produce finished goods and
services using (raw) materials.
.‫إنتاج السلع والخدمات باستخدام مواد خام‬

5- Researching : which identifies, investigates, and


develops new products.
.‫تحديد المنتجات الجديدة والتحقق منها وتطويرها‬

- Management levels :

3- top
management

2- middle
management
1- low management
‫‪ -1‬مستوى اإلدارة الدنيا ‪:‬‬
‫‪low level management‬‬

‫أ) هذا القسم مسؤول عن العمال والموظفين ‪:‬‬


‫‪responsible on works and employees‬‬

‫ب) هذا القسم هو المسؤول عن المهمات اليومية‬


‫‪day to day activates‬‬

‫ج) العمل قصير المدى‬


‫‪low - ranged activities‬‬

‫د) اتخاذ القرارات ليس ضروريا‪ /‬فقط إذا لزم األمر‬


‫‪directions when necessary‬‬

‫‪ -2‬مستوى اإلدارة المتوسط‬


‫‪middle level management‬‬

‫أ‪ -‬التحكم والتخطيط واتخاذ القرارات‬


‫‪controlling and planning and making decisions‬‬
‫ب‪ -‬تنفيذ التخطيط الطويل المدى للشركة‬
‫‪long term activities and goals‬‬

‫‪ -3‬مستوى اإلدارة العليا ‪:‬‬

‫أ‪ -‬التخطيط الستراتيجيات الشركة ومستقبلها‬


‫‪Planning the future of the organization‬‬

‫ب‪ -‬التخطيط الطويل المدى للشركة بناء على تقارير‬


‫‪long- range planning based on reports‬‬

‫أنظمة المعلومات ال ُمحوسبة‬


‫‪Computer-based information systems‬‬

‫وهي األنظمة المخصصة إلدارة كل قسم من أقسام اإلدارة‬


‫السابقة‪.‬‬
‫‪systems that essentials of running an organization in‬‬
‫‪each system of management levels‬‬

‫وتقسم إلى أربعة أقسام ‪ :‬كل قسم مرتبط بمستوى إدارة معين‬
EIS

DSS
MIS

TPS

Refers to ‫( وترمز إلى‬Tps) ‫ نظام معالجة البيانات‬-1


Transaction processing system :

‫ اليومي‬/ ‫ متابعة نشاط المؤسسة الروتيني‬-‫أ‬


Tracking routine / day to day portions

‫ إنشاء قاعدة بيانات للدعم األنظمة المحوسبة األخرى‬-‫ب‬


establishing a data base to support other systems
‫ج‪ -‬من األمثلة التطبيقية على هذا النظام ‪:‬‬

‫تتبع البضائع والخدمات ‪Tracking goods and services :‬‬

‫دفع الرواتب للموظفين ‪Payroll employees :‬‬

‫‪ -2‬نظام المعلومات اإلداري )‪ : (M I S‬ويرمز إلى ‪Refers to‬‬


‫‪Managements information system‬‬

‫مهماته ‪ :‬مهمته إنشاء التقارير بأنواعها الثالثة‬

‫أ‪ -‬التقارير الدورية األسبوعية أو الشهرية‬


‫‪Periodic reports weekly or monthly‬‬

‫ب‪ -‬تقارير الحاالت الخاصة ‪ :‬التقارير غير االعتيادية التي تصدر في‬
‫أوقات لتغطية أحداث خاصة ‪:‬‬
‫)‪Exception reports that is covers (unusual events‬‬

‫ج‪ -‬تقارير ‪ :‬حسب الطلب ‪ :‬وتدعم مديري مستوى اإلدارة‬


‫المتوسط‬
‫‪Supporting mid- level managers‬‬
‫‪ -3‬أنظمة دعم القرار )‪ : (D S S‬وترمز إلى ‪Refers to‬‬
‫‪Decision supporting system‬‬

‫وهو النظام المخصص لدعم المدراء (الطبقة العُليا) ‪ :‬في اتخاذ‬


‫القرارات في الحاالت الخاصة غير االعتيادية‬
‫‪support managers in (TOP-level) to make a‬‬
‫‪Decision in (non-routine) events‬‬

‫ويتكون هذا النظام من أربعة عناصر يرتكز عليها ‪:‬‬

‫‪ُ )1‬متخذ القرار ‪users :‬‬


‫الشخص الذي توكل إليه مهمة اتخاذ القرار‬
‫‪the person who makes the Decision‬‬

‫‪ (2‬برمجيات النظم ‪System software :‬‬


‫ومن األمثلة عليها‪:‬‬
‫أنظمة التشغيل ‪operating systems :‬‬
‫يحتوي نظام التشغيل على مجموعة من القوائم واأليقونات التي‬
‫تسهل عمل مع واجهة البرنامج ل ُمتخذ القرار‬
‫‪Menus and icons to ease the interface‬‬
‫) البيانات المخزنة في نظام دعم اتخاذ البرنامج لمنفذ‬3
Data stored in DSS which can be either internal or
external

Models : ‫) نماذج القرار‬4


Mathematical representation of real life uses (inputs)
to produce (output).
.‫نماذج رياضية تمثل مسائل واقعية تستعمل المدخالت إلنتاج المخرجات‬

Data type : ‫أنواع البيانات‬


- Internal and External data :
-
o Internal data : ‫بيانات داخلية‬
refers to data within the organization.
.‫وهي البيانات الخام وتكون موجودة في الشركة‬
o External data : ‫بيانات خارجية‬
refers to data gathered from outside to
organization : such as marketing
research forms.
‫وهي البيانات التي يتم جمعها من خارج نطاق‬
.‫المؤسسة‬
- Types of decision making models :

1- Strategic models : ‫النماذج اإلستراتيجية‬


assist to level managers in long-range
planning. Such as : planning plant location.

2- Technical models : ‫النماذج التكتيكية‬


assist mid-level managers in controlling the
work, such as: financial planning.

3- Operational models : ‫نماذج العمليات‬


help low-level managers in day to day
activities, such as: evaluating and
marinating the quality control.

- Executive information systems (EIS) :


: ‫انظمة المعلومات التنفيذية‬

Present highly summarized information in a


flexible, graphical format which is designed
for top level executive managers.
‫تقوم هذه األنظمة بتوفير المعلومات المختصرة جدا على‬
‫شكل رسومات بيانية‪.‬‬

‫‪These system provide direct access to a‬‬


‫‪company performance indicators.‬‬
‫هذه األنظمة تساعد مديري اإلدارة العليا على فهم‬
‫مؤشرات أداء المنظمة‪.‬‬

‫" أتمنى لكم التفوق والعالمة العالية "‬

You might also like