📋 المحتوى المنظم
📖 محتوى تعليمي مفصّل
نوع: محتوى تعليمي
السؤال السادس
6
نوع: QUESTION_HOMEWORK
صل اللبنات الموجودة في العمود الأول مع الوظيفة المناسبة لها في العمود الثاني.
نوع: METADATA
وزارة التعليم
Ministry of Education
2025 - 1447
نوع: METADATA
178
🔍 عناصر مرئية
A block-based code snippet representing an event handler. It starts with 'when Foods .AfterPicking do', indicating that the code inside this block will execute after an item is selected or 'picked' from a component named 'Foods'. This is typically used for handling user interaction with list pickers or dropdowns.
A block-based code snippet for an event handler. It starts with 'when Button1 .Click do', indicating a button click event. Inside this event, it uses 'initialize local a to "10" in' to declare and set the initial value of a local variable named 'a' to the string '10'. The 'in' keyword suggests a scope for this local variable.
A block-based code snippet for initializing a global variable. It reads 'initialize global name to', with an empty slot provided for the initial value. This block is used to declare a variable that is accessible throughout the entire program.
A block-based code snippet for creating a list data structure. It reads 'make a list' and shows multiple empty slots, indicating that items can be added to this list. This block is used to construct a collection of elements.
📄 النص الكامل للصفحة
السؤال السادس
--- SECTION: 6 ---
صل اللبنات الموجودة في العمود الأول مع الوظيفة المناسبة لها في العمود الثاني.
1. تنشئ متغيرًا محليًا.
2. تُستخدم لتحديد ما يجب أن يحدث بعد أن يختار المستخدم عنصرًا من القائمة.
3. تنشئ قائمة بالعناصر.
4. تُستخدم لتعريف متغير عام.
وزارة التعليم
Ministry of Education
2025 - 1447
178
--- VISUAL CONTEXT ---
**DIAGRAM**: Untitled
Description: A block-based code snippet representing an event handler. It starts with 'when Foods .AfterPicking do', indicating that the code inside this block will execute after an item is selected or 'picked' from a component named 'Foods'. This is typically used for handling user interaction with list pickers or dropdowns.
Context: This block is used to define actions that occur in response to a specific user event, such as selecting an item from a list. It is associated with the function 'تُستخدم لتحديد ما يجب أن يحدث بعد أن يختار المستخدم عنصرًا من القائمة.' (Used to determine what should happen after the user selects an item from the list.)
**DIAGRAM**: Untitled
Description: A block-based code snippet for an event handler. It starts with 'when Button1 .Click do', indicating a button click event. Inside this event, it uses 'initialize local a to "10" in' to declare and set the initial value of a local variable named 'a' to the string '10'. The 'in' keyword suggests a scope for this local variable.
Context: This block is used to create and assign an initial value to a variable that is only accessible within a specific scope (local). It is associated with the function 'تنشئ متغيرًا محليًا.' (Creates a local variable.)
**DIAGRAM**: Untitled
Description: A block-based code snippet for initializing a global variable. It reads 'initialize global name to', with an empty slot provided for the initial value. This block is used to declare a variable that is accessible throughout the entire program.
Context: This block is used to create and assign an initial value to a variable that is accessible from any part of the program (global). It is associated with the function 'تُستخدم لتعريف متغير عام.' (Used to define a global variable.)
**DIAGRAM**: Untitled
Description: A block-based code snippet for creating a list data structure. It reads 'make a list' and shows multiple empty slots, indicating that items can be added to this list. This block is used to construct a collection of elements.
Context: This block is used to create a data structure that can hold multiple items in an ordered sequence. It is associated with the function 'تنشئ قائمة بالعناصر.' (Creates a list of items.)