
Δομή Επιλογής στην Python

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Christos Georgiou
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Αληθές ή Ψευδές (Βάλτε Α ή Ψ) Η δομή if χρησιμοποιείται για να εκτελέσει έναν κώδικα μόνο αν μια συνθήκη είναι αληθής.
Αληθές
Ψευδές
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Συμπληρώστε τα κενά (Χρησιμοποιήστε τις λέξεις: if, elif, else)
x = int(input("Δώστε έναν αριθμό: "))
______ x > 0:
print("Θετικός αριθμός")
______ x < 0:
print("Αρνητικός αριθμός")
______:
print("Ο αριθμός είναι μηδέν")
if
else
elif
else
if
elif
if
else
if
elif
else
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Γράψτε την έξοδο του παρακάτω κώδικα python
a = 5
b = 10
if a > b:
print("a είναι μεγαλύτερο")
else:
print("b είναι μεγαλύτερο ή ίσο")
Απάντηση: ______________________
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Διορθώστε το σφάλμα στον παρακάτω κώδικα python:
if x = 10:
print "Ο αριθμός είναι 10"
else:
print "Ο αριθμός δεν είναι 10")
Διορθωμένος κώδικας python:
__________________
_________________
___________________________________
___________________________________
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Σύντομη Ανοιχτή Ερώτηση:
Δώστε ένα πραγματικό παράδειγμα όπου θα μπορούσαμε να χρησιμοποιήσουμε τη δομή επιλογής σε ένα πρόγραμμα.
Απάντηση: ____________________________________________________________________
Evaluate responses using AI:
OFF
Similar Resources on Wayground
8 questions
Quiz sobre Funciones en Programación

Quiz
•
12th Grade
10 questions
Jawab pertanyaan dibawah ini dengan benar

Quiz
•
10th Grade - University
10 questions
Δομή ακολουθίας

Quiz
•
12th Grade
7 questions
Understanding Arrays and Loops in JavaScript

Quiz
•
11th Grade - University
10 questions
Тест на if

Quiz
•
9th - 12th Grade
10 questions
python conditional statements intermediate level

Quiz
•
9th - 12th Grade
10 questions
Quiz de Comandos do Windows

Quiz
•
12th Grade
10 questions
ก่อนเรียนหน่วยที่ 5 การอัปโหลดและโฮสติ้ง

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
13 questions
8th - Unit 1 Lesson 3

Quiz
•
9th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
21 questions
SPANISH GREETINGS REVIEW

Quiz
•
9th - 12th Grade
6 questions
PRIDE Always and Everywhere

Lesson
•
12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade