← العودة إلى الأرشيف
Officiis reiciendis

Officiis reiciendis

المؤسسة
Distinctio In venia
المعلّم
Cara Tyson / Paul Gross
الدولة
Molestiae excepturi
نوع الاختبار
نشاط
الأسئلة
5

الأرشيف للتدريب على بنك الأسئلة فقط. الاختبار الرسمي المؤقت يُفتح برابط الاختبار الذي يوفّره المعلّم.

أسئلة بنك الأسئلة

#1 · اختيار متعدد · سهل · 1.00 درجة

What will be the output of the following Python expression: `print(2 + 3 * 4)`?

  • 20
  • 14
  • 10
  • 15

#2 · اختيار متعدد · متوسط · 1.00 درجة

Given the list `my_list = [1, 2, 3]`, what is the value of `my_list[1]` after executing `my_list.append(4)`?

  • 1
  • 2
  • 3
  • 4

#3 · اختيار متعدد · سهل · 1.00 درجة

Which of the following is an immutable data type in Python?

  • list
  • dictionary
  • tuple
  • set

#4 · اختيار متعدد · متوسط · 1.00 درجة

What is the output of the following Python code? ```python count = 0 for i in range(3): for j in range(2): count += 1 print(count) ```

  • 2
  • 3
  • 5
  • 6

#5 · اختيار متعدد · صعب · 1.00 درجة

Consider the following Python code: ```python def outer_func(x): def inner_func(y): return x + y return inner_func closure_obj = outer_func(10) result = closure_obj(5) print(result) ``` What will be printed to the console?

  • 5
  • 10
  • 15
  • Error