Automate Cybersecurity Tasks with Python Flashcards

1
Q

Automation

A

The use of technology to reduce human and manual effort to perform common and repetitive tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Boolean data

A

Data that can only be one of two values: either True or False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Comment

A

A note programmers make about the intention behind their code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Conditional statement

A

A statement that evaluates code to determine if it meets a specified set of conditions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Data type

A

A category for a particular type of data item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Dictionary data

A

Data that consists of one or more key-value pairs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Float data

A

Data consisting of a number with a decimal point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Integer data

A

Data consisting of a number that does not include a decimal point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Integrated development environment (IDE)

A

A software application for writing code that provides editing assistance and error correction tools.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Interpreter

A

A computer program that translates Python code into runnable instructions line by line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Iterative statement

A

Code that repeatedly executes a set of instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

List data

A

Data structure that consists of a collection of data in sequential form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Loop variable

A

A variable that is used to control the iterations of a loop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Notebook

A

An online interface for writing, storing, and running code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Set data

A

Data that consists of an unordered collection of unique values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

String data

A

Data consisting of an ordered sequence of characters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Syntax

A

The rules that determine what is correctly structured in a computing language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Tuple data

A

Data structure that consists of a collection of data that cannot be changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Type error

A

An error that results from using the wrong data type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Variable

A

A container that stores data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Integrated development environment

A

What does IDE stand for?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Argument (Python)

A

The data brought into a function when it is called.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Built-in

A

A function that exists within Python and can be called directly.

24
Q

Comment

A

A note programmers make about the intention behind their code

25
Function
A section of code that can be reused in a program.
26
Global variable
A variable that is available through the entire program.
27
Indentation
Space added at the beginning of a line of code.
28
Library
A collection of modules that provide code users access in their programs.
29
Local variable
A variable assigned within a function.
30
Module
A Python file that contains additional functions, variables, classes, and any kind of runnable code.
31
Parameter (Python)
An object that is included in a function definition for use in that function.
32
PEP 8 style guide
A resource that provides stylistic guidelines for programmers working in Python.
33
Python Standard Library
An extensive collection of Python code that often comes packaged with Python.
34
Return statement
A Python statement that executes inside a function and sends information back to the function call.
35
Style guide
A manual that informs the writing, formatting, and design of documents.
36
User-defined function
A function that programmers design for their specific needs.
37
Algorithm
A set of rules that solve a problem.
38
Bracket notation
The indices placed in square brackets.
39
Debugging
The practice of identifying and fixing errors in code.
40
Immutable
An object that cannot be changed after it is created and assigned a value.
41
Index
A number assigned to every element in a sequence that indicates its position.
42
List concatenation
The concept of combining two lists into one by placing the elements of the second list directly after the elements of the first list.
43
List data
Data structure that consists of a collection of data in sequential form.
44
Method
A function that belongs to a specific data type.
45
Regular expression (regex)
A sequence of characters that forms a pattern.
46
String concatenation
The process of joining two strings together.
47
String data
Data consisting of an ordered sequence of characters.
48
Substring
A continuous sequence of characters within a string.
49
Debugger
A software tool that helps to locate the source of an error and assess its causes.
50
Exception
An error that involves code that cannot be executed even though it is syntactically correct.
51
Logic error
An error that results when the logic used in code produces unintended results.
52
Parsing
The process of converting data into a more readable format.
53
Syntax error
An error that involves invalid usage of a programming language.
54
DevSecOps
The process of building security checks directly into how you build and release software. It is about making security a shared responsibility and automating security practices as part of your everyday workflow, ensuring that security is considered at every stage of your CI/CD pipeline.
55
Continuous Delivery/Deployment
What does CI/CD stand for?
56
Syntax errors, logic errors, and exceptions
What are the three types of errors in Python?