Skip to content · ⁨الانتقال إلى المحتوى⁩

Text files · ⁨ملفات النص⁩

English

A file keeps data after the program stops

  • The 2026–2028 syllabus (section 8.3) stores data in a text file.
  • You open the file, read or write one item, then close it.
  • This course keeps the file in memory for the one run, so you can see the result.
العربية

A file keeps data after the program stops (الملف يحتفظ بالبيانات بعد توقف البرنامج)

  • المنهج لعامي 2026–2028 (القسم 8.3) يخزن البيانات في text file (ملف نصي).
  • أنت open (تفتح) الملف، read (تقرأ) أو write (تكتب) عنصراً واحداً، ثم close (تغلقه).
  • هذا المسار يحافظ على الملف في الذاكرة خلال التشغيل الواحد، حتى تتمكن من رؤية النتيجة.

Handout · ⁨ورقة عمل⁩

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP