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

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

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

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

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 4

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

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

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

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 7

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

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

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

(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

τα πήγες καλά

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

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

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