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

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

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

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, 1, 3, 5, 7

0

1, 3, 5

0
Question 2

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

for i in range(1,4):

        print i ** i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1

4

8

0
Selected

1

4

27

1
Should have chosen

1

4

9

0
Question 3

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

τίποτα

0

-6, -3, 0, 3, 6

0
Selected

-6, -3, 0, 3

1
Should have chosen

3, 6

0
Question 4

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

τίποτα

1
Should have chosen

100

90

0

100

0

90

100

0
Question 5

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

for i in range(50,90):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

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

1
Should have chosen

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

0

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

0

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

0
Question 6

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

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 7

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

for i in range(5):

    print _______

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

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

print i * 2

1
Should have chosen

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

print i + 2

0

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

0
Question 8

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

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 9

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

for i in range(-4,0):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

τίποτα

0

1, 2, 3, 4

0
Selected

-4, -3, -2, -1

1
Should have chosen
Question 10

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

for i in range(1):

     print 'Python'

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

Python

1
Should have chosen

0

0
Question 11

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

for i in range(0):

      print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

1

0

0

0
Selected

τίποτα
 

1
Should have chosen

error *^$%#&^*()_+()*^&%(&*%$*(&

 

0
Question 12

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

for i in range( -1 , 1):

         print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-1

0

1
Should have chosen

-1

0

0

0

-1

0

1

0
Question 13

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

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

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

από το -8 έως και το -2

1
Should have chosen

από το -8 έως και το -1

0

από το -8 έως και το 0

0

από το -8 έως και το 2

0
Question 14

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

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

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

-5

-4

-3

-2

1
Should have chosen

-5

-4

-3

0

-5

-4

-3

-2

-1

0

0

-5

-4

-3

-2

-1

0
Question 15

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

for i in range(2,-2):

     print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

2

0

-2

-1

0

1

0
Selected

τίποτα
 

1
Should have chosen

2

1

0

-1

0