• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 3 páginas
Examen

Python Basics-Questions and Answers

Document preview thumbnail
Vista previa 1 fuera de 3 páginas

Python Basics-Questions and Answers What does it mean when it is said that python is strongly typed? -ANSWER-The language restricts how many different types can interact. Every change of type requires an explicit conversion. What does it mean when it is said that python is a dynamic language? -ANSWER-values stored by variables have types while the variable itself does not. what is the difference between keywords and reserved words? -ANSWER-Keywords are a type of reserved words that serve a specific purpose in the context of the language, while reserved words are specific strings of characters the are reserved for use by the language can a reserve word be a keyword? -ANSWER-it can, but it doesn't have to be. can a keyword be a reserved word? -ANSWER-yes, it has to be what is a variable? -ANSWER-user-defined names that reference a portion of memory where data is stored as a particular type. what are the rules of variable naming? -ANSWER-A variable name cannot be a reserved word, it cannot contain space, it must start with a letter, and it may contain letters in numbers. In python does This_name = this_name = THIS_NAME? -ANSWER-No, python is case sensitive. how are constant variables conventionally written? -ANSWER-Entirely in uppercase Which keywords start with an uppercase letter? -ANSWER-True, False, None. what is i used for? -ANSWER-counting loop iterations what are the three basic datatypes? -ANSWER-int, float, string int -ANSWER-stores integer numbers float -ANSWER-stores floating point numbers (imprecise) string -ANSWER-holds text data functions -ANSWER-callable block of code that performs some computation. It may return a value


Información del documento

Subido en
28 de marzo de 2024
Número de páginas
3
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$8.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
386
Última venta
-




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes

Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.