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

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

10 + 4**2 * 2**2 < 6 % 16 // 6 * 6

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

10 + 4**2 * 2**2 < 6 % 16 // 6 * 6 ή 10 + 16 * 4 < 6 // 6 *6  ή  10 + 64 < 1 * 6 ή 74 < 6 ή False

Question 2

5 + 5 % (5 + 5 // 5) == 5 - 5 % 5 * 5 + 5

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

5 + 5 % (5 + 5 // 5) == 5 - 5 % 5 * 5 + 5 ή 5 + 5 % ( 5 + 1) == 5 - 0 * 5 + 5 ή 5 + 5 % 6 == 10 ή 10 == 10 ή True

Question 3

10 // 2 + 5 == math.sqrt (100)

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

10 // 2 + 5 == math.sqrt (100) άρα 5+5 == 10 άρα 10 == 10 άρα True

Question 4

Για την 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 5

ένας αριθμός α που διαιρείται με το τρία μπορεί να αναπαρασταθεί με την ακόλουθη έκφραση:

a % 3 == 0

αν δοθεί ως α η τιμή 16, τότε η παραπάνω παράσταση είναι:

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

a % 3 == 0 άρα 16 % 3 == 0 άρα 1 == 0 άρα False

Question 6

6 + 1 - 3 % 4 == 2 ** 2

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

6 + 1 - 3 % 4 == 2 ** 2 άρα 6 + 1 - 3 == 4 άρα 4==4 άρα True

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

(18+20)/2

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

19

1
Should have chosen

28

0
Question 9

(12 > 11) or (3 ** 3 + 4 // 16 + 8 ** 2 * 5 - 4 == 4)

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

(12 > 11) or (3 ** 3 + 4 // 16 + 8 ** 2 * 5 - 4 == 4) άρα True or οτιδήποτε θα είναι True. (Δε χρειάζεται άλλη απόδειξη)

Τυπικά:  True or (27 + 0 + 320 - 4 == 4)  άρα True or (343==4) άρα True or Fasle άρα True

Question 10

3 - 3 ** 2 / 3 == 3

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

3 - 3 ** 2 / 3 == 3 άρα 3 - 9 / 3 == 3 άρα 3 - 3 == 3 άρα 0 ==3 άρα False

Question 11

15 % 6

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

3

1
Should have chosen

2

0
Question 12

8 / 2 ** 2 + 2 <= 5

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

Δηλαδή: 8 / 2 ** 2 + 2 <= 5 άρα 8 / 4 + 2 <= 5 άρα 2 +2 <=5 άρα 4 <=5 άρα True

Question 13

10 + 1 % 11 == 110/10

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

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

Question 14

2/4 ίδιο με 2/4.0 ;

Score: 2 of 1
Your answerChoiceScoreCorrect answer
0.52/4.010.5
02/410
Question 15

(9 ** 8 - 7 ** 6 + 5 ** 2 // 665 == 5) and (4 / 2 == 3)

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

(9 ** 8 - 7 ** 6 + 5 ** 2 // 665 == 5) and (4 / 2 == 3) άρα οτιδήποτε and (2 == 3) άρα οτιδήποτε and False άρα False