SlideShare a Scribd company logo
1 of 3
‫تعالی‬ ‫بسمه‬
: ‫خانوادگی‬ ‫نام‬ ‫و‬ ‫نام‬‫درس‬ ‫امتحان‬
‫سازی‬ ‫برنامه‬‫ف‬‫صل‬6.......... : ‫نمره‬ ‫بوسعیدی‬ : ‫دبیر‬
‫سوال‬‫شرح‬‫نمره‬
1‫متغیر‬ ‫مقدار‬ ‫که‬ ‫صورتی‬ ‫در‬A‫برابر‬5‫چیست؟‬ ‫زیر‬ ‫دستورات‬ ‫خروجی‬ ، ‫باشد‬
Select case A
Case is<10 : PrintA*2
Case is=5 : Print A
Case is>5 : Print A2
End select
5.5
2‫میشود‬ ‫اجرا‬ ‫یکبار‬ ‫حداقل‬ ‫حلقه‬ ‫داخل‬ ‫دستورات‬ ‫تکرار‬ ‫های‬ ‫حلقه‬ ‫بالک‬ ‫کدام‬ ‫در‬
‫الف‬)for…. next‫ب‬)while ……………..wend‫ج‬)do ……….loopwile‫د‬)do while……..loop
5.5
3‫چیست؟‬ ‫زیر‬ ‫حلقه‬ ‫خروجی‬
Do while x<100
Printx : x=x+2
loop
5.5
4‫کلمه‬ ‫زیر‬ ‫حلقه‬book‫میکند؟‬ ‫چاپ‬ ‫بار‬ ‫چند‬ ‫را‬
For i= 1 to 10
For j=1 to 10 step2
Print “book”
Next j,i
5.5
5‫بر‬ ‫قطعه‬ ‫اجرای‬ ‫حاصل‬‫است؟‬ ‫کدام‬ ‫روبرو‬ ‫نامه‬
For n=11 to 0 step -2
Print n;
If n mod3=0 then exit for
Next n
‫الف‬)11‫ب‬)11,9‫ج‬)11,9,7,5,3‫د‬)11,9,7,5,3,1
5.5
6‫میشود؟‬ ‫چاپ‬ ‫بار‬ ‫چند‬ ‫زیر‬ ‫حلقه‬
I=1
DO
PRINT I : I=I+1
LOOP WHILE m<5
5.5
7‫چیست؟‬ ‫زیر‬ ‫برنامه‬ ‫خروجی‬
For t=1 to 5
For s=t to 5
Print"*" ;
Nexts
Print
Nextt
5.75
8‫بجای‬n ,k,s,‫بین‬ ‫فرد‬ ‫اعداد‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫در‬ ‫تا‬ ‫گیرد‬ ‫قرار‬ ‫عددی‬ ‫چه‬40‫و‬100‫شود‬ ‫داده‬ ‫نشان‬
m=k
Do
Print m
m=m+s
Loop while m<n
5.75
9‫کنید‬ ‫کامل‬ ‫را‬ ‫زیر‬ ‫عبارات‬
-‫برای‬‫می‬ ........ ‫در‬ ‫را‬ ‫آنها‬ ‫باشد‬ ‫انتخاب‬ ‫قابل‬ ‫مورد‬ ‫یک‬ ‫گروه‬ ‫هر‬ ‫بین‬ ‫از‬ ‫و‬ ‫کنیم‬ ‫ایجاد‬ ‫فرم‬ ‫روی‬ ‫انتخاب‬ ‫دکمه‬ ‫گروه‬ ‫چند‬ ‫اینکه‬
‫گذاریم‬
-‫حلقه‬ ‫از‬ ‫خروج‬ ‫برای‬do while‫کرد‬ ‫استفاده‬ ..................... ‫دستور‬ ‫از‬ ‫توان‬ ‫می‬
-‫دستور‬ ‫در‬print‫باشند‬ ‫هم‬ ‫سر‬ ‫پشت‬ ‫و‬ ‫خط‬ ‫یک‬ ‫در‬ ‫ها‬ ‫خروجی‬ ‫اینکه‬ ‫برای‬‫آن‬ ‫از‬ ‫بعد‬‫در‬ ‫ها‬ ‫خروجی‬ ‫اینکه‬ ‫برای‬ ‫و‬ ‫میگذاریم‬ ......
‫میگذاریم‬ ......... ‫باشند‬ ‫هم‬ ‫از‬ ‫فاصله‬ ‫با‬ ‫و‬ ‫خط‬ ‫یک‬
1.5
15‫دستور‬ ‫کمک‬ ‫با‬ ‫را‬ ‫زیر‬ ‫حلقه‬loopdo while …….‫کنید‬ ‫بازنویسی‬
For i= 20 to 1 step -2
.
.
Nexti
1
‫الف‬)‫ب‬ ‫بار‬ ‫یک‬)‫ج‬ ‫شود‬ ‫نمی‬ ‫اجرا‬ ‫اصال‬)‫د‬ ‫میشود‬ ‫اجرا‬ ‫بار‬ ‫نهایت‬ ‫بی‬)5‫میشود‬ ‫اجرا‬ ‫بار‬
‫الف‬)155‫ب‬ ‫بار‬)55‫ج‬ ‫بار‬)45‫د‬ ‫بار‬)‫دارد‬ ‫خطا‬
‫الف‬)‫اعداد‬5‫تا‬155‫ب‬ ‫میکند‬ ‫چاپ‬ ‫را‬)‫زوج‬ ‫اعداد‬5‫تا‬155‫میکند‬ ‫چاپ‬ ‫را‬
‫ج‬)‫اعداد‬1‫تا‬155‫د‬ ‫میکند‬ ‫چاپ‬ ‫را‬)‫فرد‬ ‫اعداد‬1‫تا‬155‫میکند‬ ‫چاپ‬ ‫را‬
‫الف‬)15‫ب‬)5
‫ج‬)2‫د‬)2.5
11‫چیست؟‬ ‫زیر‬ ‫دستورات‬ ‫اجرای‬ ‫از‬ ‫حاصل‬ ‫خروجی‬
k=3
Do while (true)
If j>5 thenexitdo
For i=1 to j
PrintI;
Nexti
Print
J=j+1
Loop
5.5
12‫چیست‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫خروجی‬
("‫عدد‬ ‫ورود‬)"A=INPUTBOX
DO While a<>0
M=a mod 10
A=a10
Print m
Loop
1
13‫کلمه‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫در‬book‫میشود‬ ‫چاپ‬ ‫بار‬ ‫چند‬
For x= 1 to 10 step 2
For y=1 to 30 step 3
For k=5 to 10
Print "book”
Next k,y,x
1
14‫چیست‬ ‫خروجی‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫در‬
For i=100 to 1000 step10
T=T+i
Nexti
Printi
5.5
15‫بر‬ ‫بخشپذیر‬ ‫رقمی‬ ‫چهار‬ ‫اعداد‬ ‫تمام‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬3‫کند‬ ‫چاپ‬ ‫و‬ ‫تولید‬ ‫را‬1
16‫کند‬ ‫وچاپ‬ ‫محاسبه‬ ‫را‬ ‫زیر‬ ‫عبارت‬ ‫حاصل‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬
M=
1
𝑛
+
2
𝑛2
+
3
𝑛3
+ ⋯+
𝑛
𝑛 𝑛
1.5
17‫شود‬ ‫ظاهر‬ ‫مناسبی‬ ‫پیغام‬ ‫فرمان‬ ‫دکمه‬ ‫روی‬ ‫کلیک‬ ‫با‬ ‫خواهیم‬ ‫زیرمی‬ ‫شکل‬ ‫به‬ ‫فرمی‬ ‫در‬
‫کمک‬ ‫با‬SELECT‫بنویسید‬ ‫را‬ ‫مناسب‬ ‫دستورات‬
‫بین‬ ‫نمره‬ ‫اگر‬5‫تا‬5‫پیغام‬ ‫بود‬"‫بد‬ ‫خیلی‬"
‫از‬ ‫کوچکتر‬ ‫نمره‬ ‫اگر‬15‫پیغام‬ ‫بود‬"‫بد‬"
‫برابر‬ ‫نمره‬ ‫اگر‬11‫و‬12‫و‬13‫و‬14‫پیغام‬ ‫بود‬"‫متوسط‬"
‫اگر‬15‫تا‬25‫پیغام‬ ‫بود‬"‫خوب‬ ‫خیلی‬"
‫پیغام‬ ‫اینصورت‬ ‫غیر‬ ‫در‬ ‫و‬"‫اشتباه‬ ‫نمره‬"‫شود‬ ‫چاپ‬
1.5
‫نمره‬
‫اجرا‬
18‫کند‬ ‫تولید‬ ‫را‬ ‫مقابل‬ ‫خروجی‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬
FFFFFFFF
F
F
FFFFFF
F
F
1
19‫ورود‬ ‫جعبه‬ ‫(با‬ ‫کرده‬ ‫دریافت‬ ‫عدد‬ ‫تعدادی‬ ‫کاربر‬ ‫از‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬
‫عدد‬ ‫یک‬ ‫کردن‬ ‫وارد‬ ‫تا‬ ‫اعداد‬ ‫ورود‬ ‫دهد‬ ‫نشان‬ ‫را‬ ‫آنها‬ ‫جمع‬ ‫حاصل‬ ‫و‬ )‫ها‬ ‫داده‬
‫کند‬ ‫پیدا‬ ‫ادامه‬ ‫منفی‬
2
25‫سالهای‬ ‫تعداد‬ ‫شده‬ ‫انتخاب‬ ‫مدرک‬ ‫به‬ ‫توجه‬ ‫با‬ ‫خواهیم‬ ‫می‬ ‫روبرو‬ ‫شکل‬ ‫به‬ ‫فرمی‬ ‫در‬
‫خوانده‬ ‫درس‬‫دهد‬ ‫نشان‬ ‫پیام‬ ‫جعبه‬ ‫در‬ ‫را‬ ‫شخص‬
1
21‫کوچکترین‬ ‫آنها‬ ‫بین‬ ‫از‬ ‫و‬ ‫کرده‬ ‫دریافت‬ ‫را‬ ‫عدد‬ ‫تعدادی‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬
‫کند‬ ‫چاپ‬ ‫و‬ ‫کرده‬ ‫پیدا‬ ‫را‬ ‫عدد‬
2
‫مدرک‬
‫دیپلم‬
‫لیسانس‬
‫لیسانس‬ ‫فوق‬
‫اجرا‬

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

ویژوال فصل ششم

  • 1. ‫تعالی‬ ‫بسمه‬ : ‫خانوادگی‬ ‫نام‬ ‫و‬ ‫نام‬‫درس‬ ‫امتحان‬ ‫سازی‬ ‫برنامه‬‫ف‬‫صل‬6.......... : ‫نمره‬ ‫بوسعیدی‬ : ‫دبیر‬ ‫سوال‬‫شرح‬‫نمره‬ 1‫متغیر‬ ‫مقدار‬ ‫که‬ ‫صورتی‬ ‫در‬A‫برابر‬5‫چیست؟‬ ‫زیر‬ ‫دستورات‬ ‫خروجی‬ ، ‫باشد‬ Select case A Case is<10 : PrintA*2 Case is=5 : Print A Case is>5 : Print A2 End select 5.5 2‫میشود‬ ‫اجرا‬ ‫یکبار‬ ‫حداقل‬ ‫حلقه‬ ‫داخل‬ ‫دستورات‬ ‫تکرار‬ ‫های‬ ‫حلقه‬ ‫بالک‬ ‫کدام‬ ‫در‬ ‫الف‬)for…. next‫ب‬)while ……………..wend‫ج‬)do ……….loopwile‫د‬)do while……..loop 5.5 3‫چیست؟‬ ‫زیر‬ ‫حلقه‬ ‫خروجی‬ Do while x<100 Printx : x=x+2 loop 5.5 4‫کلمه‬ ‫زیر‬ ‫حلقه‬book‫میکند؟‬ ‫چاپ‬ ‫بار‬ ‫چند‬ ‫را‬ For i= 1 to 10 For j=1 to 10 step2 Print “book” Next j,i 5.5 5‫بر‬ ‫قطعه‬ ‫اجرای‬ ‫حاصل‬‫است؟‬ ‫کدام‬ ‫روبرو‬ ‫نامه‬ For n=11 to 0 step -2 Print n; If n mod3=0 then exit for Next n ‫الف‬)11‫ب‬)11,9‫ج‬)11,9,7,5,3‫د‬)11,9,7,5,3,1 5.5 6‫میشود؟‬ ‫چاپ‬ ‫بار‬ ‫چند‬ ‫زیر‬ ‫حلقه‬ I=1 DO PRINT I : I=I+1 LOOP WHILE m<5 5.5 7‫چیست؟‬ ‫زیر‬ ‫برنامه‬ ‫خروجی‬ For t=1 to 5 For s=t to 5 Print"*" ; Nexts Print Nextt 5.75 8‫بجای‬n ,k,s,‫بین‬ ‫فرد‬ ‫اعداد‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫در‬ ‫تا‬ ‫گیرد‬ ‫قرار‬ ‫عددی‬ ‫چه‬40‫و‬100‫شود‬ ‫داده‬ ‫نشان‬ m=k Do Print m m=m+s Loop while m<n 5.75 9‫کنید‬ ‫کامل‬ ‫را‬ ‫زیر‬ ‫عبارات‬ -‫برای‬‫می‬ ........ ‫در‬ ‫را‬ ‫آنها‬ ‫باشد‬ ‫انتخاب‬ ‫قابل‬ ‫مورد‬ ‫یک‬ ‫گروه‬ ‫هر‬ ‫بین‬ ‫از‬ ‫و‬ ‫کنیم‬ ‫ایجاد‬ ‫فرم‬ ‫روی‬ ‫انتخاب‬ ‫دکمه‬ ‫گروه‬ ‫چند‬ ‫اینکه‬ ‫گذاریم‬ -‫حلقه‬ ‫از‬ ‫خروج‬ ‫برای‬do while‫کرد‬ ‫استفاده‬ ..................... ‫دستور‬ ‫از‬ ‫توان‬ ‫می‬ -‫دستور‬ ‫در‬print‫باشند‬ ‫هم‬ ‫سر‬ ‫پشت‬ ‫و‬ ‫خط‬ ‫یک‬ ‫در‬ ‫ها‬ ‫خروجی‬ ‫اینکه‬ ‫برای‬‫آن‬ ‫از‬ ‫بعد‬‫در‬ ‫ها‬ ‫خروجی‬ ‫اینکه‬ ‫برای‬ ‫و‬ ‫میگذاریم‬ ...... ‫میگذاریم‬ ......... ‫باشند‬ ‫هم‬ ‫از‬ ‫فاصله‬ ‫با‬ ‫و‬ ‫خط‬ ‫یک‬ 1.5 15‫دستور‬ ‫کمک‬ ‫با‬ ‫را‬ ‫زیر‬ ‫حلقه‬loopdo while …….‫کنید‬ ‫بازنویسی‬ For i= 20 to 1 step -2 . . Nexti 1 ‫الف‬)‫ب‬ ‫بار‬ ‫یک‬)‫ج‬ ‫شود‬ ‫نمی‬ ‫اجرا‬ ‫اصال‬)‫د‬ ‫میشود‬ ‫اجرا‬ ‫بار‬ ‫نهایت‬ ‫بی‬)5‫میشود‬ ‫اجرا‬ ‫بار‬ ‫الف‬)155‫ب‬ ‫بار‬)55‫ج‬ ‫بار‬)45‫د‬ ‫بار‬)‫دارد‬ ‫خطا‬ ‫الف‬)‫اعداد‬5‫تا‬155‫ب‬ ‫میکند‬ ‫چاپ‬ ‫را‬)‫زوج‬ ‫اعداد‬5‫تا‬155‫میکند‬ ‫چاپ‬ ‫را‬ ‫ج‬)‫اعداد‬1‫تا‬155‫د‬ ‫میکند‬ ‫چاپ‬ ‫را‬)‫فرد‬ ‫اعداد‬1‫تا‬155‫میکند‬ ‫چاپ‬ ‫را‬ ‫الف‬)15‫ب‬)5 ‫ج‬)2‫د‬)2.5
  • 2. 11‫چیست؟‬ ‫زیر‬ ‫دستورات‬ ‫اجرای‬ ‫از‬ ‫حاصل‬ ‫خروجی‬ k=3 Do while (true) If j>5 thenexitdo For i=1 to j PrintI; Nexti Print J=j+1 Loop 5.5 12‫چیست‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫خروجی‬ ("‫عدد‬ ‫ورود‬)"A=INPUTBOX DO While a<>0 M=a mod 10 A=a10 Print m Loop 1 13‫کلمه‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫در‬book‫میشود‬ ‫چاپ‬ ‫بار‬ ‫چند‬ For x= 1 to 10 step 2 For y=1 to 30 step 3 For k=5 to 10 Print "book” Next k,y,x 1 14‫چیست‬ ‫خروجی‬ ‫زیر‬ ‫کد‬ ‫قطعه‬ ‫در‬ For i=100 to 1000 step10 T=T+i Nexti Printi 5.5 15‫بر‬ ‫بخشپذیر‬ ‫رقمی‬ ‫چهار‬ ‫اعداد‬ ‫تمام‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬3‫کند‬ ‫چاپ‬ ‫و‬ ‫تولید‬ ‫را‬1 16‫کند‬ ‫وچاپ‬ ‫محاسبه‬ ‫را‬ ‫زیر‬ ‫عبارت‬ ‫حاصل‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬ M= 1 𝑛 + 2 𝑛2 + 3 𝑛3 + ⋯+ 𝑛 𝑛 𝑛 1.5 17‫شود‬ ‫ظاهر‬ ‫مناسبی‬ ‫پیغام‬ ‫فرمان‬ ‫دکمه‬ ‫روی‬ ‫کلیک‬ ‫با‬ ‫خواهیم‬ ‫زیرمی‬ ‫شکل‬ ‫به‬ ‫فرمی‬ ‫در‬ ‫کمک‬ ‫با‬SELECT‫بنویسید‬ ‫را‬ ‫مناسب‬ ‫دستورات‬ ‫بین‬ ‫نمره‬ ‫اگر‬5‫تا‬5‫پیغام‬ ‫بود‬"‫بد‬ ‫خیلی‬" ‫از‬ ‫کوچکتر‬ ‫نمره‬ ‫اگر‬15‫پیغام‬ ‫بود‬"‫بد‬" ‫برابر‬ ‫نمره‬ ‫اگر‬11‫و‬12‫و‬13‫و‬14‫پیغام‬ ‫بود‬"‫متوسط‬" ‫اگر‬15‫تا‬25‫پیغام‬ ‫بود‬"‫خوب‬ ‫خیلی‬" ‫پیغام‬ ‫اینصورت‬ ‫غیر‬ ‫در‬ ‫و‬"‫اشتباه‬ ‫نمره‬"‫شود‬ ‫چاپ‬ 1.5 ‫نمره‬ ‫اجرا‬
  • 3. 18‫کند‬ ‫تولید‬ ‫را‬ ‫مقابل‬ ‫خروجی‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬ FFFFFFFF F F FFFFFF F F 1 19‫ورود‬ ‫جعبه‬ ‫(با‬ ‫کرده‬ ‫دریافت‬ ‫عدد‬ ‫تعدادی‬ ‫کاربر‬ ‫از‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬ ‫عدد‬ ‫یک‬ ‫کردن‬ ‫وارد‬ ‫تا‬ ‫اعداد‬ ‫ورود‬ ‫دهد‬ ‫نشان‬ ‫را‬ ‫آنها‬ ‫جمع‬ ‫حاصل‬ ‫و‬ )‫ها‬ ‫داده‬ ‫کند‬ ‫پیدا‬ ‫ادامه‬ ‫منفی‬ 2 25‫سالهای‬ ‫تعداد‬ ‫شده‬ ‫انتخاب‬ ‫مدرک‬ ‫به‬ ‫توجه‬ ‫با‬ ‫خواهیم‬ ‫می‬ ‫روبرو‬ ‫شکل‬ ‫به‬ ‫فرمی‬ ‫در‬ ‫خوانده‬ ‫درس‬‫دهد‬ ‫نشان‬ ‫پیام‬ ‫جعبه‬ ‫در‬ ‫را‬ ‫شخص‬ 1 21‫کوچکترین‬ ‫آنها‬ ‫بین‬ ‫از‬ ‫و‬ ‫کرده‬ ‫دریافت‬ ‫را‬ ‫عدد‬ ‫تعدادی‬ ‫که‬ ‫بنویسید‬ ‫ای‬ ‫برنامه‬ ‫کند‬ ‫چاپ‬ ‫و‬ ‫کرده‬ ‫پیدا‬ ‫را‬ ‫عدد‬ 2 ‫مدرک‬ ‫دیپلم‬ ‫لیسانس‬ ‫لیسانس‬ ‫فوق‬ ‫اجرا‬