Search Header Logo

اختبار: المتغيرات وجمل الإدخال والطباعة في Python

Authored by Roaa Bn

Others

University

Used 3+ times

اختبار: المتغيرات وجمل الإدخال والطباعة في Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هي وظيفة المتغيرات في لغة Python؟

تخزين البيانات والقيم

طباعة النصوص على الشاشة

تعريف نوع المتغير

تشغيل البرنامج

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

كيف يتم تعريف متغير في Python؟

بتحديد نوع المتغير

باستخدام دالة print()

باستخدام دالة input()

بتحديد اسم المتغير وتحديد قيمته

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هي وظيفة جملة الإدخال (Input) في Python؟

تشغيل البرنامج

استقبال الإدخال من المستخدم

طباعة النصوص على الشاشة

تعريف نوع المتغير

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هي وظيفة جملة الطباعة (print) في Python؟

تعريف نوع المتغير

استقبال الإدخال من المستخدم

طباعة النصوص على الشاشة

تشغيل البرنامج

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هو الناتج الصحيح للكود التالي: print('Hello, world!')؟

World, Hello!

Hello, world!

Python, Hello!

Hello, Python!

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هو الناتج الصحيح للكود التالي: print('Hello,', name, '! You are', age, 'years old.')؟

Hello, Python! You are 10 years old.

Hello, world! You are 5 years old.

Hello, name! You are age years old.

Hello, Ahmed! You are 25 years old.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ما هو الناتج الصحيح للكود التالي: name = input('Please enter your name: ')؟

Hello, name

Please enter your age:

Hello, world!

Please enter your name:

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?