7 Automate Cybersecurity tasks with Python Flashcards
Automation
use of tech to reduce human and manual effort to perform common and repetitive tasks
Boolean data
data that can only be one of two values: True or False
Command-line interface
text-based user interface that uses commands to interact with the computer
Comment
note programmers make about the intention behind their code
Conditional statement
statement that evaluates code to determine if it meets a specified set of conditions
Data type
category for a particular type of data item
Dictionary data
data that consists of one or more key-value pairs
Float data
data consisting of a number with a decimal point
Integer data
data consisting of a number that does not include a decimal point
Integrated development environment IDE
software application for writing code that provides editing assistance and error correction tools
Interpreter
computer program that translates Python code into runnable instructions line by line
Iterative statement
code that repeatedly executes a set of instructions
List data
data structure that consists of a collection of data in sequential form
Loop variable
variable that is used to control the iterations of a loop
Notebook
online interface for writing, storing, and running code
Programming
process that can be used to create a specific set of instructions for a computer to execute tasks
Set data
data that consists of an unordered collection of unique values
String data
data consisting of an ordered sequence of characters
Syntax
rules that determine what is correctly structured in a computer language
Tuple data
data structure that consists of a collection of data that cannot be changed
Type error
error that results from using the wrong data type
Variable
container that stores data
argument (python)
data brought into a function when it is called
Built-in function
function that exists within Python and can be called direclty
Comment
note programmers make about the intention behind their code
Function
section of code that can be reused in a program
Indentation
space added at the beginning of a line of code
Library
collection of modules that provide code users can access in their programs
Local variable
variable assigned within a function
module
python file that contains additional functions, variables, classes, and any kind of runnable code
parameter (python)
object that is included in a function definition for use in that function
PEP 8 style guide
resource that provides stylistic guidelines for programmers working in Python
Python Standard Library
extensive collection of Python code that often comes packaged with Python
Return statement
python statement that executes inside a function and sends info back to the function call
Style guide
manual that informs the writing, formatting, and design of documents
User-defined function
function that programmers design for their specific needs
Algorithm
set of rules that solve a problem
Bracket notation
indices placed in square brackets
Debugging
practice of identifying and fixing errors in code
Immutable
object that cannot be changed after it is created and assigned a value
Index
number assigned to every element in a sequence that indicates its position
List concatenation
concept of combining two lists into one by placing the elements of the second list directly after the elements of the first list
List data
data structure that consists of a collection of data in sequential form
Method
function that belongs to a specific data type
Regular expression (regex)
sequence of characters that forms a pattern
String concatentation
Process of joining two strings together
String data
data consisting of an ordered sequence of characters
Substring
continuous sequence of characters within a string
Automation
use of tech to reduce human and manual effort to perform common and repetitive tasks
Conditional statement
statement that evaluates code to determine if it meets a specified set of conditions
Debugger
software tool that helps to locate the source of an error and assess its causes
Debugging
practice of identifying and fixing errors in code
Exception
error that involves code that cannot be executed even though it is syntactically correct
File path
location of a file or directory
Function
section of code that can be reused in a program
Integrated development environment IDE
software application for writing code that provides editing assistance and error correction tools
Iterative statement
code that repeatedly executes a set of instructions
log
record of events that occur within an organization’s systems
logic error
error that results when the logic used in code produces unintended results
Parsing
process of converting data into a more readable format
Syntax error
error that involves invalid usage of programming language
variable
container that stores data