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

You got 9 of 10 possible points.
Your score: 90%
Question 1

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

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

(3 / 2+5 == 6 ) or (14 % 3 - 2 / 3 < 6)
 

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

(3/2+5 == 6 ) or (14 % 3 - 2 /3 < 6) ή (1+5==6) or (2 - 0 <6) ή (6 == 6)  or (2<6) ή True or True ή True

Question 4

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 5

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

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

Ποια θα είναι η λογική τιμή για την παρακάτω λογική έκφραση;

124215 / 2354 ** 235423465 == 1 or 10>=10

Ο μαθητής Πέτρος είχε την παρακάτω απορία:

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

124215 / 2354 ** 235423465 == 1 or 10>=10 άρα οτιδήποτε or True άρα True 

χμμμ, ο φίλος μας ο υπολογιστής θα κουραζόταν άδικα και θα έκανε άσκοπα την ΓΙΓΑΝΤΙΑΑΑΑΑΑΑΑ ΠΡΑΞΗ πριν το or

την χρήσιμη αυτή  απορία τη διατύπωσε πολύ εύστοχα ο μαθητής Πέτρος,

ίσως οι υπολογιστές μας έχουν πολύ δρόμο ακόμα για να βελτιωθούν!!

Question 7

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

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

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

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

τα πήγες καλά

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

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

αν είσαι έτοιμος δοκίμασε: Όλοι οι Τελεστές