• ¿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 9 páginas
Examen

Python Final Exam Review Multiple Choice Study Test.

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

Python Final Exam Review Multiple Choice Study Test. What is the fundamental question of computer science? - CORRECT ANSWER What can be computed An algorithm is like a - CORRECT ANSWER recipe A problem is intractable when - CORRECT ANSWER it is not practical to solve Which of the following is not an example of secondary memory? - CORRECT ANSWER RAM Computer languages designed to be used and understood by humans are - CORRECT ANSWER high-level languages A statement is - CORRECT ANSWER a complete computer command One difference between a compiler and an interpreter is - CORRECT ANSWER a compiler is no longer needed after a program is translated By convention, the statements of a program are often placed in a function called - CORRECT ANSWER main Which of the following is not true of comments? - CORRECT ANSWER They make a program more efficient The items listed in the parentheses of a function definition are called - CORRECT ANSWER parameters What of the following is not a step in the software development process? - CORRECT ANSWER Fee setting What is the correct forumla for converting Celsius to Fahrenheit? - CORRECT ANSWER F = 9/5(C) + 32 The process of describing exactly what a computer program will do to solve a problem is called - CORRECT ANSWER specification Which of the following is not a legal identifier? - CORRECT ANSWER 2spam Which of the following are not used in expressions? - CORRECT ANSWER statements Fragments of code that produce or calculate new data values are called - CORRECT ANSWER assignment statements Which of the following is not part of the IPO pattern? - CORRECT ANSWER Program The template for variable in range(expr) describes - CORRECT ANSWER a general for loop or (d) a counted loop Which of the following is the most accurate model of assignment in Python? - CORRECT ANSWER sticky note (although you'll often see analysis of programs using the variable-as-box diagram) In Python getting user input is done with a special expression called - CORRECT ANSWER input What of the following is not a Python data type? - CORRECT ANSWER rational Which of the following is not a built-in operation? - CORRECT ANSWER sqrt() In order to use functions in the math library, a program must include - CORRECT ANSWER an import statement The value of 4! is - CORRECT ANSWER 24 The most appropriate data type for storing the value of pi is - CORRECT ANSWER float The number of distinct values that can be represented using 5 bits is - CORRECT ANSWER 32 In a mixed-type expression involving ints and floats, Python will convert - CORRECT ANSWER ints to floats Which of the following is not a Python type-conversion function? - CORRECT ANSWER abs The pattern used to computer factorial is - CORRECT ANSWER accumulator In modern Python, an int value that grows larger than the underlying hardware int - CORRECT ANSWER uses more memory A method that returns the value of an object's instance variable is called a(n) - CORRECT ANSWER accessor A method that changes the state of an object is called a(n) - CORRECT ANSWER mutator What graphics class would be best for drawing a square? - CORRECT ANSWER Rectangle What command would set the coordinates of win to go from (0,0) in the lower-left corner to (10,10) in the upper-right? - CORRECT ANSWER ords(0, 0, 10, 10)

Vista previa del contenido

Python Final Exam Review Multiple
Choice Study Test.

What is the fundamental question of computer science? - CORRECT ANSWER What can be computed



An algorithm is like a - CORRECT ANSWER recipe



A problem is intractable when - CORRECT ANSWER it is not practical to solve



Which of the following is not an example of secondary memory? - CORRECT ANSWER RAM



Computer languages designed to be used and understood by humans are - CORRECT ANSWER high-level
languages



A statement is - CORRECT ANSWER a complete computer command



One difference between a compiler and an interpreter is - CORRECT ANSWER a compiler is no longer
needed after a program is translated



By convention, the statements of a program are often placed in a function called - CORRECT ANSWER
main



Which of the following is not true of comments? - CORRECT ANSWER They make a program more
efficient



The items listed in the parentheses of a function definition are called - CORRECT ANSWER parameters



What of the following is not a step in the software development process? - CORRECT ANSWER Fee
setting

, What is the correct forumla for converting Celsius to Fahrenheit? - CORRECT ANSWER F = 9/5(C) + 32



The process of describing exactly what a computer program will do to solve a problem is called -
CORRECT ANSWER specification



Which of the following is not a legal identifier? - CORRECT ANSWER 2spam



Which of the following are not used in expressions? - CORRECT ANSWER statements



Fragments of code that produce or calculate new data values are called - CORRECT ANSWER assignment
statements



Which of the following is not part of the IPO pattern? - CORRECT ANSWER Program



The template for <variable> in range(<expr>) describes - CORRECT ANSWER a general for loop

or

(d) a counted loop



Which of the following is the most accurate model of assignment in Python? - CORRECT ANSWER sticky
note (although you'll often see analysis of programs using the variable-as-box diagram)



In Python getting user input is done with a special expression called - CORRECT ANSWER input



What of the following is not a Python data type? - CORRECT ANSWER rational



Which of the following is not a built-in operation? - CORRECT ANSWER sqrt()



In order to use functions in the math library, a program must include - CORRECT ANSWER an import
statement

Información del documento

Subido en
6 de abril de 2025
Número de páginas
9
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$12.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

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.
ROSEGRADES
3.4
(35)
Vendido
236
Seguidores
87
Artículos
12121
Última venta
3 semanas 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