Δομή επανάληψης: εντολή for

You got 15 of 15 possible points.
Your score: 100%
Question 1

τι θα εμφανίσει;

for i in range(-4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1, 2, 3, 4

0

τίποτα

0
Selected

-4, -3, -2, -1

1
Should have chosen
Question 2

τι θα εμφανίσει;

for i in range(2, 6, 2):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

2, 4, 6

0
Selected

2, 4

1
Should have chosen

4, 2

0
Question 3

τι θα εμφανίσει;

for i in range(-1, -1, 1):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

-1

0
Selected

τίποτα

1
Should have chosen

1

0

0

0
Question 4

τι θα εμφανίσει;

for i in range(10, 2, 3):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

10, 7, 4

0
Selected

τίποτα

1
Should have chosen

10, 8, 6, 4

0
Question 5

Τι θα εμφανίσει;

for i in range( -1 , 1):

         print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-1

0

1
Should have chosen

0

0

-1

0

-1

0

1

0
Question 6

Τι θα εμφανίσει;

for i in range(-3, 0):

     print i + 3

Score: 1 of 1
Your answerChoiceScoreCorrect answer

2

1

0

0

-1

-2

-3

0
Selected

0

1

2

 

1
Should have chosen

-3

-2

-1

0
Question 7

τι θα εμφανίσει;

for i in range(5, 15, 3):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

5

8

11

14

17

0

8

11

14

0
Selected

5

8

11

14

1
Should have chosen
Question 8

τι θα εμφανίσει;

for i in range(3):

        print i ** 3

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0

1

4

0
Selected

0

1

8

1
Should have chosen

0

1

2

0
Question 9

Μπορείτε να  εμφανίσετε τους περιττούς μονοψήφιους αριθμούς (1, 3, 5, 7, 9) με τη χρήση της:

for i in range(5):

    print _______

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

ναι γίνεται με την

print 2* i + 1

1
Should have chosen

ναι γίνεται με την

print  i  * 2

0

ναι γίνεται με την

print  i + 1

0

τώρα τι ζητάς; ανέφικτα πράγματα, εεε ;
 

0
Question 10

τι θα εμφανίσει;

for i in range(-10, -2, 2):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

-10

-8

-6

-4

-2

0

-10

-12

-14

- άπειρο

0

-8

-6

-4

 

0
Selected

-10

-8

-6

-4

 

1
Should have chosen
Question 11

τι θα εμφανίσει;

for i in range(100, 80, 10):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

90

100

0

100

0

100

90

0
Selected

τίποτα

1
Should have chosen
Question 12

τι θα εμφανίσει;

for i in range(3):

     print i + 1 , ' .Καλημέρα '

Score: 1 of 1
Your answerChoiceScoreCorrect answer

.Καλημέρα

.Καλημέρα

.Καλημέρα

0
Selected

1.Καλημέρα

2.Καλημέρα

3.Καλημέρα

1
Should have chosen

0.Καλημέρα

1.Καλημέρα

2.Καλημέρα

0

1.

2.

3.

0
Question 13

τι θα εμφανίσει;

for i in range(5):

        print i ** 2

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0

1

2

3

4

 

0

0

2

4

6

8

0
Selected

0

1

4

9

16

1
Should have chosen
Question 14

τι θα εμφανίσει;

for i in range(-5, 5, 5):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-5

0

 

1
Should have chosen

0

0

5

0

-5

0

-5

0

5

0
Question 15

τι θα εμφανίσει;

for i in range(5, 6, 5):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

5, 10

0
Selected

5

1
Should have chosen

τίποτα

0