Όλοι οι Τελεστές

You got 14 of 16 possible points.
Your score: 88%
Question 1

15 % 20

Score: 1 of 1
Your answerChoiceScoreCorrect answer

20

0

0

0
Selected

15

1
Should have chosen
Question 2

10 + 1 % 11 == 110/10

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected
True1
Should have chosen
False0

10 + 1 % 11 == 110/10 άρα 10 + 1 == 11 άρα 11 == 11 άρα True

Question 3

5 + 3 ** 2 - 3 >= 10 % 4 + 10

Score: 1 of 1
Your answerChoiceScoreCorrect answer
True0
Selected
False1
Should have chosen

5 + 3 ** 2 - 3 >= 10 % 4 + 10 άρα 5 + 9 - 3 >= 2 + 10 άρα 11 >= 12 άρα False

Question 4

8 ** 2 / 2 + 2 <= 34

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected
True1
Should have chosen
False0

8 ** 2 / 2 + 2 <= 34 άρα 64 / 2 + 2 <=34 άρα 32+2<=34 άρα 34<=34 άρα True

Question 5

10 - 10 % 11 <= (10 -10) % 10

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected
True1
Should have chosen
False0

10 - 10 % 11 <= (10 -10) % 10 ή 10 - 10 <= 0 % 10 ή 0 <= 0 ή True

Question 6

4 + 4 / 4 - 4 % 4 == 4

Score: 1 of 1
Your answerChoiceScoreCorrect answer
True0
Selected
False1
Should have chosen

4 + 4 / 4 - 4 % 4 == 4 ή 4 + 1 - 0 == 4 ή 5 == 4 ή False

Question 7

(5 > 2) and (4 <= 4)

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected
True1
Should have chosen
False0

(5 > 2) and (4 <= 4) άρα True and True άρα True

Question 8

(2%5 == 2) or (10/3 >4)

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected
True1
Should have chosen
False0

(2%5 == 2) or (10/3 >4) ή ((2 == 2) or (3 >4) ή True or False ή True

Question 9

(8 > 2 ** 3 ) and True

Score: 1 of 1
Your answerChoiceScoreCorrect answer
True0
Selected
False1
Should have chosen

(8 > 2 ** 3 ) and True άρα 8>8 and True άρα False and True άρα False

Question 10

Για τις τιμές στις λογικές μεταβλητές ή εκφράσεις, Α=True, B=False, C=True,

να επιλέξετε τη απάντηση True ή False στην παρακάτω λογική πρόταση:

A or B and not C

Score: 0 of 1
Your answerChoiceScoreCorrect answer
True0
Should have chosen
Selected
False0

A or B and not C = True or False and not True =  True or False and False = True or False = True

Question 11

2 * 4 / 3**2 + 6 <= 7- 2**2 / 2 * 2

Score: 0 of 1
Your answerChoiceScoreCorrect answer
Selected
True0
False0
Should have chosen

2 * 4 / 3**2 + 6 <= 7- 2**2 / 2 * 2 ή 8 / 9 + 6 <= 7- 4 / 2 * 2 ή 0 + 6 <= 7 - 2 * 2 ή 6<= 7- 4 ή 6 <= 3 ή False

Question 12

Για την Python 2.7, αντιστοιχείστε τα στοιχεία της στήλης Α με αυτά της στήλης Β

Score: 2 of 2
Your answerChoiceScoreCorrect answer
True7 == 7.01True
Falsestr(7)==str(7.0)1False

7 == 7.0  Συγκρίνονται δύο αριθμητικές τιμές, όχι οι τύποι των αριθμών, άρα είναι True

str(7)==str(7.0)  Συγκρίνονται τα δύο str-κείμενα  '7' == '7.0' , που δεν είναι ίδια, άρα False

Question 13

5<=2+3

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected
True1
Should have chosen
False0

True, είναι η απάντηση αφού θα προηγηθεί η πρόσθεση 5<=5
 

Question 14

10-6/4 == 1

Score: 1 of 1
Your answerChoiceScoreCorrect answer
True0
Selected
False1
Should have chosen

10-6/4 == 1,  δηλαδή 10-1 ==1 ή 9 == 1 ή False

 

Question 15

2 * 2 * 2 * 2 ! = 2 ** ( 2 ** 2 )

Score: 1 of 1
Your answerChoiceScoreCorrect answer
True0
Selected
False1
Should have chosen

2 * 2 * 2 * 2 ! = 2 ** ( 2 ** 2 ) άρα 4*2*2 != 2 **4 άρα 16 != 16 άρα False