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

You got 12 of 15 possible points.
Your score: 80%
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

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

5 + 3 ** 2 == 4 ** 2 / 2 + 2 * 3

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

5 + 3 ** 2 == 4 ** 2 / 2 + 2 * 3 άρα 5 + 9 == 16 / 2 + 6 άρα 14 == 8 + 6 άρα 14 == 14 άρα True

Question 4

Υπολόγισε 2 ** 3 + 3 ** 2 / 3

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

11

1
Should have chosen

9

0

8

0
Question 5

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

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

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

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

Question 6

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 7

15 % 20

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0

0

20

0
Selected

15

1
Should have chosen
Question 8

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

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 10

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

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

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

Question 12

Υπολογίστε:
10 % (234**23423540982)

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0

0
Selected

10

1
Should have chosen

Αδύνατο

0
Question 13

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

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 14

5 + 3 ** 2 - 3 >= 10 % 4 + 10

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

5 + 3 ** 2 - 3 >= 10 % 4 + 10 άρα 5 + 9 - 3 >= 2 + 10 άρα 11 >= 12 άρα False

Question 15

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

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

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

για 

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

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

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