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

You got 6 of 10 possible points.
Your score: 60%
Question 1

Αν το βρεις, πήρες 10 με τόνο!!!

10*10+10/10**10-10%10/10 != 10

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

10*10+10/10**10-10%10/10 != 10 άρα 100+ 10/(ένα με δέκα μηδενικά) - 0/10 != 10 άρα 100+ 0 - 0 != 10 άρα 100 != 10 άρα True

Question 2

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

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

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

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

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 6

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

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

Για τις τιμές στις λογικές μεταβλητές ή εκφράσεις, Α=False, B=True, C=True,

να επιλέξετε τη απάντηση True ή False στην παρακάτω λογική πρόταση

not(A or B) and C

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

not(A or B) and C = not(False or True) and True = notTrue and True = False and True = False

Question 9

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

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

Μάλλον χρειάζεται να ξαναδείς τις λεπτομέρειες Λογικοί Τελεστές 

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

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