
שיעור ראשון הכרת לולאות
Quiz
•
Science
•
10th Grade
•
Practice Problem
•
Hard
nader nader
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מהי המטרה העיקרית של שימוש בלולאה בתכנות?
להקל על קריאת הקוד
לחזור על קטע קוד מספר רב של פעמים באופן אוטומטי
לשפר את מהירות המעבד
להפוך את הקוד למסובך יותר
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
איזו מבין האפשרויות הבאות היא לולאה חוקית ב-Java?
repeat (int i = 0; i < 10; i++) { System.out.println(i); }
for (int i = 0; i < 10; i++) { System.out.println(i); }
loop (int i = 0; i < 10; i++) { System.out.println(i); }
while (i = 0; i < 10; i++) { System.out.println(i); }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
איזו לולאה עדיפה כאשר אנו יודעים מראש כמה פעמים יש לבצע את החזרה?
if
for
do-while
while
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
איזה חלק בלולאת for קובע מתי הלולאה תפסיק לרוץ?
התנאי (i < 10;)
האתחול (int i = 0;)
השינוי (i++)
תוכן הלולאה (System.out.println(i);)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה יקרה אם נשכח לעדכן את המשתנה בתוך לולאת while?
התוכנית תעבוד רגיל
הקוד לא יפעל בכלל
הלולאה תהפוך לאינסופית
הלולאה תדלג על כל החזרות
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה ההבדל העיקרי בין לולאת for ולולאת while?
לולאת for מיועדת למקרים בהם מספר החזרות ידוע מראש, בעוד while נמשכת עד שמתקיים תנאי
לולאת while תמיד טובה יותר מ-for
for אינה מאפשרת שינויים בתנאי הלולאה
אין הבדל בין השתיים
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה הפלט של הקוד הבא?
for (int i = 1; i <= 3; i++)
{ System.out.println("Hello");
}
ידפיס "Hello" פעם אחת
ידפיס "HelloHelloHello" בשורה אחת
הקוד לא יפעל
דפיס "Hello" שלוש פעמים
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
ROWAK - Paprocie
Quiz
•
8th - 12th Grade
15 questions
Chem 1.1
Quiz
•
9th - 11th Grade
10 questions
Egzamin ósmoklasisty - zestaw 1
Quiz
•
7th - 10th Grade
15 questions
SAINS TINGKATAN 2 BAB 1
Quiz
•
1st - 12th Grade
14 questions
Sposoby odżywiania organizmów
Quiz
•
10th Grade
12 questions
earth and space review
Quiz
•
10th Grade
15 questions
Concentrations, dilutions, and review
Quiz
•
9th - 12th Grade
14 questions
Electric Circuits, Formulas, and Calculations
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Science
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
10 questions
EOC Domain 3: Taxonomy
Lesson
•
9th - 10th Grade
9 questions
EOC Domain 4: Evolution
Lesson
•
9th - 10th Grade
10 questions
EOC Domain 5: Ecology
Lesson
•
9th - 10th Grade
11 questions
EOC Domain 2: Genetics
Lesson
•
9th - 10th Grade
10 questions
Exploring the Human Respiratory System
Interactive video
•
6th - 10th Grade
