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

BUS 104 PYTHON EXAM REVIEW: Multiple Choice Questions and Answers

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

BUS 104 PYTHON EXAM REVIEW: Multiple Choice Questions and Answers If variable x has the value 3.99, which of the following will set variable y equal to 3? (Assume the math library has been imported.) - Correct Answer️️ -1) y = trunc(x) 2) y = round(x - 1) 3) y = floor(x) Which of the following can be used to assign 2 percent to variable discount? - Correct Answer️️ -None of these answers A computer program is always made up of: - Correct Answer️️ -code The following code represents a ________________ if structure. if a = 1: if a == 1: - Correct Answer️️ -nested How many lines of output will be printed by the following code? sum = 0 for i in range(1,3): for j in range(1,4): sum += i * j print(sum) - Correct Answer️️ -6PDF DOCUMENT The following program is intended to display True Love. The program contains an error. Which answer best describes the problem with the program? a = True b = "Love" print(a + " " + b) - Correct Answer️️ -A string cannot be concatenated with a Boolean Given the following list, which statement would print New York? city_list = ["Atlanta", "New York", "Baltimore", "Phoenix", "Dallas"] - Correct Answer️️ - print(city_list[1]) In Lab 3, we calculated weekly gross pay for employees entitled to "time-and-a-half" for hours worked over 40. If an employee worked over 40 hours, what pay rate was used to for the first 40 hours worked? - Correct Answer️️ -the base hourly rate Which operator is used for exponentiation in Python? - Correct Answer️️ -** What code should be added to the end of the following code to di


Información del documento

Subido en
17 de junio de 2024
Número de páginas
5
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$11.99

¿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.
OliviaWest
2.7
(23)
Vendido
119
Seguidores
17
Artículos
8334
Última venta
4 meses 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.