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

You got 7 of 9 possible points.
Your score: 78%
Question 1

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

for i in range(4,4):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

4

0
Selected

τίποτα

1
Should have chosen

4, 4

0
Question 2

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

3, 3, 3

0

3

0
Question 3

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

for i in range(4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

4, 3, 2, 1

0

1, 2, 3, 4

0
Question 4

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-1, 1, 3, 5

1
Should have chosen

1, 3, 5

0

-1, 1, 3, 5, 7

0
Question 5

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

for i in range(4):

     print i -1

 

Score: 0 of 1
Your answerChoiceScoreCorrect answer

0, 1, 2, 3

0
Selected

1, 2, 3, 4

0

-1 , 0 , 1 , 2

0
Should have chosen
Question 6

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

for i in range(-2,2):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-2, -1, 0, 1

1
Should have chosen

τίποτα

0

2, 1, 0

0
Question 7

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

for i in range(10, 22, -3):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

10

0

22, 19, 16, 13

0
Question 8

Τι θα εμφανίσει, αν ο χρήστης πληκτρολογήσει τον αριθμό -5;

a=input(' Δώσε αριθμό')

for i in range(a):

     print i 

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

-5, -4, -3, -2, -1

0

-1, -2 ,-3, -4, -5

0
Question 10

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

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

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer
Selected

10, 8, 6, 4

0

10, 7, 4

0

τίποτα

0
Should have chosen