A tool to test an algorithm and track how variables change
Trace Table
A reusable block of code
The file mode to overwrite an existing file.
write
Process of converting plain text into a secure format, cipher text
encryption
A model that defines operations and behavior for a data structure, without defining how these operations are implemeneted.
Abstract Data Type
This operation creates a new string by joining two or more existing strings together.
concatenation
Convert a variable from one data type to another
Casting
The essential step after completing operations on a file.
closing a file
A string of characters or numbers used by an encryption algorithm to encode or decode data.
Data that can be changed after its been initialized
Mutable
The process of managing runtime errors
Exception Handling
Selection statements include three possible code blocks.
if, elif, else
file.readline()
The keys used in asymmetric cryptography
public key and private key
There are five set operations.
union, intersection, difference, superset, subset
There are three possible code blocks in an exception handling construct.
try, finally, and except
The process of dividing a larger task into smaller parts that work independently.
Modularization
Function to remove new line characters in a string
strip()
Policies and processes of handling and protecting keys
encryption key management
Recursive functions must contain these properites.
base case and recursive function call that approaches base case
There are four debugging techniques
trace tables, breakpoint debugging, print statements and step-bystep code execution
This concept defines the accessibility of a variable.
Scope
Syntax to loop through a file with a while loop
file = open("x.txt", "r")
line = file.readline()
while line = "":
line = file.readline()
What is a digital certificate and who is it authorized by?
An electronic document that verifies identity on the internet to enables secure communication
Authorized by a certificate authority
A stack overflow error is caused by this.
the computer runs out of allotted memory