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

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

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

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

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

Question 2

(17-1- 4**2) % 5

Score: 0 of 1
Your answerChoiceScoreCorrect answer

5

0

0

0
Should have chosen
Selected

Δε γίνεται

0
Question 3

18+20/2

Score: 1 of 1
Your answerChoiceScoreCorrect answer

19

0
Selected

28

1
Should have chosen
Question 4

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

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

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

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

Question 6

3 + 3 * 3 - 3 / 3 ** 3 == 3 * 3 + 3

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

3 + 3 * 3 - 3 / 3 ** 3 == 3 * 3 + 3   άρα 3 + 9 - 3 / 27 == 9 + 3 άρα 3 + 9 - 0 == 9 + 3 άρα 12 == 12 άρα True

Question 7

a % 3 == 0 or a % 5 == 0

αν δοθεί ως a η τιμή 12, ποια θα είναι η λογική τιμή της παραπάνω λογικής έκφρασης;

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

a % 3 == 0 or a % 5 == 0 άρα 12 % 3 == 0 or 12 % 5 == 0 άρα 0 == 0 or 2 == 0 άρα True or False άρα True

Question 8

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

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

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

Question 9

Η βαθμολογία ενός μαθητή για να μην περάσει ένα μάθημα είναι από 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 10

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 11

(2 + 2 ** 2 >= 2 * 3) and ( 3 * 2 - 2 / 3 == 6 ** 2 / 6)
 

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

(2 + 2 ** 2 >= 2 * 3) and ( 3 * 2 - 2 / 3 == 6 ** 2 / 6) άρα (2 + 4 >= 6) and ( 6 - 0 == 36 / 6) άρα ( 6 >= 6) and (6 == 6) άρα True and True άρα True

Question 12

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

Score: 1 of 1
Your answerChoiceScoreCorrect answer
True0
Selected
False1
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 13

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

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

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

Question 14

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

Μάλλον χρειάζεται να ξαναδείς τις λεπτομέρειες:

για 

Αριθμητικοί Τελεστές

Λογικοί Τελεστές

Συγκριτικοί Τελεστές