• ¿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 3 fuera de 22 páginas
Examen

Programming (Python) Questions with Correct Answers Graded to Pass

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

variable - A _____ stores a piece of data, and gives it a specific name. For example: spam = 5 variable - A _____ stores a piece of data, and gives it a specific name. For example: spam = 5 boolean - A _____ is like a light switch. It can only have two values. Just like a light switch can only be on or off, a boolean can only be True or False boolean - A _____ is like a light switch. It can only have two values. Just like a light switch can only be on or off, a _____ can only be True or False boolean - A _____ is like a light switch. It can only have two values. Just like a light switch can only be on or off, a _____ can only be True or False 4 - when dealing with whitespaces, indent the code with the use of __ spaces. 4 - when dealing with whitespaces, indent the code with the use of __ spaces. interpreter (both) - The window in the top right corner of the page is called the _____. The _____ runs your code line by line, and checks for any errors. interpreter (both) - The window in the top right corner of the page is called the _____. The _____ runs your code line by line, and checks for any errors. # (both) - You probably saw us use the __ sign a few times in earlier exercises. The __ sign is for comments. A comment is a line of text that Python won't try to run as code. It's just for humans to read. # (both) - You probably saw us use the __ sign a few times in earlier exercises. The __ sign is for comments. A comment is a line of text that Python won't try to run as code. It's just for humans to read. comment - You probably saw us use the # sign a few times in earlier exercises. The # sign is for comments. A ____ is a line of text that Python won't try to run as code. It's just for humans to read. comment - You probably saw us use the # sign a few times in earlier exercises. The # sign is for comments. A ____ is a line of text that Python won't try to run as code. It's just for humans to read. #, #, triple quotation - The __ sign will only comment out a single line. While you could write a multi-line comment, starting each line with __, that can be a pain. Instead, for multi-line comments, you can include the whole block in a set of ____ _____ marks: """Sipping from your cup 'til it runneth over, Holy Grail. """ #, #, triple quotation - The __ sign will only comment out a single line. While you could write a multi-line comment, starting each line with __, that can be a pain. Instead, for multi-line comments, you can include the whole block in a set of ____ _____ marks: """Sipping from your cup 'til it runneth over, Holy Grail. """ *, ** (2*3 = 6, 2**3 = 8) - in python, we use __ to indicate multiplication and __ to indicate exponents. *, ** (2*3 = 6, 2**3 = 8) - in python, we use __ to indicate multiplication and __ to indicate exponents. modulo (both) - Our final operator is ____. ____ returns the remainder from a division. So, if you type 3 % 2, it will return 1, because 2 goes into 3 evenly once, with 1 left over.


Información del documento

Subido en
23 de junio de 2023
Número de páginas
22
Escrito en
2022/2023
Tipo
Examen
Contiene
Preguntas y respuestas
$12.89

¿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

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TeeGrades
3.5
(53)
Vendido
206
Seguidores
125
Artículos
5367
Última venta
1 mes hace



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.