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

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

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

for i in range(0):

     print i 

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

0

0
Question 2

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

for i in range(10):

     print i+1

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

1, 2, 3, 4, 5, 6, 7, 8, 9, 10 

1
Should have chosen

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

0
Question 3

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

for i in range(5,9):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

5, 6, 7, 8

1
Should have chosen

5, 6, 7, 8, 9

0
Question 4

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

2, 4, 6

0

4, 2

0
Selected

2, 4

1
Should have chosen
Question 5

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

for i in range(100, 10, -50):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

100, 50

1
Should have chosen

100, 50, 0

0

10, 60

0
Question 6

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

for i in range(-2,2):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

τίποτα

0

2, 1, 0

0
Selected

-2, -1, 0, 1

1
Should have chosen
Question 7

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

for i in range(4,4):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

4

0

4, 4

0
Selected

τίποτα

1
Should have chosen
Question 8

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

-1, 1, 3, 5, 7

0
Selected

-1, 1, 3, 5

1
Should have chosen

1, 3, 5

0
Question 9

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

for i in range(4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

4, 3, 2, 1

0

1, 2, 3, 4

0
Selected

τίποτα

1
Should have chosen
Question 10

Μπορείτε να  εμφανίσετε τους άρτιους μονοψήφιους αριθμούς (0, 2, 4, 6, 8) με τη χρήση της:

for i in range(5):

    print _______

Score: 1 of 1
Your answerChoiceScoreCorrect answer

Φυσικά δε γίνεται
 

0
Selected

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

print i * 2

1
Should have chosen

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

print i + 2

0