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

You got 14 of 15 possible points.
Your score: 93%
Question 1

10-6//4 == 1

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

10-6//4 == 1,  δηλαδή 10-1 ==1 ή 9 == 1 ή False

 

Question 2

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

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

A or B and not C

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

A or B and not C = True or False and not True =  True or False and False = True or False = True

Question 3

12//16

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

0

1
Should have chosen

0.75

0

1

0
Question 4

10 // 2 + 5 == math.sqrt (100)

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

10 // 2 + 5 == math.sqrt (100) άρα 5+5 == 10 άρα 10 == 10 άρα True

Question 5

3 * 3 + 3 > 3 ** 3 - 3

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

3 * 3 + 3 > 3 ** 3 - 3 άρα 9 + 3 > 27 - 3 άρα 12 > 24 άρα False

Question 6

(18+20)/2

Score: 1 of 1
Your answerChoiceScoreCorrect answer

28

0
Selected

19

1
Should have chosen
Question 7

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

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

2 % 2 <= 2 - 2

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

2 % 2 <= 2 - 2 ή 0 <= 0 ή True

Question 10

(17-1- 4**2) % 5

Score: 1 of 1
Your answerChoiceScoreCorrect answer
Selected

0

1
Should have chosen

Δε γίνεται

0

5

0
Question 11

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 12

10 + 4**2 * 2**2 < 6 % 16 // 6 * 6

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

10 + 4**2 * 2**2 < 6 % 16 // 6 * 6 ή 10 + 16 * 4 < 6 // 6 *6  ή  10 + 64 < 1 * 6 ή 74 < 6 ή False

Question 13

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

5<=2+3

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

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

Question 15

8 + 3 ** 2 / 3 >= 11

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

Κοίτα: 8 + 3 ** 2 / 3 >= 11 άρα 8+9/3>=11 άρα 8+3>==1 άρα 11>=11 άρα True