
שיעור ראשון הכרת לולאות
Quiz
•
Science
•
10th Grade
•
Hard
nader nader
FREE Resource
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Meiosis Test
Quiz
•
9th Grade - University
13 questions
wspólne cechy organizmów
Quiz
•
10th Grade
10 questions
Tebak Nama Binatang
Quiz
•
KG - 12th Grade
13 questions
การประยุกต์ใช้เทคโนโลยีในการสำรวจอวกาศ
Quiz
•
10th Grade
10 questions
La ciència i el coneixement científic
Quiz
•
10th Grade
10 questions
Characteristic of Life
Quiz
•
9th - 12th Grade
15 questions
Guess the Animal Challenge
Quiz
•
5th Grade - University
15 questions
Brain Teaser
Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring Chemical and Physical Changes
Interactive video
•
6th - 10th Grade
10 questions
Exploring the States of Matter
Interactive video
•
6th - 10th Grade
10 questions
Exploring the States of Matter and Thermal Energy
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
16 questions
Macromolecules Quiz
Quiz
•
10th Grade
24 questions
DNA Structure and Replication
Quiz
•
10th Grade