
שיעור ראשון הכרת לולאות
Quiz
•
Science
•
10th Grade
•
Practice Problem
•
Hard
nader nader
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
13 questions
Combined Gas Law Refresh
Quiz
•
8th - 12th Grade
10 questions
Problem Solving
Quiz
•
8th - 10th Grade
12 questions
Population Ecology
Quiz
•
9th - 12th Grade
10 questions
KRIPTOGRAFI DALAM PENGKOMPUTERAN
Quiz
•
10th - 12th Grade
10 questions
Galaxy Quiz
Quiz
•
10th - 12th Grade
10 questions
Plant DOL 1
Quiz
•
9th - 12th Grade
6 questions
Work-Energy Theorem
Quiz
•
9th - 12th Grade
9 questions
Lois de Kirchhoff
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
12 questions
Endothermic and Exothermic Reactions
Quiz
•
7th - 10th Grade
20 questions
Balanced and unbalanced forces
Quiz
•
10th Grade
10 questions
Exploring Thermal Energy and Temperature Concepts
Interactive video
•
6th - 10th Grade
10 questions
Exploring Kinetic and Potential Energy Concepts
Interactive video
•
6th - 10th Grade
32 questions
Explore Mixtures and Solutions
Quiz
•
9th - 12th Grade
