
Bedingungen in Code
Authored by Robin Strasser
English
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist eine Bedingung in der Informatik?
Eine Bedingung in der Informatik ist eine mathematische Formel, die immer wahr ist.
Eine Bedingung in der Informatik ist eine Art von Computerhardware.
Eine Bedingung in der Informatik ist eine visuelle Darstellung von Daten.
Eine Bedingung in der Informatik ist eine logische Aussage, die wahr oder falsch sein kann und die den Ablauf eines Programms steuert.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie wird eine if-Anweisung in Python geschrieben?
if (condition) then code_block
if condition: block_of_code
if (condition) { code_block }
if condition: code_block
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Welche Schlüsselwörter werden in if-Bedingungen verwendet?
elseif
else
if, else if, else
if
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was passiert, wenn die Bedingung in einer if-Anweisung nicht erfüllt ist?
Das Programm stürzt ab
Der Code im if-Zweig wird ausgeführt
Die Bedingung wird ignoriert
Der Code im else-Zweig (falls vorhanden) wird ausgeführt oder der Programmfluss geht direkt nach der if-Anweisung weiter.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie können Sie prüfen, ob zwei Variablen gleich sind?
variable1 == variable2
variable1 != variable2
variable1 = variable2
variable1 === variable2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Was ist der Zweck einer else-Anweisung in Verbindung mit if?
Die else-Anweisung wird nur bei bestimmten Bedingungen ausgeführt
Die else-Anweisung bietet eine Möglichkeit, Code auszuführen, wenn die Bedingung im if-Teil falsch ist.
Die else-Anweisung wird ignoriert und hat keinen Einfluss auf den Codefluss
Die else-Anweisung wird vor dem if-Block ausgeführt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie können Sie prüfen, ob eine Zahl größer als eine andere ist?
Durch direkten Vergleich der beiden Zahlen.
Durch Subtraktion der beiden Zahlen.
Durch Multiplikation der beiden Zahlen.
Durch Addition der beiden Zahlen.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
The third conditional
Quiz
•
8th Grade
20 questions
LGS QUIZ UNIT 4 COMMUNICATION
Quiz
•
8th Grade
20 questions
Research 101
Quiz
•
6th - 12th Grade
10 questions
"The Rule of Names"
Quiz
•
8th Grade
10 questions
Diary of a Part-time Indian Ch21-22
Quiz
•
7th - 9th Grade
15 questions
Modal Auxiliaries 2
Quiz
•
7th - 8th Grade
15 questions
PRESENT AND PAST WISHES / MIXED CONDITIONALS
Quiz
•
7th - 12th Grade
20 questions
G2 L4
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for English
20 questions
7th grade ELA Vocabulary Review
Quiz
•
7th - 8th Grade
7 questions
Path and Ortho Greek bases
Quiz
•
6th - 8th Grade
20 questions
Relative Pronouns
Quiz
•
4th - 8th Grade
12 questions
Final Figurative Language Review
Lesson
•
6th - 8th Grade
20 questions
Tone and Mood Practice
Quiz
•
6th - 8th Grade
25 questions
Making Inferences
Quiz
•
6th - 8th Grade
10 questions
Figurative Language Definitions
Quiz
•
6th - 8th Grade
20 questions
Context Clues and Inferring
Quiz
•
6th - 8th Grade