Introduction to Programming Final Exam Review (Python) Questions and Answers
Introduction to Programming Final Exam Review (Python) Questions and Answers A ________ does not prevent the program from running, but causes it to produce incorrect result - Correct Answer️️ -Syntax Error A ______ is sequence of characters - Correct Answer️️ -String A ____ is a name that references a value in the computer's memory - Correct Answer️️ -Variable A _____ in python must be enclosed in either single or double-quotes - Correct Answer️️ -String Literal Short notes placed in different parts of a program explaining how these parts of the program work are called - Correct Answer️️ -Comments A(n) ______ makes a variable reference a value in the computer's memory - Correct Answer️️ -Assignment Statement The ___ symbol marks the beginning of a comment in python - Correct Answer️️ -# Values on the right and left of an operator symbol (+) are called: - Correct Answer️️ - Operands ______ can be used to read input that has been typed on the keyboard - Correct Answer️️ -input() having float(aroundSomething) - Correct Answer️️ -converts to a floatPDF DOCUMENT A magic number is an: - Correct Answer️️ -unexplained value that appears in a program's code A _____ is a name that represents a value that does not change during the program's execution - Correct Answer️️ -Named Constant First characters of a variable names: - Correct Answer️️ -cannot be a number If a variable has not been assigned a value - Correct Answer️️ -0 will not display since the variable was not assigned 0 to begin with A _____ can execute a set of statements only certain circumstances - Correct Answer️️ -Decision Structure A ____ provides one alternative path of executions - Correct Answer️️ -Single Alternative Decision Boolean has a value of either - Correct Answer️️ -True or False A compound boolean expression created with the "or" operator is t
Written for
- Institution
- Python Programming
- Course
- Python Programming
Document information
- Uploaded on
- June 17, 2024
- Number of pages
- 18
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
introduction to programming final exam review pyt
Also available in package deal