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

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

15 % 6

Score: 1 of 1
Your answerChoiceScoreCorrect answer

2

0
Selected

3

1
Should have chosen
Question 3

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 4

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

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

not(A or B) and C

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

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

Question 5

5<=2+3

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

True, είναι η απάντηση αφού θα προηγηθεί η πρόσθεση 5<=5
 

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

υπολογίστε: 7 + 5 ** 2 // 2

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

19

1
Should have chosen

16

0

χμμ.. 12 στο τετράγωνο διά 2

0
Question 8

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 9

18+20/2

Score: 1 of 1
Your answerChoiceScoreCorrect answer

19

0
Selected

28

1
Should have chosen
Question 10

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

(2 + 2 ) ** 2 == (2 ** 2 ) ** 2

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

(2 + 2 ) ** 2 == (2 ** 2 ) ** 2  άρα 4 ** 2 == 4 ** 2 άρα 16 == 16 άρα True

Question 12

10 % (33 ** 12345)

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

10

1
Should have chosen

0

0

άπειρο ...

0
Question 13

5 + 5 % (5 + 5 // 5) == 5 - 5 % 5 * 5 + 5

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

5 + 5 % (5 + 5 // 5) == 5 - 5 % 5 * 5 + 5 ή 5 + 5 % ( 5 + 1) == 5 - 0 * 5 + 5 ή 5 + 5 % 6 == 10 ή 10 == 10 ή True

Question 14

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

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