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

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

Υπολόγισε 2 ** 3 + 3 ** 2 / 3

Score: 1 of 1
Your answerChoiceScoreCorrect answer

9

0
Selected

11

1
Should have chosen

8

0
Question 2

(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 3

Η βαθμολογία ενός μαθητή για να μην περάσει ένα μάθημα είναι από 0 έως 9.5.

Η παρακάτω λογική έκφραση:

not ( vath >= 9.5 and vath <=20)

τι λογική τιμή θα πάρει αν ο βαθμός είναι 15;

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

not ( vath >= 9.5 and vath <=20) άρα not ( 15>=9.5 and 15<=20) άρα not (True and True) άρα not True άρα False

Question 4

18+20/2

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

28

1
Should have chosen

19

0
Question 5

4 / 2 + 5 == 10 - 6 / 2

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

4 / 2 + 5 == 10 - 6 / 2 άρα 2 + 5 == 10 - 3 άρα 7 == 7 άρα True

Question 6

(2 + 2 ) ** 2 == (2 ** 2 ) ** 2

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

(2 + 2 ) ** 2 == (2 ** 2 ) ** 2  άρα 4 ** 2 == 4 ** 2 άρα 16 == 16 άρα True

Question 7

υπολογίστε: 7 + 5 ** 2 // 2

Score: 1 of 1
Your answerChoiceScoreCorrect answer

χμμ.. 12 στο τετράγωνο διά 2

0

16

0
Selected

19

1
Should have chosen
Question 8

( 4 >= 4 / 4 ** 4 ) and ( 2 >= 2 * 2 / 2 ** 2)

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

( 4 >= 4 / 4 ** 4 ) and ( 2 >= 2 * 2 / 2 ** 2) άρα ( 4 >= 0) and ( 2 >= 2 * 2 / 4) άρα (4>=0) and (2 >=1) άρα True and True άρα True

Σκέψου: 4 / 4 ** 4 είναι 4 / (αριθμός μεγαλύτερος του 4) άρα 0 ( στην Python 2.7)

Question 9

15 % 20

Score: 1 of 1
Your answerChoiceScoreCorrect answer

20

0

0

0
Selected

15

1
Should have chosen
Question 10

12//16

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

0

1
Should have chosen

0.75

0

1

0
Question 11

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

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 12

(3 // 3) ** 3 < 3 + 3 // 3

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

(3 // 3) ** 3 < 3 + 3 // 3 ή 1 ** 3 < 3 + 1 ή 1 < 4 True

Question 13

3 * 3 + 3 > 3 ** 3 - 3

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

3 * 3 + 3 > 3 ** 3 - 3 άρα 9 + 3 > 27 - 3 άρα 12 > 24 άρα False

Question 14

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 15

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