Computer Programming 1 Final Exam - Python questions and complete correct answers
attribute - correct answer Some state or value that belongs to a particular object. canvas - correct answer A surface within a window where drawing takes place. instance - correct answer An object that belongs to a class. for loop - correct answer A statement in Python for convenient repetition of statements in the body of the loop. invoke - correct answer To activate the method. loop body - correct answer Any number of statements nested inside a loop. loop variable - correct answer A variable used as part of a for loop. method - correct answer A function that is attached to an object. infinite recursion - correct answer A recursion that doesn't have a base case, or never reaches it. Eventually causes a runtime error. recursion - correct answer The process of calling the function that is currently executing. nested conditional - correct answer A conditional statement that appears in one of the branches of another conditional statement.
Información del documento
- Subido en
- 20 de diciembre de 2023
- Número de páginas
- 5
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas