تطوير تطبيقات البرمجة الشاملة باستخدام تخزين البيانات المركزي
10 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

ما هو الاسم الآخر لمصفوفات ذات بُعد واحد؟

  • مصفوفات متعددة الأبعاد
  • قوائم متسلسلة
  • جداول
  • متجهات (correct)

كيف نقوم بتعريف مصفوفة في لغة C#؟

  • بتحديد طول ثابت للمصفوفة
  • بإعطاء قيم ابتدائية لكل عنصر
  • باستخدام الكلمة الرئيسية new لتخصيص الذاكرة (correct)
  • باستخدام الكلمة الرئيسية array

ما هي خاصية المصفوفات في لغة C# التي تحددها عند إنشائها؟

  • الحجم الديناميكي
  • القابلية للتغيير
  • الحجم المتغير
  • الطول الثابت (correct)

ما هو اسم المثال المذكور في النص لتخصيص مصفوفة من سبع عناصر من نوع string؟

<p>Jagged Array (B)</p> Signup and view all the answers

"إذا تم تحديد طول المصفوفة في C#، فهل يُمكن تغييره بعد ذلك؟"

<p>لا، لا يُمكن تغييره بعد التحديد (D)</p> Signup and view all the answers

What are arrays in programming languages?

<p>Collections of variables known as elements (D)</p> Signup and view all the answers

How are array elements numbered in C#?

<p>0, 1, 2, … N-1 (D)</p> Signup and view all the answers

What is true about the length of an array in C#?

<p>It is set at the time of instantiation and cannot be changed (D)</p> Signup and view all the answers

What are one-dimensional arrays also known as?

<p>Vectors (A)</p> Signup and view all the answers

How do we declare an array in C#?

<p>Using the keyword 'new' to allocate memory (D)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser