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
Geschreven voor
- Instelling
- Introduction to Python Programming
- Vak
- Introduction to Python Programming
Documentinformatie
- Geüpload op
- 20 december 2023
- Aantal pagina's
- 22
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
introduction to python programming