for σε while

You got 1 of 6 possible points.
Your score: 17%
Question 1

Μετατρέψτε την for σε ισοδύναμη while

for i in range(3,13):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

i=3

while i>13:

    print i

    i=i+1 

    

0

i=13

while i<3:

    print i

    i=i+1 

0

i=3

while i<13:

    print i

    i=i+1

0
Should have chosen
Selected

i=3

while i<13:

    i=i+1 

    print i

    

0
Question 2

Μετατρέψτε την for σε ισοδύναμη while

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

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

i=10

while i<5:

    print i

    i=i-5 

    

0

i=10

while i>5:

    print i

    i=i+5 

0
Selected

i=10

while i>5:

    i=i-5 

    print i

    

0

i=10

while i>5:

    print i

    i=i-5

0
Should have chosen
Question 3

Μετατρέψτε την for σε ισοδύναμη while

for i in range(50,40,10):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

i=50

while i<10:

    print i

    i=i+40 

0
Selected

i=50

while i>40:

    i=i+10

    print i

    

0

i=50

while i>40:

    print i

    i=i+10

    

0

i=50

while i<40

    print i

    i=i+10

0
Should have chosen
Question 4

Μετατρέψτε την for σε ισοδύναμη while

for i in range(12,13):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

i=13

while i<12:

    print i

    i=i+1 

0

i=12

while i<13:

    print i

    i=i+1

0
Should have chosen
Selected

i=12

while i<13:

    i=i+1 

    print i

    

0

i=12

while i>13:

    print i

    i=i+1 

    

0
Question 5

Μετατρέψτε την for σε ισοδύναμη while

for i in range(20,40,-10):

    print i

Score: 0 of 1
Your answerChoiceScoreCorrect answer

i=10

while i<20:

    print i

    i=i+40 

0
Selected

i=20

while i<40:

    print i

    i=i+10

    

0

i=20

while i<40:

    i=i-10

    print i

    

0

 

i=20

while i>40:

    print i

    i=i-10

    

0
Should have chosen
Question 6

Μετατρέψτε την for σε ισοδύναμη while

for i in range(10):

    print i

Score: 1 of 1
Your answerChoiceScoreCorrect answer

i=0

while i>10:

    print i

    i=i+1 

    

0
Selected

i=0

while i<10:

    print i

    i=i+1

1
Should have chosen

i=0

while i<10:

    i=i+1 

    print i

    

0

i=10

while i<0:

    print i

    i=i+1 

0