Search Header Logo

الارقام العشوائية1

Authored by Amr Ammar

Computers

12th Grade

Used 39+ times

الارقام العشوائية1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

تستخدم الجملة البرمجية التالية في

x= random.random()

print(x)

اختيار عدد عشري عشوائي بين

0 , 1

اختيار عدد صحيح عشوائي بين

0 , 1

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

تستخدم الجملة البرمجية التالية في

x= random.randint(10, 15)

print(x)

طباعة رقم عشري بين 10-15

طباعة رقم صحيح عشوائي

بين10-15

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ما هي المخرجات الصحيحة الممكنة للبرنامج الحالي

x= random.randint(3, 7)

print(x)

4

10

8

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ما هي المخرجات الصحيحة الممكنة للبرنامج الحالي

x= random.randint(4, 6)

print(x)

4

4.5

6.5

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ما هي المخرجات الصحيحة الممكنة للبرنامج الحالي

import random

 x= random.randrange(3, 30)

 print(x)

طباعة الارقام من 3 الى 30

طباعة الارقام من 3 الى 29

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ما هي المخرجات الصحيحة الممكنة للبرنامج الحالي

import random

 x= random.randrange(1, 10)

 print(x)

5

10

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?

Discover more resources for Computers