Cs1101 Unit 8 Questions With 100% Correct!!
The set of modules that are included in the default installation of python are known as the: - Standard Library Variables that are defined inside of a module are called what? - Attributes Creating a python script file with a .py extension on the filename and placing it in the appropriate directory is all that is required to create a module? - True In the following Python statement, what do we call the portion of the statement before the dot ('string.')? alize('maryland') - Module In the following segment of code what do we call the portion of the statement that follows the dot (capitalize)? alize('maryland') - Method What will the contents of mylist be after the following code has been executed? >>> mylist = [1, 4, 2, 3] >>> d(5) - [1, 4, 2, 3, 5] What will the following code segment do? ines() - Read all remaining lines in a file Memory that can maintain its state without power is know as. - Non volatile memoryWhich of the following is NOT a valid mode that can be used to open a file when using the 'open' statement? - x (eXecute) The dot operator (.) permits access to attributes and functions of a module (or attributes and methods of a class or instance). - True Dictionaries are mutable. - True Pickling is a way to _________________ - preserve data structure Exceptions allow the programmer to _________________ - write code to handle runtime errors The Motorola Power PC 601 microprocessor contained 2.8 million transistors. - True The first patent for a microprocessor is attributed to Gary Boone and Michael Cochran of Texas Instruments. - True
Escuela, estudio y materia
- Institución
- Cs1101 Unit 8
- Grado
- Cs1101 Unit 8
Información del documento
- Subido en
- 7 de mayo de 2024
- Número de páginas
- 2
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
Documento también disponible en un lote