• ¿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

Python Test 1

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

PYTHON TEST 1 algorithm - CORRECT ANSWERS-A set of specific steps for solving a category of problems bug - CORRECT ANSWERS-an error in a program comment - CORRECT ANSWERS-in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program token - CORRECT ANSWERS-basic elements of a language(letters, numbers, symbols) high-level language - CORRECT ANSWERS-A programming language like Python that is designed to be easy for humans to read and write. low-level langauge - CORRECT ANSWERS-A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language print - CORRECT ANSWERS-A function used in a program or script that causes the Python interpreter to display a value on its output device. runtime error - CORRECT ANSWERS-An error that does not occur until the program has started to execute but that prevents the program from continuing. semantic error - CORRECT ANSWERS-An error in a program that makes it do something other than what the programmer intended. semantic - CORRECT ANSWERS-the meaning of a program syntax - CORRECT ANSWERS-The structure of a program syntax error - CORRECT ANSWERS-An error in a program that makes it impossible to parse — and therefore impossible to interpret. string - CORRECT ANSWERS-contains a string of letters variable - CORRECT ANSWERS-name that refers to a value assignment statement - CORRECT ANSWERS-gives value to a variable keyword - CORRECT ANSWERS-define the language's syntax rules and structure, and they cannot be used as variable names statement - CORRECT ANSWERS-instruction that the Python interpreter can execute operators - CORRECT ANSWERS-special tokens that represent computations like addition, multiplication and division modulus operator - CORRECT ANSWERS-%, works on integers (and integer expressions) and gives the remainder when the first number is divided by the second evaluate - CORRECT ANSWERS-To simplify an expression by performing the operations in order to yield a single value. int - CORRECT ANSWERS-A Python data type that holds positive and negative whole numbers float - CORRECT ANSWERS-A Python data type which stores floating-point numbers. Floating-point numbers are stored internally in two parts: a base and an exponent. When printed in the standard format, they look like decimal numbers flow of execution - CORRECT ANSWERS-The order in which statements are executed during a program run. function - CORRECT ANSWERS-A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result fruitful function - CORRECT ANSWERS-A function that returns a value when it is called. local variable - CORRECT ANSWERS-A variable defined inside a function. A local variable can only be used inside its function. Parameters of a function are also a special kind of local variable. parameter - CORRECT ANSWERS-A name used inside a function to refer to the value which was passed to it as an argument. boolean function - CORRECT ANSWERS-A function that returns a Boolean value. The only possible values of the bool type are False and True. None - CORRECT ANSWERS-A special Python value. One use in Python is that it is returned by functions that do not execute a return statement with a return argument. block - CORRECT ANSWERS-A group of consecutive statements with the same indentation. boolean expression - CORRECT ANSWERS-An expression that is either true or false. conditional statement - CORRECT ANSWERS-A statement that controls the flow of execution depending on some condition. In Python the keywords if, elif, and else are used for conditional statements. conditional statement - CORRECT ANSWERS-One program structure within another, such as a conditional statement inside a branch of another conditional statement type conversion - CORRECT ANSWERS-An explicit function call that takes a value of one type and computes a corresponding value of another type. definite iteration - CORRECT ANSWERS-A loop where we have an upper bound on the number of times the body will be executed. Definite iteration is usually best coded as a for loop increment - CORRECT ANSWERS-Both as a noun and as a verb, increment means to increase by 1. iteration - CORRECT ANSWERS-Repeated execution of a set of programming statements. nested loop - CORRECT ANSWERS-A loop inside the body of another loop. trace - CORRECT ANSWERS-To follow the flow of execution of a program by hand, recording the change of state of the variables and any output produced. aliases - CORRECT ANSWERS-Multiple variables that contain references to the same object. clone - CORRECT ANSWERS-To create a new object that has the same value as an existing object. Copying a reference to an object creates an alias but doesn't clone the object. compound data type - CORRECT ANSWERS-A data type that is itself made up of elements that are themselves values. decrement - CORRECT ANSWERS-To subtract one from a variable. dictionary - CORRECT ANSWERS-A collection of key/value pairs that maps from keys to values. exception - CORRECT ANSWERS-Raised by the runtime system if something goes wrong while the program is running


Información del documento

Subido en
20 de noviembre de 2023
Número de páginas
5
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$9.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.
Bestcontents
4.5
(8)
Vendido
34
Seguidores
13
Artículos
2030
Última venta
10 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.