انتقل إلى المحتوى
أمين أبوزيد
BEG-056

مساعدو البرمجة بالذكاء الاصطناعي للمتعلمين

  • 5 درس
  • 50 دقيقة قراءة
  • 2 ساعة تدريب (تقدير)
في هذه الصفحة 8 موضوعات

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

نظرة عامة

الموضوعات

  • كيف تعمل نماذج LLM مفاهيمياً
  • الرموز (tokens) والتنبؤ
  • الهلوسة (hallucination)
  • طرح أسئلة جيدة
  • شرح الأخطاء
  • عدم لصق الأسرار أبداً
  • قواعد التعلّم بالمحاولة أولاً

تعلّم أولًا

50 دقيقة قراءة · 2 ساعة تدريب (تقدير)

مخرجات التعلم

  1. Explain at a conceptual level how a large language model produces text (tokens, next-token prediction, training data) and why that makes it fluent but not always correct.
  2. Recognize hallucinations: invented methods, wrong APIs, confident but incorrect explanations.
  3. Ask an assistant a good question: the goal, the code, the exact error, and what was already tried.
  4. Use an assistant to explain an error or a concept after trying first, and turn the answer into their own understanding.
  5. Follow safe-use rules: never paste passwords, keys, or personal data; follow course and employer policies.

الدروس

  1. 01ما هو مساعد البرمجة بالذكاء الاصطناعي فعلاً11 د قراءة
  2. 02لماذا يبدو المساعدون على صواب وهم أحياناً مخطئون9 د قراءة
  3. 03طرح أسئلة جيدة: الهدف والكود والخطأ والمحاولات9 د قراءة
  4. 04التعلّم بالذكاء الاصطناعي دون تفويت التعلّم11 د قراءة
  5. 05عرض عملي: استخدام مساعد لفهم stack trace ثم التحقق منه10 د قراءة

المختبر والتمارين

Lab

BEG-056-LAB1 · Explain, don't copy

Outcomes: 1–5 · Time: ~1.5 h Use three bugs from the BEG-018-LAB1 bug hunt. For each:

  1. Write your own hypothesis first.
  2. Ask an assistant using goal, code, exact error, and what you tried (no secrets or personal data).
  3. Confirm or reject its answer with the debugger or a test.
  4. Record one case where the assistant was wrong or incomplete.

Acceptance: written log per bug with your hypothesis, the assistant's answer, and the evidence that settled it.

Exercises (assessment: short quiz plus the lab log)

IDOutcomeTask
BEG-056-EX011In five sentences, explain tokens, next-token prediction, and training data to a friend.
BEG-056-EX022Given three assistant answers (provided), mark which contain an invented method or wrong claim and show how you checked.
BEG-056-EX033Rewrite the weak question "my code doesn't work, help" as a question with goal, code, error, and attempts.
BEG-056-EX044After trying yourself, ask an assistant to explain one exception; then explain it back in your own words without looking.
BEG-056-EX055Mark each as safe or unsafe to paste: a stack trace, an API key, a customer email, a 10-line method.
أظهر الحلول
  • EX01 The model is trained on large text and code; text is split into tokens; it predicts the next token repeatedly; so it is fluent but may be wrong.
  • EX02 Verify by compiling, running, and reading the official documentation; invented methods are rejected by the compiler.
  • EX03 For example: "Goal: sum the grades. Code: (method). Error: ArithmeticException at line 8. Tried: printed count, it is 0."
  • EX04 Open-ended; a good answer states the cause, the line, and the fix in the learner's own words.
  • EX05 Stack trace: usually safe if it contains no secrets (check first); API key: unsafe; customer email: unsafe (personal data); 10-line method: safe if it contains no secrets and policy allows it.
  • Outcomes 1 and 5 are also covered by the quiz; outcome 2 by the lab record of a wrong answer.

الاختبار

Outcomes: O1 how LLMs work · O2 hallucinations · O3 good questions · O4 learning with AI · O5 safe use.

اختبار ذاتي لك: لا توجد درجات، ولا يُحفظ أو يُرسل أي شيء. اختر إجابة ثم تحقق منها، ويمكنك المحاولة مرة أخرى كما تشاء.

  1. 1An LLM produces text by:O1
  2. 2A token is:O1
  3. 3Why can an assistant be fluent but wrong?O1
  4. 4A hallucination is:O2
  5. 5The best way to check a suggested method exists:O2
  6. 6A good question includes:O3
  7. 7For the error part of your question, paste:O3
  8. 8Before asking, you should:O4
  9. 9After getting an answer, you should:O4
  10. 10Never paste into a chat:O5

الجزء العملي

Lab log for three bugs, including one case where the assistant was wrong or incomplete, plus this quiz. Pass: quiz at least 8/10 and a log showing hypothesis, assistant answer, and settling evidence for each bug.

أخطاء شائعة

Asking before trying; pasting whole projects without the error; trusting an answer because it is confident; pasting secrets into a chat.

التقييم

Short quiz on how LLMs work and safe use, plus the lab log.

الصلة بالمسار الوظيفي

The habit of verifying AI output is expected from the first day of a junior role; it deepens in JNR-055 and MID-072.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.