0Pricing
Data Science Academy · درس

الخلايا والأنوية وترتيب التشغيل

افهم كيفية تنفيذ Jupyter notebook فعليًا.

الخلايا والأنوية وترتيب التشغيل درس مجاني في Data Science Academy على CoddyKit. هذا هو الدرس 2 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Data Science Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Data Science Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

A Notebook Is a Stack of Cells

A Jupyter notebook is built from cells, small editable boxes you fill and run one at a time. This is what makes analysis feel interactive.

Run One, See the Result

Type code in a cell, then press Shift+Enter to run it. The output appears right below, so you never lose sight of what happened.

2 + 3 * 4

The Kernel Does the Work

Behind your notebook runs a kernel, a live Python process that executes each cell and remembers everything between them.

State Carries Over

Because the kernel stays alive, a variable set in one cell is still there in the next. Run this, then use total later.

total = 100

Use It Anywhere Below

In a fresh cell you can reuse total without redefining it. The kernel kept it in memory for you, ready to build on.

total * 2

Order of Execution Matters

Cells run in the order you press run, not top to bottom. That run order is the single biggest source of confusing notebook bugs.

Read the Run Counter

The number in [ ] beside a cell shows when it last ran. Tracking that execution count tells you the true order things happened.

Out-of-Order Surprises

If you edit an early cell but skip rerunning it, later cells use stale values. Your run order no longer matches the code you see.

Restart to Get Clean

When state feels tangled, use Restart Kernel. It wipes all variables so you start from a blank, trustworthy slate.

Run All in Order

After restarting, choose Run All to execute every cell top to bottom. This proves your notebook works as a clean, repeatable story.

Edit Mode vs Command Mode

Green means you are typing inside a cell; blue means you are commanding the notebook. Esc and Enter flip between the two.

Quick Check

Your notebook gives odd results and you suspect cells ran out of order.

Recap: Cells and Kernel

You learned that cells run on a stateful kernel, that run order can fool you, and that Restart plus Run All keeps a notebook honest. 👍

الأسئلة الشائعة

هل درس «الخلايا والأنوية وترتيب التشغيل» مجاني؟

نعم — نص درس «الخلايا والأنوية وترتيب التشغيل» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Data Science Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Data Science Academy 4 دروس في المجموع.

ماذا ستتعلم في «الخلايا والأنوية وترتيب التشغيل»؟

افهم كيفية تنفيذ Jupyter notebook فعليًا. تتمرن على Data Science Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Data Science Academy؟

لا تُشترط خبرة سابقة. Data Science Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 2 من أصل 4.

كم من الوقت يستغرق درس «الخلايا والأنوية وترتيب التشغيل»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Data Science Academy هذا؟

نعم. كل درس في Data Science Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. تثبيت Python بالطريقة السهلة
  2. الخلايا والأنوية وترتيب التشغيل
  3. ملاحظات Markdown بجانب التعليمات البرمجية
  4. استورد وافحص وكرّر
← العودة إلى Data Science Academy