Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

unit_7_Visual_Studio

إعداد : أ.محمد سالم الوهاشي "أتمنى الدعاء بالمغفرة لي و لوالدي" حاسب آلي الي 1 مقررات حاسب 1 مقررات للتواصل m.s.wahashi@gmail.com +966545913244
by

Mohammed Salem

on 3 October 2017

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of unit_7_Visual_Studio

ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
"ﻮﻳﺩﻮﺘﺳ ﻚﺴﻴﺑ ﻝﻮﺠﻴﻓ" ﺔﻐﻠﺑ ﺔﺠﻣﺮﺒﻟﺍ

: ﺔــــــــﻣﺪــــــــﻘــــــــﻣ
ﻰﻠﻌﻓ ,ﻡﺍﺪﺨﺘﺳﺍ ﺔﺠﻣﺮﺑ ﺔﻐﻟ ﻞﻜﻟ ﻭ ,ﺔﺠﻣﺮﺒﻟﺍ تاغل ﻦﻣ ﺪﻳﺪﻌﻟﺍ ﻙﺎﻨﻫ
.ﺮﻴﺜﻜﻟﺍ ﺎﻫﺮﻴﻏ ﻭ ﻊﻗﺍﻮﻤﻟﺍ ﻢﻴﻤﺼﺘﻟ ﻡﺪﺨﺘﺴﺗ HTML ﺔﻐﻟ ﻝﺎﺜﻤﻟﺍ ﻞﻴﺒﺳ
"ﻮﻳﺩﻮﺘﺳ ﻚﺴﻴﺑ ﻝﻮﺠﻴﻓ" ﺔﻐﻟ ﻦﻋ ﺙﺪﺤﺘﻨﺳ ﺓﺪﺣﻮﻟﺍ ﻩﺬﻫ ﻲﻓ

: ﻚﺴﻴﺑ ﻝﺍﻮﺠﻓ ﺔﻐﻠﺑ ﺞﻣﺎﻧﺮﺒﻟﺍ ﺔﺑﺎﺘﻛ ﻞﺣﺍﺮﻣ
: ﺔﻬﺟﺍﻮﻟﺍ ﻢﻴﻤﺼﺗ - 1
ﻢﻴﻤﺼﺘﺑ ﻡﻮﻘﺗ ﻪﻴﻠﻋ ﺀﺎﻨﺑ ﻭ ,ﻚﺠﻣﺎﻧﺮﺑ ﻦﻣ ﺽﺮﻐﻟﺍ ﺔﻓﺮﻌﻣ
ﺔﺣﺎﺴﻣ ﺏﺎﺴﺤﺑ ﻡﻮﻘﻳ ﺞﻣﺎﻧﺮﺑ ﺪﻳﺮﺗ ﺖﻨﻛ ﻮﻠﻓ ,ﺞﻣﺎﻧﺮﺒﻟﺍ ﺔﻬﺟﺍﻭ
ﻞﻜﺸﻟﺍ ﺍﺬﻬﺑ ﺎﺒﻳﺮﻘﺗ ﺞﻣﺎﻧﺮﺒﻟﺍ ﺔﻬﺟﺍﻭ ﻥﻮﻜﺘﺳ ﻞﻴﻄﺘﺴﻤﻟﺍ

: ﺕﺍﻭﺩﻷﺍ ﺺﺋﺎﺼﺧ ﻂﺒﺿ -2
ﻭ ,ﺕﺍﻭﺩﻷﺍ ﻦﻤﺿ ﻦﻣ ﺪﻌﻳ ﻖﺑﺎﺴﻟﺍ ﻞﻜﺸﻟﺍ ﻲﻓ ﻱﺬﻟﺍ ﺭﺰﻟﺍ
ﻢﻜﺤﺘﻟﺎﻛ ﺎﻬﺼﺋﺎﺼﺧ ﻂﺒﺿ ﻚﻴﻠﻋ ﺐﺠﻳ ﺍﺬﻬﻟ ,ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻚﻟﺬﻛ
ﻩﺮﻴﻏ ﻭ ﻲﺠﻣﺮﺒﻟﺍ ﺎﻬﻤﺳﺍ ﻰﺘﺣ ﻭﺃ ,ﺎﻬﻧﻮﻟ ,ﺎﻬﻤﺠﺣ ﻲﻓ

: ﺔﺠﻣﺮﺒﻟﺍ ﺮﻣﺍﻭﺃ ﺔﺑﺎﺘﻛ -3
ﺓﺩﻮﺟﻮﻤﻟﺍ ﺕﺍﻭﺩﻷﺍ ﻰﻠﻋ ًﺀﺎﻨﺑ ﺩﺍﻮﻛﻷﺍ ﺔﺑﺎﺘﻜﺑ ﻡﻮﻗﺍ ,ﺕﺍﻭﺩﻷﺍ ﻂﺒﺿ ﺪﻌﺑ
.ًﻼﺻﺍ ﺕﺍﻭﺩﺍ ﺪﺟﻮﺗ ﻻ ﻭ ﺩﺍﻮﻛﺍ ﺐﺘﻛﺍ ﻥﺍ ﻖﻄﻨﻤﻟﺍ ﺮﻴﻏ ﻦﻤﻓ ,

: ﺕﺍﺮﻴﻐﺘﻤﻟﺍ ﻭ ﺖﺑﺍﻮﺜﻟﺍ
؟ ﺖﺑﺎﺜﻟﺎﺑ ﺩﻮﺼﻘﻤﻟﺍ ﺎﻣ

ﻲﻫ ﻉﻮﺒﺳﻷﺍ ﻡﺎﻳﺍ ﺩﺪﻋ : ﻝﺎﺜﻣ ,ﺔﺘﺑﺎﺛ ﻪﺘﻤﻴﻗ ﻥﻮﻜﺗ ﺎﻣ ﺎﺒﻟﺎﻏ ﻱﺬﻟﺍ ﻮﻫ
3.14 = pi ﻱﺎﺒﻟﺍ ﺕﺎﻴﺿﺎﻳﺮﻟﺍ ﻲﻓ ,ﺮﻬﺷ 12 ﺔﻨﺴﻟﺍ ﺮﻬﺷﺍ ﺩﺪﻋ ,ﻡﺎﻳﺍ 7
ﺔﺘﺑﺎﺛ ﻪﺘﻤﻴﻗ ﻥﻮﻜﺗ ﻲﺘﻟﺍ ﻮﻫ ﺖﺑﺎﺜﻟﺍ ﺍﺫﺍ
؟ ﺕﺍﺮﻴﻐﺘﻤﻟﺎﺑ ﺩﻮﺼﻘﻤﻟﺍ ﺎﻣ

ﺲﻴﻟ ﻙﺮﻤﻋ ,ﻙﺮﻤﻋ ﻝﺎﺜﻣ ,ﺓﺮﻴﻐﺘﻣ اهتميق ﻥﻮﻜﺗ ﻲﺘﻟﺍ ﻲﻫ
.ﻙﺮﻤﻋ ﺔﻤﻴﻗ ﻪﻴﻓ ﺮﻴﻐﺘﺗ ﻡﻮﻳ ﻞﻛ ﻰﺘﺣ ﻭ ﻞﺑ ﺔﻨﺳ ﻞﻛ ﻲﻓ ,ﺖﺑﺎﺛ
ﻩﺮﻴﻐﺘﻣ ﻪﺘﻤﻴﻗ ﻥﻮﻜﺗ ﻱﺬﻟﺍ وه ﺮﻴﻐﺘﻤﻟﺍ ﺍﺫﺇ
ﺔﻨﺴﻟﺍ ﺭﻮﻬﺷ ﺀﺎﻤﺳﺍ ﻞﺜﻣ ﻲﻓﺮﺣ ﺖﺑﺎﺛ ﻭ 3.14=pi ﻞﺜﻣ ﻱﺩﺪﻋ ﺖﺑﺎﺛ ﻙﺎﻨﻫ
:
ﺖﺑﺍﻮﺜﻟﺍ ﻉﺍﻮﻧﺍ
ﻲﻘﻄﻨﻣ ﻭ ﻲﻓﺮﺣ , ﻱﺩﺪﻋ ﺮﻴﻐﺘﻣ ﻙﺎﻨﻫ

: ﺕﺍﺮﻴﻐﺘﻤﻟﺍ ﻉﺍﻮﻧﺍ
: ﺩﺍﻮﻛﻷﺍ ﺔﺑﺎﺘﻛ ﻭ ﺔﺠﻣﺮﺒﻟﺍ ﻲﻓ ﺖﺑﺎﺜﻟﺍ ﻭ ﺮﻴﻐﺘﻤﻟﺍ
ﻪﻟ ﺰﻣﺮﻟﺍ ﻢﺘﻳ ﻪﻧﺈﻓ ,ﺔﺠﻣﺮﺒﻟﺍ ﻲﻓ ﺮﻴﻐﺘﻣ ﻭﺍ ﺖﺑﺎﺜﻟ ﺔﺟﺎﺤﻟﺍ ﺪﻨﻋ
ﻭ ﻪﺘﺑﺎﺘﻜﺑ -ﺖﻧﺃ - ﺞﻣﺮﺒﻤﻟﺍ ﻡﻮﻘﻳ ﻢﺳﻻﺍ ﺍﺬﻫ ,ﻲﺠﻣﺮﺑ ﻢﺳﺎﺑ
.ﺔﻴﻤﺴﺘﻟﺍ ﻲﻓ ﺔﻨﻴﻌﻣ ﻁﻭﺮﺷ ﻖﻓﻭ ﻩﺭﺎﻴﺘﺧﺍ

: ﻁﻭﺮﺸﻟﺍ ﻩﺬﻫ ﻚﻴﻟﺇ
ﻱﻮﺘﺤﻳ ﻻﺃ ﻭ "_"ﺰﻣﺮﻟﺍ ﻭ ﻡﺎﻗﺭﺍ ﻭ A..Z ﺔﻳﺰﻴﻠﺠﻧﺍ ﻑﻭﺮﺣ ﻥﻮﻜﺗ ﻥﺃ -1
ﺮﺧﺁ ﺰﻣﺭ ﻱﺍ ﻭﺃ ﺔﻓﺎﺴﻣ ﻰﻠﻋ
ﻢﻗﺮﺑ ﺃﺪﺒﻳ ﻻﺃ -2
ﻑﺮﺣ 255 ﺯﻭﺎﺠﺘﻳ ﻻﺃ -3
ﻡﺎﻈﻨﻟﺍ ﻲﻓ ﺓﺯﻮﺠﺤﻣ ﺔﻤﻠﻛ ﻥﻮﻜﻳ ﻻﺃ -4
: ﻮﻳﺩﻮﺘﺳ ﻚﺘﺴﻴﺑ ﻝﺍﻮﺠﻓ ﺔﻐﻟ ﻲﻓ ﺕﺎﻧﺎﻴﺒﻟﺍ ﻉﺍﻮﻧﺃ
ﻲﻤﻗﺭ ﻭ ﻲﻓﺮﺣ ﺕﺍﺮﻴﻐﺘﻤﻠﻟ ﺕﺎﻧﺎﻴﺒﻟﺍ ﻉﺍﻮﻧﺍ ﺎﻧﺮﻛﺫ ﺎﻤﻛ
: ﻲﻟﺎﺘﻟﺎﻛ ﺔﻐﻠﻟﺍ ﻲﻓ ﺎﻬﺘﻴﻤﺴﺗ ﺔﻘﻳﺮﻃ ﻭ ,ﻲﻘﻄﻨﻣ ﻭ
: ﻪﻴﻟﺇ ﺔﻤﻴﻗ ﺩﺎﻨﺳﺍ ﺔﻴﻔﻴﻛ ﻭ ﻪﺘﻘﻳﺮﻃ , ﺮﻴﻐﺘﻣ ﻦﻋ ﻒﻳﺮﻌﺘﻟﺍ
DIM

anyname

AS

Type
ﺓﺯﻮﺠﺤﻣ ﺔﻤﻠﻛ
ﻡﺎﻈﻨﻟﺍ ﻲﻓ
ﺔﻳﺍﺪﺑ ﻰﻠﻋ ﻝﺪﺗ
ﺮﻴﻐﺘﻣ ﻦﻋ ﻥﻼﻋﻹﺍ
ﺮﻴﻐﺘﻤﻟﺍ ﻢﺳﺍ
ﻁﻭﺮﺸﻟ ًﺎﻘﻓﻭ
ﺮﻴﻐﺘﻤﻟﺍ ﺔﻴﻤﺴﺗ
ﺓﺯﻮﺠﺤﻣ ﺔﻤﻠﻛ
ﺔﻟﻻﺪﻠﻟ ﻡﺎﻈﻨﻟﺍ ﻲﻓ
ﻥﻼﻋﻻﺍ ﺀﺪﺑ ﻰﻠﻋ
ﺮﻴﻐﺘﻤﻟﺍ ﻉﻮﻧ ﻦﻋ
ﺮﻴﻐﺘﻤﻟﺍ ﻉﻮﻧ
ﻲﻓﺮﺣ,ﻲﻤﻗﺭ
....ﺦﻟﺍ ,
ﻪﻋﻮﻧ ﺪﻳﺪﺤﺗ ﻭ ﺮﻴﻐﺘﻣ ﻦﻋ ﻥﻼﻋﻹﺍ ﻪﺑ ﺪﺼﻘﻳ :
ﺮﻴﻐﺘﻣ ﻦﻋ ﻒﻳﺮﻌﺘﻟﺍ
:ﺮﻴﻐﺘﻣ ﻦﻋ ﻥﻼﻋﻹﺍ ﺔﻘﻳﺮﻃ
ﺢﻴﺤﺻ ﺩﺪﻋ ﻉﻮﻧ ﻦﻣ num_1 ﻪﻤﺳﺍ ﺮﻴﻐﺘﻣ ﻑﺮﻋ / ﻝﺎﺜﻣ
DIM num_1 as Integer

ﺮﻴﻐﺘﻣ ﻲﻓ ﺔﻨﻴﻌﻣ ﺔﻤﻴﻗ ﻦﻳﺰﺨﺗ ﻪﺑ ﺪﺼﻘﻳ ﻭ

: ﺩﺎﻨﺳﻹﺍ
: ﺮﻴﻐﺘﻤﻟ ﺔﻤﻴﻗ ﺩﺎﻨﺳﺍ ﺔﻘﻳﺮﻃ
Var1

=

Value

ﺮﻴﻐﺘﻤﻟﺍ ﻢﺳﺍ
ﻲﺘﻟﺍ ﺔﻤﻴﻘﻟﺍ
ﻥﺰﺨﺘﺳ
ﺮﻴﻐﺘﻤﻟﺍ ﻲﻓ
؟ Mark ﺮﻴﻐﺘﻤﻟﺍ ﻰﻟﺇ 90 ﺔﻤﻴﻘﻟﺍ ﺪﻨﺳﺍ /ﻝﺎﺜﻣ
Mark = 90
ﺮﻴﻐﺘﻣ ﻭ ﺐﻟﺎﻃ ﻢﺳﺍ ﻦﻳﺰﺨﺘﻟ name ﺮﻴﻐﺘﻣ ﻒﻳﺮﻌﺘﺑ ﻢﻗ
:ﺔﻴﻟﺎﺘﻟﺍ ﻢﻴﻘﻟﺍ ﺩﺎﻨﺳﺈﺑ ﻢﻗ ﻢﺛ ﻦﻣﻭ ،ﺐﺳﺎﺤﻟﺍ ﻲﻓ ﻪﺘﺟﺭﺩ ﻦﻳﺰﺨﺘﻟ grade ﺮﺧﺁ
؟grade ﺮﻴﻐﺘﻤﻟﺍ ﻰﻟﺇ 67 ﺔﺟﺭﺪﻟﺍ ﻭ name ﺮﻴﻐﺘﻤﻟﺍ ﻰﻟﺇ »ﻲﻠﻋ ﺪﺟﺎﻣ«

DIM name AS STRING
DIM grade AS Integer
name = "ﻲﻠﻋ ﺪﺟﺎﻣ"

grade= 67
: ﺔﺤﻴﺤﺻ ﺕﺍﺮﻴﻐﺘﻣ ﺀﺎﻤﺳﺍ ﻰﻟﺍ ﺔﻠﺜﻣﺍ
X
Y
A23
c_d
: ﺔﺌﻃﺎﺧ ﺕﺍﺮﻴﻐﺘﻣ ﺀﺎﻤﺳﺍ ﻰﻟﺍ ﺔﻠﺜﻣﺍ
2df
if@
my name
DIM
AS
: ﺔﺠﻣﺮﺒﻟﺍ ﻲﻓ ﺔﻴﻘﻄﻨﻤﻟﺍ ﻭ ﺔﻴﺑﺎﺴﺤﻟﺍ ﺕﺎﻴﻠﻤﻌﻟﺍ
: ﺔﻴﺑﺎﺴﺤﻟﺍ ﺕﺎﻴﻠﻤﻌﻟﺍ ﺐﻴﺗﺮﺗ
ﺱﺍﻮﻗﻷﺍ ﻞﺧﺍﺩ ﻲﺘﻟﺍ ﺕﺎﻴﻠﻤﻌﻟﺍ - 1
ﺱﻷﺍ ﺕﺎﻴﻠﻤﻋ - 2
ﺔﻤﺴﻘﻟﺍ ﻭ ﺏﺮﻀﻟﺍ ﺕﺎﻴﻠﻤﻋ - 3
ﺡﺮﻄﻟﺍ ﻭ ﻊﻤﺠﻟﺍ ﺕﺎﻴﻠﻤﻋ - 4
M=2*6/3 ﺐﺳﺎﺤﻟﺍ ﺯﺎﻬﺟ ﻰﻠﻋ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻴﻠﻤﻌﻟﺍ ﺬﻴﻔﻨﺗ ﺔﺠﻴﺘﻧ ﺎﻣ / ﻝﺎﺜﻣ
M=4
M=2*6+3^2 ﺐﺳﺎﺤﻟﺍ ﺯﺎﻬﺟ ﻰﻠﻋ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻴﻠﻤﻌﻟﺍ ﺬﻴﻔﻨﺗ ﺔﺠﻴﺘﻧ ﺎﻣ / ﻝﺎﺜﻣ
: ﻻﻭﺃ ﺱﻷﺍ ﺔﻴﻠﻤﻋ ﺬﻔﻨﻧ
: ﺎﻴﻧﺎﺛ ﺏﺮﻀﻟﺍ ﺔﻴﻠﻤﻋ ﻢﺛ
: ﻊﻤﺠﻟﺍ ﺔﻴﻠﻤﻋ ﺍﺮﻴﺧﺃ ﻭ
M=2*6+9
M=12+9
M=21
M=2*(6+3)^2 ﺐﺳﺎﺤﻟﺍ ﺯﺎﻬﺟ ﻰﻠﻋ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻴﻠﻤﻌﻟﺍ ﺬﻴﻔﻨﺗ ﺔﺠﻴﺘﻧ ﺎﻣ / ﻝﺎﺜﻣ
: ﻻﻭﺍ ﻊﻤﺠﻟﺍ ﺔﻴﻠﻤﻋ ﺬﻔﻨﻧ
: ﺎﻴﻧﺎﺛ ﺱﻷﺍ ﺔﻴﻠﻤﻋ ﻢﺛ
: ﺏﺮﻀﻟﺍ ﺔﻴﻠﻤﻋ ﺍﺮﻴﺧﺃ ﻭ
M=2*9^2
M=2*81
M=162
ﺔﻴﺠﻣﺮﺑ ﺔﻐﻴﺼﺑ ﺔﻟﺩﺎﻌﻣ ﻰﻟﺇ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻳﺮﺒﺠﻟﺍ ﺔﻟﺩﺎﻌﻤﻟﺍ ﻝﻮﺣ / ﻝﺎﺜﻣ
num =
ــــــــــ
X
2
A + B
num=x^2/(A+B)
ﺔﻴﺠﻣﺮﺑ ﺔﻐﻴﺼﺑ ﺔﻟﺩﺎﻌﻣ ﻰﻟﺇ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻳﺮﺒﺠﻟﺍ ﺔﻟﺩﺎﻌﻤﻟﺍ ﻝﻮﺣ / ﻝﺎﺜﻣ
num = 5Y - 4 ÷ 1
num=5*Y-4/1
: ﺔﺠﻣﺮﺒﻟﺍ ﻲﻓ ﺔﻴﻘﻄﻨﻤﻟﺍ ﺕﺎﻴﻠﻤﻌﻟﺍ
ﺔﻧﺭﺎﻘﻤﻟﺍ ﺔﻴﻠﻤﻋ ﻲﻓ ﺞﺗﺎﻨﻟﺍ ﻥﻮﻜﻳ
(False) ﻭﺃ (True) ﺔﻤﻴﻘﻟﺍ ﺎﻣﺇ
10>=4 : ﺐﺳﺎﺤﻟﺍ ﺯﺎﻬﺟ ﻰﻠﻋ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻴﻠﻤﻌﻟﺍ ﺬﻴﻔﻨﺗ ﺔﺠﻴﺘﻧ ﺎﻣ/ﻝﺎﺜﻣ
True
12>20 : ﺐﺳﺎﺤﻟﺍ ﺯﺎﻬﺟ ﻰﻠﻋ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻴﻠﻤﻌﻟﺍ ﺬﻴﻔﻨﺗ ﺔﺠﻴﺘﻧ ﺎﻣ/ﻝﺎﺜﻣ
False
4+3*5<4*6 : ﺐﺳﺎﺤﻟﺍ ﺯﺎﻬﺟ ﻰﻠﻋ ﺔﻴﻟﺎﺘﻟﺍ ﺔﻴﻠﻤﻌﻟﺍ ﺬﻴﻔﻨﺗ ﺔﺠﻴﺘﻧ ﺎﻣ/ﻝﺎﺜﻣ
: ﻻﻭﺍ ﺔﻴﺑﺎﺴﺤﻟﺍ ﺕﺎﻴﻠﻤﻌﻟﺍ ﺬﻔﻨﻧ
4+15<24
19<24
True
7.24 : ﺔﻴﻟﺎﺘﻟﺍ ﺔﻤﻴﻘﻟﺍ ﻪﻴﻓ ﻥﺰﺧﺍ ﻭ num_1 ﻪﻤﺳﺍ ﺮﻴﻐﺘﻣ ﻒﻳﺮﻌﺘﺑ ﻢﻗ /لاثم
DIM num_1 as single/double
num_1=7.24
!ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
ﻚﻟﻮﻗﺍ ﻻﺇ ﻭ ...ﻲﻧﺎﺛ ﻥﺎﻜﻣ ﻲﻓ ﺭﻭﺩ..ﻑﻭﺮﻌﻣ ﺭﺎﺻ ﻥﺎﻜﻣ
ﺕﺭﺪﻗ ﺎﻣ ﺍﺫﺍ ﻭ ,ﺕﺍﺮﻣ 10 ﻂﻐﺿ ﻱﻮﺳ ﺔﺟﺭﺪﻟﺍ ﺬﺧﺎﺗ ﺖﻴﺒﺣ ﺍﺫﺍ
ﺭﺪﻗ ﺍﺫﺍ ﻭ ,ﻚﻨﻋ ﻝﺪﺑ ﻂﻐﺿ ﻱﻮﺴﻳ ﻙﺀﻼﻣﺯ ﻦﻣ ﺪﺣﺍﻭ ﻦﻣ ﺐﻠﻃﺍ
ﺔﺟﺭﺪﻟﺍ ﺬﺧﺎﻳ ﺡﺍﺭ ﻂﻘﻓ ﺪﺣﺍﻭ..ﺔﺟﺭﺪﻟﺍ ﺬﺧﺎﻳ ﺡﺍﺭ ﻦﻴﻣ ﻢﻜﻨﻴﺑ ﺍﻭﺭﺮﻗ

ﻊﻣ ﻯﺪﺤﺘﺗ ﺡﺍﺭ ﺔﺟﺭﺪﻟﺍ ﻰﻐﺒﺗ ﺍﺫﺍ ﻦﻜﻟ ﻲﺷ ﻲﻓﺎﻣ
..ﻦﻜﻤﻣ ﺲﻔﻧ ﻝﻮﻃﺄﺑ ﺮﻤﺘﺴﻣ ﻞﻜﺸﺑ ﺪﻌﺗ ﻚﻧﺎﺑ ﻦﻴﺒﻟﺎﻃ
ﻥﺎﻛ ﺍﺫﺍ ,ﻖﺋﺎﻗﺪﻟﺍ ﻰﻠﻋ ﺀﺎﻨﺑ ﻥﻮﻜﻳ ﺡﺍﺭ ﻦﻴﺒﻟﺎﻄﻟﺍ ﺭﺎﻴﺘﺧﺍ
ﺔﻴﻧﺎﻤﺛ ﻢﺛ ﺔﻌﺴﺘﺑ ﻪﻟﺪﺒﺘﺳﺍ ﻦﻳﺮﻔﺻ ﻭﺍ ﺮﻔﺻ ﻖﺋﺎﻗﺪﻟﺍ ﻲﻓ


ﺮﻤﺘﺳﺍ ﻭ ﺰﻔﻗﺍ ﺔﺟﺭﺪﻟﺍ ﺬﺧﺎﺗ ﺖﻴﺒﺣ ﺍﺫﺍ ﻦﻜﻟ ﺎﻨﻫ ﻮﻣ ﺔﻤﻠﻜﻟﺍ
ﻦﻣ ﺐﻠﻃﺍ ﺕﺭﺪﻗ ﺎﻣ ﺍﺫﺍ ﻭ,ﺔﻴﻧﺎﺛ 35 ﺓﺪﻣ ﻚﻧﺎﻜﻣ ﻲﻓ ﺰﻔﻘﻟﺎﺑ
ﺍﻭﺭﺮﻗ ﺭﺪﻗ ﺍﺫﺍ ﻭ ,ﻚﻨﻋ ﻝﺪﺑ ﻂﻐﺿ ﻱﻮﺴﻳ ﻙﺀﻼﻣﺯ ﻦﻣ ﺪﺣﺍﻭ
ﺔﺟﺭﺪﻟﺍ ﺬﺧﺎﻳ ﺡﺍﺭ ﻂﻘﻓ ﺪﺣﺍﻭ..ﺔﺟﺭﺪﻟﺍ ﺬﺧﺎﻳ ﺡﺍﺭ ﻦﻴﻣ ﻢﻜﻨﻴﺑ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
! ﺓﺪﺣﻮﻟﺍ ﺔﻳﺎﻬﻧ
IF
ﺔﻴﻃﺮﺸﻟﺍ ﺔﻠﻤﺠﻟﺍ

ﻦﻴﻌﻣ ﻁﺮﺷ ﺐﺴﺤﺑ ﺭﺍﺮﻗ ﺫﺎﺨﺗﻻ ﻡﺪﺨﺘﺴﺗ ﻭ
ﻎﻴﺻ ﻊـــــﺑﺭﺃ ﺎﻬﻟﻭ
IF-THEN ﺔﻐﻴﺻ
IF

condition

THEN

statements

ﻁﺮﺸﻟﺍ
ﻱﺬﻟﺍ ﺮﻣﻷﺍ
ﻩﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ
”ﺢﺟﺎﻧ ” ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ ﺮﺗﻮﻴﺒﻤﻜﻟﺍ ﻥﺈﻓ 60 ﺮﺒﻛﺃ ( M ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ) ﻥﺎﻛ ﺍﺫﺇ
ﻮﻳﺩﻮﺘﺳ ﻝﺍﻮﺠﻴﻓ ﺔﻐﻠﺑ ﺮﻣﺍﻭﺃ ﻰﻟﺇ ﺔﻴﻟﺎﺘﻟﺍ ﺓﺭﺎﺒﻌﻟﺍ ﻝﻮﺣ : ﻝﺎﺜﻣ
ﻥﺈﻓ
60 ﺮﺒﻛﺃ
( A ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ )

ﻥﺎﻛ ﺍﺫﺇ
textbox1 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ ”ﺢﺟﺎﻧ ” ﺓﺭﺎﺒﻌﻟﺍ ﺝﺮﺨﻴﺳ ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
IF

A
> 60
THEN

textbox1.text= "حجان
"
IF-THEN- END IF ﺔﻐﻴﺻ
IF

condition

THEN

....
Statements
....

END IF
ﺪﺣﺍﻭ ﺮﻣﺃ....ﺪﺣﺍﻭ ﻁﺮﺷ
ﺮﻣﺍ ﻦﻣ ﺮﺜﻛﺍ....ﺪﺣﺍﻭ ﻁﺮﺷ
ﻁﺮﺸﻟﺍ
ﺎﻫﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ ﻲﺘﻟﺍ ﺮﻣﺍﻭﻻﺍ
ﺔﻴﻃﺮﺸﻟﺍ ﺔﻠﻤﺠﻟﺍ ﺀﺎﻬﻧﺍ
ﻮﻳﺩﻮﺘﺳ ﻝﺍﻮﺠﻴﻓ ﺔﻐﻠﺑ ﺮﻣﺍﻭﺃ ﻰﻟﺇ ﺔﻴﻟﺎﺘﻟﺍ ﺓﺭﺎﺒﻌﻟﺍ ﻝﻮﺣ : ﻝﺎﺜﻣ
ﻥﺈﻓ
60 ﺮﺒﻛﺃ
( A ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ )

ﻥﺎﻛ ﺍﺫﺇ
textbox1 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ ”ﺢﺟﺎﻧ ” ﺓﺭﺎﺒﻌﻟﺍ ﺝﺮﺨﻴﺳ ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
textbox2 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ﺡﺎﺠﻨﻟﺍ ﻙﻭﺮﺒﻣ" ﺓﺭﺎﺒﻌﻟﺍ ﻭ
IF

A
> 60
THEN

textbox1.text= "حجان
"
textbox2.text="ﺡﺎﺠﻨﻟﺍ ﻙﻭﺮﺒﻣ"
END IF
ﻝﻭﻻﺍ ﺮﻣﻻﺍ
ﻲﻧﺎﺜﻟﺍ ﺮﻣﻻﺍ
IF-THEN- ELSE ﺔﻐﻴﺻ
IF
condition
THEN

......
statements1
......

ELSE
......
statements2
......

END IF
ﺮﻣﺍ ﻦﻣ ﺮﺜﻛﺍ....ﺪﺣﺍﻭ ﻁﺮﺷ
ﻁﺮﺸﻟﺍ
ﺔﻴﻃﺮﺸﻟﺍ ﺔﻠﻤﺠﻟﺍ ﺀﺎﻬﻧﺍ
ﺎﻫﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ ﻲﺘﻟﺍ ﺮﻣﺍﻭﻷﺍ
ﻁﺮﺸﻟﺍ ﻖﻘﺤﺗ ﺪﻨﻋ
ﺎﻫﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ ﻲﺘﻟﺍ ﺮﻣﺍﻭﻷﺍ
ﻁﺮﺸﻟﺍ ﻖﻘﺤﺘﻳ ﻻ ﺎﻣﺪﻨﻋ
ﻮﻳﺩﻮﺘﺳ ﻝﺍﻮﺠﻴﻓ ﺔﻐﻠﺑ ﺮﻣﺍﻭﺃ ﻰﻟﺇ ﺔﻴﻟﺎﺘﻟﺍ ﺓﺭﺎﺒﻌﻟﺍ ﻝﻮﺣ : ﻝﺎﺜﻣ
ﻥﺈﻓ
60 ﻦﻣ ﺮﺒﻛﺃ

(A ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ)
ﻥﺎﻛ ﺍﺫﺇ
textbox1 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ﺢﺟﺎﻧ" ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ ﺮﻴﺗﻮﺒﻤﻜﻟﺍ
textbox1 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ﺐﺳﺍﺭ" ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ
ﻚﻟﺫ ﺮﻴﻏ
IF

A
> 60
THEN
textbox1.text="حجان"
ELSE
textbox1.text="بسار"
END IF
IF-THEN-ELSEIF ﺔﻐﻴﺻ
IF
condition
THEN

......
statements1
......

ELSEIF
condition
THEN
......
statements2
......

ELSE
......
statements3
.....
.

END IF
ﺮﻣﺍ ﻦﻣ ﺮﺜﻛﺍ...ﻁﺮﺷ ﻦﻣ ﺮﺜﻛﺍ
1 ﻁﺮﺸﻟﺍ
ﺔﻴﻃﺮﺸﻟﺍ ﺔﻠﻤﺠﻟﺍ ﺀﺎﻬﻧﺍ
ﺎﻫﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ ﻲﺘﻟﺍ ﺮﻣﺍﻭﻷﺍ
1 ﻁﺮﺸﻟﺍ ﻖﻘﺤﺗ ﺪﻨﻋ
ﺎﻫﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ ﻲﺘﻟﺍ ﺮﻣﺍﻭﻷﺍ
ﻁﺮﺸﻟﺍ ﻖﻘﺤﺘﻳ ﻻ ﺎﻣﺪﻨﻋ
2 ﻁﺮﺸﻟﺍ
1 ﻁﺮﺸﻟﺍ ﻖﻘﺤﺗ ﻡﺪﻋ ﻝﺎﺣ ﻲﻓ
ﺎﻫﺬﻴﻔﻨﺗ ﻢﺘﻴﺳ ﻲﺘﻟﺍ ﺮﻣﺍﻭﻷﺍ
2 ﻁﺮﺸﻟﺍ ﻖﻘﺤﺗ ﺪﻨﻋ
ﻮﻳﺩﻮﺘﺳ ﻝﺍﻮﺠﻴﻓ ﺔﻐﻠﺑ ﺮﻣﺍﻭﺃ ﻰﻟﺇ ﺔﻴﻟﺎﺘﻟﺍ ﺓﺭﺎﺒﻌﻟﺍ ﻝﻮﺣ : ﻝﺎﺜﻣ
ﻥﺈﻓ
90

ﻱﻭﺎﺴﻳ ﻭﺍ ﻦﻣ ﺮﺒﻛﺍ

(A ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ)
ﻥﺎﻛ ﺍﺫﺍ
textbox1 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ﺯﺎﺘﻤﻣ" ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
ﻥﺈﻓ
80 ﻱﻭﺎﺴﻳ ﻭﺍ ﻦﻣ ﺮﺒﻛﺍ

(A ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ)
ﻥﺎﻛ ﺍﺫﺍ ﻭ
textbox1 ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ُﺍﺪﺟ ﺪﻴﺟ" ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ ﺮﺗﻮﺒﻤﻜﻟﺍ
ﻥﺈﻓ
60 ﻱﻭﺎﺴﻳ ﻭﺍ ﻦﻣ ﺮﺒﻛﺍ

(A ﺕﺎﺟﺭﺪﻟﺍ ﻉﻮﻤﺠﻣ)
ﻥﺎﻛ ﺍﺫﺍ ﻭ
textbox1
ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ﻝﻮﺒﻘﻣ" ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
textbox1

ﺺﻨﻟﺍ ﻊﺑﺮﻣ ﻰﻟﺇ "ﺐﺳﺍﺭ" ﺓﺭﺎﺒﻌﻟﺍ ﻊﺒﻄﻴﺳ
ﻚﻟﺫ ﺮﻴﻏ
IF
A

>= 90
THEN
textbox1.text="ﺯﺎﺘﻤﻣ"
ELSEIF
A

>= 80
THEN
textbox1.text="ًﺍﺪﺟﺪﻴﺟ"
ELSEIF
A

>= 60
THEN
textbox1.text="ﻝﻮﺒﻘﻣ"
ELSE
textbox1.text="ﺐﺳﺍﺭ"
END IF
ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
ﻥﺈﻓ

100 ﻦﻣ ﺮﺒﻛﺃ
(ﺔﻳﺪﻬﻟﺍ ﺮﻌﺳ)
ﻥﺎﻛ ﺍﺫﺇ
"ﺐﺳﺎﻨﻣ ﺮﻴﻏ ﺎﻫﺮﻌﺳ" ﺓﺭﺎﺒﻋ ﻥﺰﺨﻴﺳ
============
ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
ﻥﺈﻓ

90 ﻱﻭﺎﺴﺗ ﻭﺍ ﻦﻣ ﺮﺒﻛأ
(ﺔﻳﺪﻬﻟﺍ ﺮﻌﺳ)
ﻥﺎﻛ ﺍﺫﺇﻭ

"ﻢﺋﻼﻣ ﺎﻫﺮﻌﺳ" ﺓﺭﺎﺒﻋ ﻥﺰﺨﻴﺳ
============
ﺮﺗﻮﻴﺒﻤﻜﻟﺍ
ﻥﺈﻓ

70 ﻱﻭﺎﺴﺗ ﻭﺃ ﻦﻣ ﺮﺒﻛﺃ
(ﺔﻳﺪﻬﻟﺍ ﺮﻌﺳ)
ﻥﺎﻛ ﺍﺫﺇﻭ
"ﻲﺿﺮﻣ ﺎﻫﺮﻌﺳ" ﺓﺭﺎﺒﻋ ﻥﺰﺨﻴﺳ
============
ﻥﺈﻓ

30 ﻱﻭﺎﺴﺗ ﻭﺃ ﻦﻣ ﺮﺒﻛﺃ
( ﺔﻳﺪﻬﻟﺍ ﺮﻌﺳ )
ﻥﺎﻛ ﺍﺫﺇﻭ

"ﺪﻴﺟ ﺎﻫﺮﻌﺳ" ﺓﺭﺎﺒﻋ ﻥﺰﺨﻴﺳ ﺮﺗﻮﻴﺒﻤﻜﻟ
============
"ﻲﻨﺒﺳﺎﻨﺗ ﻻ ﻦﻜﻟﻭ ﺪﻴﺟ ﺎﻫﺮﻌﺳ" ﺮﺗﻮﻴﺒﻤﻜﻟﺍ ﻥﺰﺨﻴﺳ
ﻚﻟﺫ ﺮﻴﻏﻭ
Full transcript