This script typecasts user entry into a string, This script typecasts user entry to a whole number, This script typecasts user entry to a real number, This script involves no user entry., , If the user enters the values '27' and '26', the system will output: August of 2024 was hotter than August of 2023, If the user enters the values '25' and '26', the system will output: August of 2024 was hotter than August of 2023, If the user entry is invalid (e.g. 'hello') the system will ask the user to try again., None of the above are true., , This code shows 1 decision construct and 1 looping construct, This code shows 2 decision constructs and 1 looping construct, This code shows 1 decision construct and 2 looping constructs, This code shows 1 decision construct and 0 looping constructs, , This code has two functions and both return an integer to the line calling them, This code has one function and it is passed a boolean parameter, This code has two functions and they each receive one parameter, None of the above are true, , When executed this code will not run., When executed this code will run but give the wrong value for the square of the number., When executed this code will run but give the wrong output regarding whether it's an even number., This code will not crash if the user input is '3.5', , This code has a logic error., This code has a syntax error., This code cannot have a runtime error., There are no errors in this code., , If the user enters 100 the numeric output will be 118, If the user enters 100 the numeric output will be 118.00, If the user enters 100 the numeric output will be 18, If the user enters 100 the numeric output will be 18.00, Which of the following are looping constructs in Python?, if..elif..else, for, if..elif..else, match..case, for, while, while, match..case, Which of the following are decision constructs in Python?, if..elif..else, for, if..elif..else, match..case, for, while, while, match..case, A Python function , Can receive 1 or more parameters, Can be called more than once while the program is running, Can return a value to the line calling it, All of the above are true..
0%
Python - input, output, decisions, functions, parameter passing
Teilen
Teilen
Teilen
von
Galeamg
Inhalt bearbeiten
Drucken
Einbetten
Mehr
Zuweisungen
Bestenliste
Mehr anzeigen
Weniger anzeigen
Diese Bestenliste ist derzeit privat. Klicke auf
Teilen
um sie öffentlich zu machen.
Diese Bestenliste wurde vom Eigentümer der Ressource deaktiviert.
Diese Bestenliste ist deaktiviert, da sich Ihre Einstellungen von denen des Eigentümer der Ressource unterscheiden.
Einstellungen zurücksetzen
Quiz
ist eine Vorlage mit offenem Ende. Es generiert keine Punkte für eine Bestenliste.
Anmelden erforderlich
Visueller Stil
Schriftarten
Abonnement erforderlich
Einstellungen
Vorlage ändern
Alle anzeigen
Weitere Formate werden angezeigt, wenn du die Aktivität spielst.
)
Offene Ergebnisse
Link kopieren
QR-Code
Löschen
Soll die automatisch gespeicherte Aktivität
wiederhergestellt werden?