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

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

4 + 4 / 4 - 4 % 4 == 4

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

4 + 4 / 4 - 4 % 4 == 4 ή 4 + 1 - 0 == 4 ή 5 == 4 ή 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

3 - 3 ** 2 / 3 == 3

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

3 - 3 ** 2 / 3 == 3 άρα 3 - 9 / 3 == 3 άρα 3 - 3 == 3 άρα 0 ==3 άρα False

Question 4

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

Score: 1 of 1
Your answerChoiceScoreCorrect answer

Αδύνατο

0

0

0
Selected

10

1
Should have chosen
Question 5

(15 > 20 / 2) or (3**123*3132+2987-2354/2354265)

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

(15 > 20 / 2) or (3**123*3132+2987-2354/2354265) άρα (15 > 10) or (μεγάλος αριθμός) άρα True or (μεγάλος αριθμός ) άρα True

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

Question 6

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

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 8

2 * 2 * 2 * 2 ! = 2 ** ( 2 ** 2 )

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

2 * 2 * 2 * 2 ! = 2 ** ( 2 ** 2 ) άρα 4*2*2 != 2 **4 άρα 16 != 16 άρα False

Question 9

10 - 10 % 11 <= (10 -10) % 10

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

10 - 10 % 11 <= (10 -10) % 10 ή 10 - 10 <= 0 % 10 ή 0 <= 0 ή True

Question 10

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

8 ** 2 / 2 + 2 <= 34

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

8 ** 2 / 2 + 2 <= 34 άρα 64 / 2 + 2 <=34 άρα 32+2<=34 άρα 34<=34 άρα True

Question 13

8 / 2 ** 2 + 2 <= 5

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

Δηλαδή: 8 / 2 ** 2 + 2 <= 5 άρα 8 / 4 + 2 <= 5 άρα 2 +2 <=5 άρα 4 <=5 άρα True

Question 14

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

15 % 20

Score: 1 of 1
Your answerChoiceScoreCorrect answer

20

0
Selected

15

1
Should have chosen

0

0