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

You got 13 of 16 possible points.
Your score: 81%
Question 1

Για την Python 2.7, αντιστοιχείστε τα στοιχεία της στήλης Α με αυτά της στήλης Β

Score: 1 of 2
Your answerChoiceScoreCorrect answer
False7 == 7.00True
Falsestr(7)==str(7.0)1False

7 == 7.0  Συγκρίνονται δύο αριθμητικές τιμές, όχι οι τύποι των αριθμών, άρα είναι True

str(7)==str(7.0)  Συγκρίνονται τα δύο str-κείμενα  '7' == '7.0' , που δεν είναι ίδια, άρα False

Question 2

3-3*2**2/4/5

Score: 0 of 1
Your answerChoiceScoreCorrect answer

3

0
Should have chosen
Selected

0

0

2

0
Question 3

(2 + 2 ** 2 >= 2 * 3) and ( 3 * 2 - 2 / 3 == 6 ** 2 / 6)
 

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

(2 + 2 ** 2 >= 2 * 3) and ( 3 * 2 - 2 / 3 == 6 ** 2 / 6) άρα (2 + 4 >= 6) and ( 6 - 0 == 36 / 6) άρα ( 6 >= 6) and (6 == 6) άρα True and True άρα True

Question 4

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 5

5 % 6 + 5 != 2**3 +12 /5

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

5 % 6 + 5 != 2**3 +12 /5 ή 5 + 5 != 8 + 2 ή 10!= 10 ή False

Question 6

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 7

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 8

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

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 10

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

Score: 1 of 1
Your answerChoiceScoreCorrect answer

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

0

16

0
Selected

19

1
Should have chosen
Question 11

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

Score: 1 of 1
Your answerChoiceScoreCorrect answer

0

0
Selected

10

1
Should have chosen

Αδύνατο

0
Question 12

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

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

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

Question 13

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

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

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

Question 14

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 15

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