Intro to Python Final Exam questions and answers
A reusable chunk of code with inputs and outputs - correct answer Function A name that can be associated with a value - correct answer Variable A control structure for performing actions on each element of a sequence - correct answer For loop A control structure for branching the execution of a program - correct answer If statement A data structure for mapping keys to values - correct answer Dictionary A data structure for storing elements in an ordered sequence - correct answer List A categorization of values of similar kinds that determines what you can do with the values - correct answer Type A sequence of data stored in your computer's long term memory - correct answer File Specific instances of data written directly in source code - correct answer Literal value A type that represents textual data - correct answer String A collection of functions, classes, and variables available to be imported - correct answer Module A combination of data and functions that can encapsulate behavior into a new type - correct answer Class An instance of a class - correct answer Object A sequence of coded instructions that manipulate data inside a computer - correct answer Program, While, or Method
Written for
- Institution
- Intro to Python
- Course
- Intro to Python
Document information
- Uploaded on
- December 20, 2023
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
intro to python final exam questions and answers