Introduction to Python Programming In-class activity exam questions and complete correct answers
A design technique that helps to reduce the duplication of code within a program and is a benefit of using functions is . 1. code reuse 2. divide and conquer 3. debugging 4. facilitation of teamwork - correct answer A The first line of a function definition is known as the . 1. body 2. introduction 3. initialization 4. header - correct answer D You ____ a function to execute it. 1. define 2. call 3. import 4. export - correct answer B A ____ is a variable that is created inside a function. 1. global variable 2. local variable
Escuela, estudio y materia
- Institución
- Introduction to Python Programming
- Grado
- Introduction to Python Programming
Información del documento
- Subido en
- 20 de diciembre de 2023
- Número de páginas
- 22
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
introduction to python programming