صفحة 152 - كتاب التقنية الرقمية - الصف 12 - الفصل 1 - المملكة العربية السعودية

الكتاب: كتاب التقنية الرقمية - الصف 12 - الفصل 1 | المادة: التقنية الرقمية | المرحلة: الصف 12 | الفصل الدراسي: 1

الدولة: المملكة العربية السعودية | المنهج: المنهج السعودي - وزارة التعليم

📚 معلومات الصفحة

الكتاب: كتاب التقنية الرقمية - الصف 12 - الفصل 1 | المادة: التقنية الرقمية | المرحلة: الصف 12 | الفصل الدراسي: 1

الدولة: المملكة العربية السعودية | المنهج: المنهج السعودي - وزارة التعليم

📋 المحتوى المنظم

📖 محتوى تعليمي مفصّل

نوع: محتوى تعليمي

الاختيار

نوع: محتوى تعليمي

يتم استخدام الجملة الشرطية if then (إذا عندما) لبرمجة عنصر القائمة بحيث يفتح الشاشة المرتبطة به عند الضغط عليه. إذا ضغطت على صنف "اللحوم والأسماك" فيجب فتح الصفحة المقابلة له.

نوع: محتوى تعليمي

لإضافة تركيب if الشرطي:

نوع: QUESTION_ACTIVITY

1. من لوحة Blocks (اللبنات) اضغط على قسم لبنات Control (التحكم).

نوع: QUESTION_ACTIVITY

2. اضغط على لبنة if then (إذا)، واسحبها وأفلتها داخل المنطقة البرمجية.

نوع: QUESTION_ACTIVITY

3. اضغط على لبنة Logic (المنطقية).

نوع: QUESTION_ACTIVITY

4. اسحب وأفلت لبنة = بجانب لبنة if.

نوع: QUESTION_ACTIVITY

5. اضغط على لبنة Variables (المتغيرات).

نوع: QUESTION_ACTIVITY

6. اسحب وأفلت لبنة get (احصل على) إلى الجزء الأيسر من اللبنة =، واختر global selection (الاختيار العام).

نوع: QUESTION_ACTIVITY

7. اضغط على لبنة Text (النص).

نوع: QUESTION_ACTIVITY

8. اسحب وأفلت لبنة Text (النص) إلى الجزء الأيمن من اللبنة =، واكتب "اللحوم والأسماك" (Meat and Fish).

🔍 عناصر مرئية

Healthy_Food Screen1 Blocks Viewer

A block-based programming interface showing the initial setup. The left panel, labeled 'Blocks', lists 'Built-in' categories including Control, Logic, Math, Text, Lists, Dictionaries, Colors, Variables, Procedures, Screen1, and Tips. The right panel, labeled 'Viewer', displays two 'if then' blocks. Numbered label '1' points to the 'Control' category in the 'Blocks' panel. Numbered label '2' points to the two 'if then' blocks in the 'Viewer' panel.

Healthy_Food Screen1 Blocks Viewer

A block-based programming interface showing a more advanced program setup. The left panel, labeled 'Blocks', lists 'Built-in' categories including Control, Logic, Math, Text, Lists, Dictionaries, Colors, Variables, Procedures, Screen1, Tips, Foods, and Any component. The right panel, labeled 'Viewer', contains several blocks: 'when Tips.Click do open another screen screenName Screen2', 'initialize global Foods to make a list' with items 'اللحوم والأسماك', 'الحبوب', 'الخضروات', 'الفواكه', 'منتجات الألبان', 'المكسرات', 'initialize global selection to ""', 'when Foods.BeforePicking do set Foods.Elements to get global Foods', and an 'if' block. Numbered label '3' points to the 'Logic' category in the 'Blocks' panel. Numbered label '4' points to the 'if' block which includes an '=' operator with two empty slots for comparison. Numbered label '9' points to the text block 'اللحوم والأسماك' (Meat and Fish) within the 'make a list' block.

📄 النص الكامل للصفحة

الاختيار يتم استخدام الجملة الشرطية if then (إذا عندما) لبرمجة عنصر القائمة بحيث يفتح الشاشة المرتبطة به عند الضغط عليه. إذا ضغطت على صنف "اللحوم والأسماك" فيجب فتح الصفحة المقابلة له. لإضافة تركيب if الشرطي: 1. من لوحة Blocks (اللبنات) اضغط على قسم لبنات Control (التحكم). 2. اضغط على لبنة if then (إذا)، واسحبها وأفلتها داخل المنطقة البرمجية. 3. اضغط على لبنة Logic (المنطقية). 4. اسحب وأفلت لبنة = بجانب لبنة if. 5. اضغط على لبنة Variables (المتغيرات). 6. اسحب وأفلت لبنة get (احصل على) إلى الجزء الأيسر من اللبنة =، واختر global selection (الاختيار العام). 7. اضغط على لبنة Text (النص). 8. اسحب وأفلت لبنة Text (النص) إلى الجزء الأيمن من اللبنة =، واكتب "اللحوم والأسماك" (Meat and Fish). --- VISUAL CONTEXT --- **DIAGRAM**: Healthy_Food Screen1 Blocks Viewer Description: A block-based programming interface showing the initial setup. The left panel, labeled 'Blocks', lists 'Built-in' categories including Control, Logic, Math, Text, Lists, Dictionaries, Colors, Variables, Procedures, Screen1, and Tips. The right panel, labeled 'Viewer', displays two 'if then' blocks. Numbered label '1' points to the 'Control' category in the 'Blocks' panel. Numbered label '2' points to the two 'if then' blocks in the 'Viewer' panel. Context: Illustrates the first two steps of building conditional logic in a block-based programming environment, specifically selecting the 'Control' category and dragging 'if then' blocks. **DIAGRAM**: Healthy_Food Screen1 Blocks Viewer Description: A block-based programming interface showing a more advanced program setup. The left panel, labeled 'Blocks', lists 'Built-in' categories including Control, Logic, Math, Text, Lists, Dictionaries, Colors, Variables, Procedures, Screen1, Tips, Foods, and Any component. The right panel, labeled 'Viewer', contains several blocks: 'when Tips.Click do open another screen screenName Screen2', 'initialize global Foods to make a list' with items 'اللحوم والأسماك', 'الحبوب', 'الخضروات', 'الفواكه', 'منتجات الألبان', 'المكسرات', 'initialize global selection to ""', 'when Foods.BeforePicking do set Foods.Elements to get global Foods', and an 'if' block. Numbered label '3' points to the 'Logic' category in the 'Blocks' panel. Numbered label '4' points to the 'if' block which includes an '=' operator with two empty slots for comparison. Numbered label '9' points to the text block 'اللحوم والأسماك' (Meat and Fish) within the 'make a list' block. Context: Illustrates the construction of a more complex conditional statement, including list initialization, event handling, and the use of comparison operators, as part of a block-based programming activity.