εντολή for - range(από, έως)

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

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

for i in range(2,-2):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

2

1

0

-1

0
Selected

τίποτα
 

1
Should have chosen

-2

-1

0

1

0

2

0
Question 2

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

for i in range(-4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1, 2, 3, 4

0
Selected

-4, -3, -2, -1

1
Should have chosen

τίποτα

0
Question 3

Πόσες επαναλψήψεις θα κάνει;

for i in range(50,90):

     print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

που να τις μετρήσω τώρα...

0

50 επαναλήψεις

0
Selected

39 επαναλήψεις

0

40 επαναλήψεις

0
Should have chosen
Question 4

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

for i in range(5,6):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

5, 6

0
Selected

5

1
Should have chosen
Question 5

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

for i in range(5,5):

     print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

5

0
Selected

0

0

55

0

τίποτα
 

0
Should have chosen
Question 6

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

for i in range(-3, 0):

     print i + 3

Score: 1 of 1
Your answerChoiceScoreCorrect answer

-1

-2

-3

0
Selected

0

1

2

 

1
Should have chosen

2

1

0

0

-3

-2

-1

0
Question 7

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

for i in range(5,3):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

3

4

5

0

5

4

0

3

4

0
Question 8

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

for i in range(4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1, 2, 3, 4

0

4, 3, 2, 1

0
Selected

τίποτα

1
Should have chosen
Question 9

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

for i in range(5,9):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

5, 6, 7, 8, 9

0
Selected

5, 6, 7, 8

1
Should have chosen
Question 10

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

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

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

-5

-4

-3

-2

-1

0

-5

-4

-3

0
Selected

-5

-4

-3

-2

1
Should have chosen

-5

-4

-3

-2

-1

0

0
Question 11

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

for i in range( -1 , 1):

         print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0

0

-1

0

1

0

-1

0
Selected

-1

0

1
Should have chosen
Question 12

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

for i in range(-2,2):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

-2, -1, 0, 1

0
Should have chosen

2, 1, 0

0
Selected

τίποτα

0
Question 13

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

for i in range(1,4):

        print i ** i

Score: 0 of 1
Your answerChoiceScoreCorrect answer
Selected

1

4

9

0

1

4

8

0

1

4

27

0
Should have chosen
Question 14

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

for i in range(2,6):

     print 7 - i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1

2

3

4
 

0

4

3

2

1

0
Selected

5

4

3

2

1
Should have chosen

2

3

4

5

0
Question 15

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

for i in range(7,9):

     print i

print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

7

8

8

0
Should have chosen
Selected

7

8

0

7

8

9

0