Συναρτήσεις Python

Συναρτήσεις Python

1st - 5th Grade

9 Qs

quiz-placeholder

Similar activities

ΠΡΟΓΡΑΜΜΑ ΖΩΓΡΑΦΙΚΗΣ

ΠΡΟΓΡΑΜΜΑ ΖΩΓΡΑΦΙΚΗΣ

1st Grade

6 Qs

Ασφάλεια στο διαδίκτυο

Ασφάλεια στο διαδίκτυο

3rd - 6th Grade

10 Qs

Προχωρημένα θέματα php

Προχωρημένα θέματα php

1st - 5th Grade

10 Qs

Διαδίκτυο

Διαδίκτυο

5th - 6th Grade

11 Qs

4 - Παραπληροφόρηση στο διαδίκτυο (Fake News)

4 - Παραπληροφόρηση στο διαδίκτυο (Fake News)

5th Grade - University

10 Qs

ΕΞΑΣΚΗΣΗ

ΕΞΑΣΚΗΣΗ

1st - 12th Grade

11 Qs

ΕΠΑΝΑΛΗΠΤΙΚΕΣ ΑΣΚΗΣΕΙΣ ΣΤΟ ΜΑΘΗΜΑ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ C

ΕΠΑΝΑΛΗΠΤΙΚΕΣ ΑΣΚΗΣΕΙΣ ΣΤΟ ΜΑΘΗΜΑ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ C

1st - 10th Grade

10 Qs

ΣΩΣΤΟ/ ΛΑΘΟΣ ΔΙΑΔΙΚΤΥΟ

ΣΩΣΤΟ/ ΛΑΘΟΣ ΔΙΑΔΙΚΤΥΟ

1st Grade

6 Qs

Συναρτήσεις Python

Συναρτήσεις Python

Assessment

Quiz

Computers

1st - 5th Grade

Medium

Created by

gregory giannis

Used 2+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Η συνάρτηση είναι ένα μέρος προγράμματος το οποίο μπορεί να επαναχρησιμοποιείται και έχει ένα ονομα.

ΣΩΣΤΟ

ΛΑΘΟΣ

Answer explanation

A function is a reusable part of a program with a name, making the statement 'ΣΩΣΤΟ' correct.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Με ποια χαρακτηριστική λέξη ορίζουμε μια συνάρτηση;

print

def

while

if

Answer explanation

The characteristic word used to define a function is 'def'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Με ποια απο τις παρακάτω επιλογές ορίζουμε την συνάρτηση ginomeno;

define ginomeno( )

def ginomeno( )

def ginomeno( ):

define ginomeno:

Answer explanation

The correct choice is 'def ginomeno( ):'. In Python, functions are defined using 'def' keyword followed by the function name and parentheses. The colon indicates the start of the function block.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Υπάρχουν συναρτήσεις στην Python που είναι ενσωματωμένες;

ΣΩΣΤΟ

ΛΑΘΟΣ

Answer explanation

Yes, there are built-in functions in Python, making the correct answer 'CORRECT'.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Η int( ) είναι μια ενσωματωμένη συνάρτηση στην Python

ΣΩΣΤΟ

ΛΑΘΟΣ

Answer explanation

The explanation confirms that the int() function is an embedded function in Python, which makes the correct answer 'ΣΩΣΤΟ'.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Ποιο θα είναι το αποτέλεσμα της συνάρτησης για τα ορίσματα (5,10)

20

15

50

500

Answer explanation

The function result is calculated by multiplying the two arguments, so 5 * 10 = 50. Therefore, the correct answer is 50.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Μπορεί μια συνάρτηση να μην έχει παραμέτρους στην παρένθεση;

ΣΩΣΤΟ

ΛΑΘΟΣ

Answer explanation

A function can indeed have no parameters in the parentheses, making the statement 'ΣΩΣΤΟ' (Correct) the accurate choice.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ορίσματα ονομάζονται οι τιμές των παραμέτρων κατα την κλήση της συνάρτησης

ΣΩΣΤΟ

ΛΑΘΟΣ

Answer explanation

The correct answer is 'ΣΩΣΤΟ' because arguments are indeed the values of the parameters when calling a function.

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Κάθε συνάρτηση τελιώνει με την εντολή return υποχρεωτικά

ΣΩΣΤΟ

ΛΑΘΟΣ

Answer explanation

The correct choice is 'ΛΑΘΟΣ' because not every function in programming needs to end with a 'return' statement.