Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added ar-SA/images/add-friend-projects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/add-sound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/add-your-projects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/choose-backdrop-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/choose-sprite-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/create-studio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/customer-count.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/dont-fall-in-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/example-strip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/fruit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/icecream.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/item-amounts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/large-readout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/my-stuff-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/naming-studio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/new-variable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/quiz2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/sprite-pane-size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/step2-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/step3-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/step4-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/studio-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/tshirt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/upgrade-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/vending.png
37 changes: 37 additions & 0 deletions ar-SA/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: الزبون التالي
hero_image: images/banner.png
description: مشروع محاكاة متجر حيث يستطيع العميل شراء السلع.
meta_title: مشاريع البرمجة باستخدام منصة سكراتش للأطفال والمراهقين | اللحاق بالباص
meta_description: تعلم لغة Scratch من خلال مشاريع البرمجة التي تقدمها مؤسسة Raspberry Pi للأطفال والمراهقين. اصنع تطبيق Scratch حيث يمكن للعميل شراء العناصر من متجرك.
version: 4
listed: true
copyedit: false
last_tested: "2021-03-26"
steps:
-
title: ماذا ستصنع
-
title: متجرك
-
title: عينات للبيع
completion:
- engaged
-
title: عمليات الشراء
completion:
- internal
-
title: اختبار سريع
knowledge_quiz:
path: quiz1
version: 1
questions: 3
passing_score: 3
completion:
- external
-
title: الوصول إلى المدار
challenge: true
-
title: قم بترقية او تطوير مشروعك
73 changes: 73 additions & 0 deletions ar-SA/quiz1/question_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
## اختبار سريع

أجب على الاسئلة الثلاثة. هناك تلميحات لإرشادك إلى الإجابة الصحيحة.

عندما تجيب على كل سؤال، انقر فوق **تحقق من إجابتي**.

استمتع!

--- question ---

---
legend: Question 1 of 3
---

يستخدم مشروع متجر متغير الــ`المجموع`{: class = "block3variables"} لتخزين الإجمالي لكل عميل.

+ يضيف العميل العناصر التي يبلغ مجموعها `50` ويدفعها
+ يضيف عميل جديد العناصر التي يبلغ إجماليها `40` ولكن ` إجمالي `{: class = "block3variables"} يظهر الآن على أنه `90` للعميل الثاني

ما اللبنة او المقطع البرمجي الذي ستحتاج إلى إضافتها إلى المقطع البرمجي للدفع حتى يعود الإجمالي إلى `0` عندما يدفع كل عميل؟

--- choices ---

- ( )
```blocks3
change [total v] by [0]
```

--- feedback ---

ليس تمامًا ، `إجمالي`{: class = "block3variables"} يجب أن يكون `0` بعد أن يدفع العميل ، ولكنه ليس لبنة `غير`{: class = "block3variables"} التي تحتاجها.

--- /feedback ---

- ( )
```blocks3
set [total v] to [40]
```

--- feedback ---

ليس تمامًا ، فقد يعمل هذا مع الزبون</code>`: class = "block3variables"} سيكون خطأ للزبائن الآخرين.</p>

<p spaces-before="1">--- /feedback ---</p>

<ul>
<li>(x)</li>
</ul>

<pre><code class="blocks3">set [total v] to [0]
`</pre>

--- feedback ---

هذا صحيح. تحتاج إلى `اجعل`{: class = "block3variables"} `مجموع`{: class = "block3variables"} على `0` بعد أن يدفع كل زبون.

--- /feedback ---

- ( )

```blocks3
change [total v] by [-50]
```

--- feedback ---

سيعمل هذا في هذا المثال ، ولكن ماذا لو أنفق الزبون الأول مبلغًا مختلفًا؟ يجب أن يعمل الحل الخاص بك عندما ينفق العميل السابق مبالغ مختلفة.

--- /feedback ---

--- /choices ---

--- /question ---
63 changes: 63 additions & 0 deletions ar-SA/quiz1/question_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

--- question ---

---
legend: Question 2 of 3
---

في المتجر، يكون لدى **البائع** المقطع البرمجي في نص الخروج

```blocks3
ask [How are you today?] and wait
if <(answer) = [good]> then
say [That's fantastic!] for [2] seconds
else
say [Sorry to hear that.] for [2] seconds
end
```

عند تشغيل المقطع البرمجي ، يكتب المستخدم الإجابة "رائع". ماذا سوف يقول كائن**البائع**؟

![مربع "اسأل" مكتوبًا فيه كلمة "عظيم".](images/quiz2.png)

--- choices ---

- (x) سيقول ** البائع ** `اسف لسماع ذلك`

--- feedback ---

نعم. يعرف البشر أن كلمة "عظيم" تعني نفس معنى "جيد" ، لكن "=" تتحقق مما إذا كانت الأحرف متطابقة.

الــ **الشرط** `إجابة`{: class = "block3sensing"} = `جيد` هي 'خطا' لذا فإن المقطع البرمجي`قل`{: class = "block3looks"} في جزء المقطع البرمجي `والا`{: class = "block3control"} سوف يعمل.

--- /feedback ---

- () **البائع**سوف يقول `هذا رائع`

--- feedback ---

لا ، فقط الإجابة `جيد` ستجعل** البائع ** يقول `هذا رائع!`. انظر إلى المقطع البرمجي مرة أخرى لمعرفة الرسالة التي سيقولها **البائع** لجميع الإجابات التي ليست `جيد`.

**Tip:** 'Good' or 'GOOD' would match 'good'.

--- /feedback ---

- ()</> البائع ** لم يقل أي شيء.</p>

--- feedback ---</li> </ul>

لا ، ** البائع ** سيقول شيئًا ما دائمًا. انظر بعناية إلى المقطع البرمجي لمعرفة ما ستكون الرسالة.

--- /feedback ---

- () **البائع**سوف يقول `رائع`

--- feedback ---

لا ، **الزبون** كتب الإجابة "رائع" لكن ** البائع ** لا يقول الإجابة. انظر بعناية إلى المطقع البرمجي لمعرفة ما ستكون الرسالة.

--- /feedback ---

--- /choices ---

--- /question ---
48 changes: 48 additions & 0 deletions ar-SA/quiz1/question_3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

--- question ---

---
legend: Question 3 of 3
---

Your project is not working. What should you do?

--- choices ---

- ( ) ذعر!

--- feedback ---

هذا لن يساعد. تحتاج إلى التفكير بوضوح لإصلاح مشاكل المقطع البرمجي.

--- /feedback ---

- ( ) يستسلم

--- feedback ---

There are lots of things you could try. غالبًا ما يخطئ المبرمجون الكبار في الأمور في المرة الأولى ويتعلمون الكثير من أخطائهم.

--- /feedback ---

- (x) اقرأ المقطع البرمجي بعناية وحاول تصحيحه.

--- feedback ---

نعم. إصلاح الخلل هو جزء من البرمجة. كلما مارست المزيد من الخبرة ، أصبح من الأسهل العثور على الأخطاء وإصلاحها.

--- /feedback ---

- () تنزعج من الحاسوب

--- feedback ---

الحاسوب يفعل فقط ما نطلب منه القيام به ، لذا فإن الانزعاج منه ليس منطقيًا.

لن يساعد الانزعاج في حل المشكلة ، لأنه سيجعل التفكير أكثر صعوبة.

--- /feedback ---

--- /choices ---

--- /question ---
9 changes: 9 additions & 0 deletions ar-SA/scratch-comments.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
اكتب اسم عملك

اسم عملك

استخدم اسم كائن الحاوية

الموقع عند البداية

العميل السابق يأخذ الحقيبة
49 changes: 49 additions & 0 deletions ar-SA/scratch-translatable.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
الاسم

متجري

زبون جديد

الزبون التالي!

المجموع

هذا سيكون

شكرا للتسوق

هل ترغب في الدفع أو الإلغاء؟

دفع

إلغاء

موافق. لا مشكلة

انقر فوق العناصر التي تريدها

هل وجدت كل ما تريده اليوم؟

نعم

هذا رائع!

ربما يجب علي إضافة المزيد من العناصر إلى متجري

حقيبة

1 scoop

cone

متجر

صحيح

خاطئ

كيف حالك اليوم؟

جيد

آسف لسماع ذلك.
Binary file added ar-SA/solutions/Cool Shirts.sb3
Binary file not shown.
Binary file added ar-SA/solutions/Fresh Space Fruit.sb3
Binary file not shown.
Binary file added ar-SA/solutions/Vending machine.sb3
Binary file not shown.
Binary file added ar-SA/solutions/ice cream shop.sb3
Binary file not shown.
52 changes: 52 additions & 0 deletions ar-SA/step_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## سوف تصنع

أنشئ تطبيق متجر حيث يمكن للعميل شراء سلع من متجرك. سيكون المشروع من منظور الشخص الأول حيث يكون اللاعب عميلاً.

--- no-print ---

Click on Space Fruit to buy them and watch the total go up. عندما تكون جاهزًا ، انقر فوق شخصية كيرن للمغادرة.

+ What happens if you try to checkout before you have chosen any fruit?
+ How do you think the project knows that you haven't added any fruit yet?

<div>
** فواكه الفضاء الطازجة **: [راجع الداخل] (https://scratch.mit.edu/projects/528696418/editor) {: target = "_blank"}
<div class="scratch-preview" style="margin-left: 15px;">
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/528696418/?autostart=false" frameborder="0"></iframe>
</div>
</div>

### احصل على أفكار 💭

انقر فوق ايقونة **البائع** في قائمة الكائنات:

**Cool Shirts**: [See inside](https://scratch.mit.edu/projects/528697069/editor){:target="_blank"}
<div class="scratch-preview" style="margin-left: 15px;">
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/528697069/?autostart=false" frameborder="0"></iframe>
</div>

**Ice cream shop**: [See inside](https://scratch.mit.edu/projects/525972748/editor){:target="_blank"}
<div class="scratch-preview" style="margin-left: 15px;">
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/525972748/?autostart=false" frameborder="0"></iframe>
</div>

**، دبابيس برايد** (مشروع مجتمعي مميز)

انقر على شارات دبوس برايد لإضافتها إلى حقيبة التسوق الخاصة بك:

<div class="scratch-preview" style="margin-left: 15px;">
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/750787529/?autostart=false" frameborder="0"></iframe>
</div>

--- /no-print ---

--- print-only ---

### احصل على أفكار 💭

سوف تتخذ بعض قرارات التصميم لإنشاء شخصيتك. See inside example projects in the Scratch 2: Next customer please! Scratch studio at https://scratch.mit.edu/studios/29611454

![مثال للمشروع](images/fruit.png) ![مثال للمشروع](images/tshirt.png) ![مثال للمشروع](images/icecream.png) ![مثال للمشروع](images/vending.png)

--- /print-only ---

Loading