1) What is a conditional statement? a) A rule that allows a program to make decisions based on conditions. b) Smart devices and AI-based automation. 2) How does an if-then statement work? a) It checks a condition and executes a command if the condition is true. b) Real-life applications range from smart homes to game programming. 3) Why would using multiple conditions be useful in a game? a) It allows for different actions depending on player input, making the game interactive. b) MakeCode provides an easy way to experiment with repeat logic 4) Compare if-then and if-then-else statements. When would each be useful? a) MakeCode provides an easy way to experiment with repeat logic b) If-then is useful for simple conditions, while if-then-else handles alternatives.
0%
g6
שתף
שתף
שתף
על ידי
Itsubjectansa
حاسوب
עריכת תוכן
הדפסה
הטבעה
עוד
הקצאות
לוח תוצאות מובילות
הצג עוד
הצג פחות
לוח התוצאות הזה הוא כרגע פרטי. לחץ
שתף
כדי להפוך אותו לציבורי.
לוח תוצאות זה הפך ללא זמין על-ידי בעל המשאב.
לוח תוצאות זה אינו זמין מכיוון שהאפשרויות שלך שונות מאשר של בעל המשאב.
אפשרויות חזרה
חידון
היא תבנית פתוחה. זה לא יוצר ציונים עבור לוח התוצאות.
נדרשת כניסה
סגנון חזותי
גופנים
נדרש מנוי
אפשרויות
החלף תבנית
הצג הכל
תבניות נוספות יופיעו במהלך המשחק.
תוצאות פתוחות
העתק קישור
קוד QR
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?