12/3/2024 11:27AM
Engr 103 Exam Study Guide.
Algorithm - answer✔A set of instructions to perform a task or solve a problem, must be precise
enough for a computer to execute
your code
Computation - answer✔When a computer executes an algorithm
"run" or \.program.py
Semantics - answer✔Refers to meaning, concepts/vocabulary used across programming
languages
Syntax - answer✔Programming language specific, like a grammar that a compiler can recognize
Input - answer✔The data or information passed into a computational system before a program is
run
e.g., input()
, ©SIRJOEL EXAM SOLUTIONS
12/3/2024 11:27AM
Output - answer✔The data or information passed out of a computational system once the
computation is complete
e.g., print()
Execution - answer✔The process by which a computer interprets our program or performs the
instructions of our program
Interactivity - answer✔The ability of the code to detect events from a user, e.g., mouse clicks,
sensor-based information
Identifier - answer✔Name given to item in program
letters and _
Value - answer✔Value assigned to identifier
Memory location - answer✔Location where identifier and value are stored
Variable - answer✔Memory location with name and type to store value, A representation for a
value.
Value (2nd) - answer✔e.g. 'flower' or 237
Identity - answer✔Unique memory location
, ©SIRJOEL EXAM SOLUTIONS
12/3/2024 11:27AM
id()
Type - answer✔Description of the information that guides how a programming language
interprets the content
Type()
String - answer✔A sequence of characters
string()
Integer - answer✔Whole numbers
Int()
Float - answer✔Floating point numbers
float ()
Boolean - answer✔Considered numeric type, value can be True or False