Search Header Logo

الدوال المضمنة2

Authored by waleed mohammed

Computers

10th Grade

Used 2+ times

الدوال المضمنة2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هي الدالة التي تُستخدم لاستخراج الرقم الموجب من قائمة الأرقام في الكود المرفق؟

round()



abs()


min()


max()


2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هو موقع العنصر

"Ali"

في قائمة

Mylist

في الكود المرفق؟


0

1

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ماذا يحدث عند تنفيذ الأمر

Mylist.append("Qassim")


يتم حذف عنصر

"Qassim"

من قائمة

Mylist.


يتم ترتيب قائمة

Mylist

بحسب الأبجدية.


يتم إضافة عنصر

"Qassim"

إلى قائمة

Mylist.


يتم حذف أول عنصر في قائمة Mylist.


4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ماذا يحدث عند تنفيذ الأمر

Mylist.remove("mohammed")

في الكود المرفق؟


يتم حذف عنصر "mohammed"

من قائمة

Mylist.


يتم إضافة عنصر "mohammed"

إلى قائمة

Mylist.


يتم حذف أول عنصر في قائمة Mylist.


5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

ماذا يحدث عند تنفيذ الأمر

Mylist.pop(2)

في الكود المرفق؟


يتم حذف آخر عنصر في قائمة Mylist.


يتم حذف العنصر في الموقع 2 من قائمة

Mylist.


يتم حذف عنصر

"Qassim"

من قائمة

Mylist.


Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?