

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Python 110 || 100% Valid Solutions.
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Input correct answers a program gets data, perhaps from a file, keyboard, touchscreen etc process correct answers a program performs computations on that data output correct answers a program puts that data somewhere such as to a file, screen or network variables correct answers to refer to data like x python interpreter correct answers a computer program that executes code written in the python programming language code correct answers a common word for the textual representation of a program prompt correct answers interactive interpreter displays this to indicate that it is ready to accept code statement correct answers a program instruction expression correct answers code that return a value when evaluated string correct answers input obtained by input(). includes numbers, letters, or special characters variable type correct answers determines how a value can behave syntax error correct answers a mistake that violates a programming language's roles on how symbols can be combined
runtime error correct answers program's syntax is correct but the program attempts an impossible operation (like dividing by 0) logic error correct answers program works but produces different output than intended float correct answers data type for floating-point numbers expression correct answers a combination of items like variables, literals, operators. and parentheses literal correct answers a specific value in code like 2 operator correct answers a symbol that performs a built in calculation compound operators correct answers special operators that provide a shorthand way to update a variable (+=) modulo correct answers % evaluates the remainder of the division of two integer operands floored division operators correct answers // digits after the decimal point are removed math module correct answers python comes with a standard math module to support such advanced math operations function correct answers a list of statements that can be executed simply by referring to the function's name