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

You got 3 of 10 possible points.
Your score: 30%
Question 1

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

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

( 4 >= 4 / 4 ** 4 ) and ( 2 >= 2 * 2 / 2 ** 2)

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

( 4 >= 4 / 4 ** 4 ) and ( 2 >= 2 * 2 / 2 ** 2) άρα ( 4 >= 0) and ( 2 >= 2 * 2 / 4) άρα (4>=0) and (2 >=1) άρα True and True άρα True

Σκέψου: 4 / 4 ** 4 είναι 4 / (αριθμός μεγαλύτερος του 4) άρα 0 ( στην Python 2.7)

Question 4

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

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

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

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

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

Question 6

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

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

(15 > 20 / 2) or (3**123*3132+2987-2354/2354265<=238293-23213*23)

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

(15 > 20 / 2) or (3**123*3132+2987-2354/2354265<=238293-23213*23) άρα (15 > 10) or (οτιδήποτε) άρα True or (οτιδήποτε ) άρα True

True or οτιδήποτε είναι True 

Question 8

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

(8 > 2 ** 3) and True

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

(8 > 2 ** 3) and True άρα (8 > 8) and True άρα False and True άρα False

Question 10

(9 ** 8 - 7 ** 6 + 5 ** 2 / 665 == 5) and (4 / 2 == 3)

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

(9 ** 8 - 7 ** 6 + 5 ** 2 / 665 == 5) and (4 / 2 == 3) άρα οτιδήποτε and (2 == 3) άρα οτιδήποτε and False άρα False

Μήπως βιάζεσαι; Ξαναδές τις λεπτομέρειες για:  Λογικοί Τελεστές