گرد آوری مطالب مهم و کاربردی رشته های پیام نور
گر بر تن من زبان شود هر مویی یک شکر تو از هزار نتوانم کرد
درباره وبلاگ



مدیر وبلاگ :
آمار وبلاگ
  • کل بازدید :
  • بازدید امروز :
  • بازدید دیروز :
  • بازدید این ماه :
  • بازدید ماه قبل :
  • تعداد نویسندگان :
  • تعداد کل پست ها :
  • آخرین بازدید :
  • آخرین بروز رسانی :

1 ) خروجی قطعه برنام های زیر را تعین کنید ؟

i := 0 ;

sum := 0 ;

while i <= 120 do            تا زمانیکه مقدار آی کوچکتر یا مساوی 120 است کار زیر را انجام بده

begin                                شروع حلقه ای که باید دستور بالا آنرا انجام دهد

sum := sum + i ;

i := i + 1 ;

end;                                   پایان حلقه ای که باید دستور بالا آنرا انجام دهد

برای حل ابتدا جدول منطقی را میکشیم و شروع به حل قدم به قدم میکنیم

i               sum

0               0

1               0 + 1 = 1

2               1 + 2 = 3

3               3 + 3 = 6

4               6 + 4 = 10

5              10 + 5 = 15

6              15 + 6 = 21

n               n ( n+1 )/2 = i ( i + 1 ) / 2 = 120 ( 121 ) / 2 = 7260





نوع مطلب :
برچسب ها :
لینک های مرتبط :

       نظرات
سه شنبه 24 آبان 1390
شنبه 7 مرداد 1396 12:41 ب.ظ
Nice post. I used to be checking constantly this weblog and I'm impressed!
Very helpful info particularly the remaining part :
) I deal with such info much. I used to be looking for this certain information for a
long time. Thank you and best of luck.
شنبه 7 مرداد 1396 12:34 ب.ظ
Hello friends, its wonderful piece of writing concerning tutoringand entirely explained, keep it up all the time.
شنبه 7 مرداد 1396 12:31 ب.ظ
It's wonderful that you are getting thoughts from this paragraph as
well as from our argument made at this place.
شنبه 7 مرداد 1396 12:27 ب.ظ
I was curious if you ever considered changing the layout of your site?
Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect
with it better. Youve got an awful lot of text for only having one or two pictures.
Maybe you could space it out better?
شنبه 7 مرداد 1396 11:28 ق.ظ
Very soon this website will be famous among all blog viewers,
due to it's pleasant posts
شنبه 7 مرداد 1396 11:23 ق.ظ
Hi there, I discovered your blog by the use of
Google at the same time as searching for a related subject, your site came up, it seems to be great.

I've bookmarked it in my google bookmarks.
Hello there, just was alert to your weblog thru Google, and located that it is really
informative. I'm gonna watch out for brussels. I will appreciate if you happen to
proceed this in future. Lots of other folks will be benefited from your writing.
Cheers!
شنبه 7 مرداد 1396 11:09 ق.ظ
Great blog here! Also your web site loads up fast! What web host are you using?
Can I get your affiliate link to your host? I wish my site
loaded up as quickly as yours lol
شنبه 7 مرداد 1396 10:53 ق.ظ
I loved as much as you will receive carried out right here.
The sketch is tasteful, your authored subject matter stylish.
nonetheless, you command get bought an edginess over that you wish be delivering the following.
unwell unquestionably come further formerly again as exactly the same
nearly very often inside case you shield this increase.
شنبه 7 مرداد 1396 10:50 ق.ظ
Keep on working, great job!
شنبه 7 مرداد 1396 10:48 ق.ظ
You ought to take part in a contest for one of the
greatest sites on the internet. I most certainly will highly recommend this site!
شنبه 7 مرداد 1396 10:41 ق.ظ
Hi would you mind letting me know which web host
you're working with? I've loaded your blog in 3 completely
different internet browsers and I must say this
blog loads a lot faster then most. Can you recommend a good web hosting
provider at a fair price? Thanks, I appreciate it!
شنبه 7 مرداد 1396 10:37 ق.ظ
I for all time emailed this website post page to all my friends, because if like to read it after that my contacts will too.
شنبه 7 مرداد 1396 09:56 ق.ظ
My brother recommended I might like this web site. He was entirely right.
This post truly made my day. You can not imagine simply how much time I had spent for
this information! Thanks!
شنبه 7 مرداد 1396 09:22 ق.ظ
I'm really inspired together with your writing skills and also with
the structure for your blog. Is this a paid topic or did you modify it yourself?
Anyway keep up the nice quality writing, it's uncommon to peer
a great weblog like this one these days..
شنبه 7 مرداد 1396 09:21 ق.ظ
If you desire to increase your experience only keep visiting this web site and be updated
with the most up-to-date information posted here.
شنبه 7 مرداد 1396 09:19 ق.ظ
I really like your blog.. very nice colors & theme.
Did you make this website yourself or did you hire someone to do it for you?

Plz answer back as I'm looking to create my own blog and would like to find out where u got this from.
thanks
شنبه 7 مرداد 1396 09:18 ق.ظ
Very nice article. I definitely appreciate
this website. Keep writing!
شنبه 7 مرداد 1396 08:40 ق.ظ
This article is genuinely a good one it assists
new the web users, who are wishing in favor of blogging.
شنبه 7 مرداد 1396 08:35 ق.ظ
Great blog here! Also your website loads up very fast! What
host are you using? Can I get your affiliate link to your host?
I wish my website loaded up as fast as yours lol
جمعه 16 تیر 1396 07:22 ب.ظ
Hello, Neat post. There is an issue along with your website in internet
explorer, may test this? IE nonetheless is the marketplace leader and a huge component to folks
will pass over your magnificent writing due
to this problem.
یکشنبه 4 تیر 1396 11:58 ب.ظ
بسیار core از خود نوشتن در حالی که صدایی مناسب در
آیا واقعا کار کاملا با من پس از برخی از زمان.

جایی در سراسر جملات شما موفق به من مؤمن متاسفانه
فقط برای کوتاه در حالی که. من با این حال مشکل خود را با فراز در مفروضات و یک خواهد را خوب به پر همه کسانی شکاف.
در این رویداد شما در واقع که می توانید انجام من را قطعا تا پایان در گم.
جمعه 2 تیر 1396 09:27 ب.ظ
core از خود نوشتن در حالی که صدایی دلنشین در آیا نه کار بسیار خوب با من پس از برخی از زمان.
جایی درون پاراگراف شما در واقع قادر به من مؤمن اما تنها
برای کوتاه در حالی که. من این کردم مشکل خود را با فراز در منطق و شما
ممکن است را سادگی به کمک
پر همه کسانی شکاف. اگر شما که می توانید انجام من می
قطعا تا پایان در گم.
پنجشنبه 25 خرداد 1396 07:06 ب.ظ
بسیار ریشه از خود نوشتن در حالی که صدایی دلنشین در آیا واقعا حل
و فصل خوب با من پس از برخی از زمان.

جایی در سراسر جملات شما موفق به من مؤمن متاسفانه تنها برای while.
من این مشکل خود را با جهش در مفروضات و یک ممکن است را سادگی به پر کسانی که شکاف.
در صورتی که شما که می توانید انجام من را قطعا تا پایان مجذوب.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر


نمایش نظرات 31 تا 53