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

You got 12 of 15 possible points.
Your score: 80%
Question 1

(3 + 4 / 2**2  >= 4 ) and (5 * 2 -10 / 2 == 0)
 

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

(3 + 4 / 2**2  >= 4 ) and (5 * 2 -10 / 2 == 0) ή (3+4/4>=4)  and (10-5==0) ή (4>=4) and (5==0) ή True and False ή False

Question 2

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

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

Score: 0 of 1
Your answerChoiceScoreCorrect answer
True0
Should have chosen
Selected
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 3

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

(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

Question 5

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

Score: 0 of 1
Your answerChoiceScoreCorrect answer
True0
Should have chosen
Selected
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 6

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

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

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

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

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

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

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 9

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 10

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

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

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

Question 11

7+ 7 / 7 ** 7 == 7 / 7 * 7
 

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

7+ 7 / 7 ** 7 == 7 / 7 * 7 άρα 7 + 7 / (κάτι πολύ μεγαλύτερο του 7) == 1*7 άρα 7 + 0 ==  7 άρα 7 == 7 άρα True

Question 12

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

5 % 6 + 5 != 2**3 +12 /5

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

5 % 6 + 5 != 2**3 +12 /5 ή 5 + 5 != 8 + 2 ή 10!= 10 ή False

Question 14

15 % 20

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

15

1
Should have chosen

20

0

0

0
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

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

για 

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

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

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