Syntax Error | Runtime Error |
Logic Error | Type Error |
Null Pointer Exception | Arithmetic Error |
Index Out Of Bounds | File Not Found |
An error that occurs during the execution of a program, leading to abnormal termination or unexpected behavior. | An error in the syntax of a programming language that prevents the code from being parsed and executed. |
An error that occurs when an operation is performed on an object of an inappropriate type. | An error in the logic or algorithm of a program that causes incorrect results or unexpected behavior. |
An error that occurs during arithmetic operations, such as division by zero or overflow/underflow. | An error that occurs when a program tries to access a null object or null reference. |
An error that occurs when a program tries to access a file that does not exist or cannot be found. | An error that occurs when attempting to access an element outside the bounds of an array or collection. |
Overflow Error | Underflow Error |
Indentationerror | Nameerror |
Typeerror | Valueerror |
Indexerror | Keyerror |
An error that occurs when a mathematical operation produces a result that is too small to be represented within the available memory or data type. | An error that occurs when a mathematical operation produces a result that is too large to be represented within the available memory or data type. |
An error that occurs when a variable or function is used without being defined. | An error that occurs when there are issues with the indentation of the code. |
An error that occurs when a function receives an argument of the correct type but with an inappropriate value. | An error that occurs when an operation or function is applied to an object of inappropriate type. |
An error that occurs when trying to access a key that does not exist in a dictionary. | An error that occurs when trying to access an index that is out of range for a sequence. |
Filenotfounderror | Zerodivisionerror |
Array | Elements |
Index | Array Size |
Initialization | Access |
An error that occurs when trying to divide a number by zero. | An error that occurs when a file that is being accessed is not found. |
The individual items or values stored within an array. | A data structure that stores a fixed-size sequential collection of elements of the same type. |
The total number of elements that can be stored in an array. | A number that represents the position of an element in an array. |
Retrieving the value of a specific element in an array using its index. | The process of assigning initial values to the elements of an array. |
Traversal | Search |
Insertion | Deletion |
Element | Traverse |
Update | Sort |
Finding the presence or location of a specific element in an array. | Visiting each element of an array in a sequential manner. |
Removing an element from a specific position in an Array. | Adding a new element at a specified position in an array. |
Visiting each element of the array once. | A single value stored in the array. |
Rearranging the elements of the array in a specific order. | Modifying the value of an element in the array. |
2D Array | Rows |
Columns | Array Length |
Nested Arrays | Row |
Column | Modification |
The horizontal dimension of a 2-dimensional array. | An array that is commonly represented as a grid of rows and columns. |
The total number of elements in a 2-dimensional array. | The vertical dimension of a 2-dimensional array. |
The horizontal dimension of a 2-dimensional array. | Arrays that are placed inside other arrays, creating multiple dimensions. |
Changing the value of a specific element in a 2-dimensional array. | The vertical dimension of a 2-dimensional array. |
Dictionary | Key |
Value | Mutable |
Immutable | Length |
Keys | Values |
A unique identifier that is used to access the corresponding value in a dictionary. | A collection of key-value pairs, where each key maps to a specific value. |
A type of object that can be changed after it has been created. | The data associated with a key in a dictionary. |
The number of key-value pairs in a dictionary. | A type of object that cannot be changed after it has been created. |
A method that returns all the elements within a dictionary. | A method that retrieves all the identifiers present in a dictionary. |
Clear | Pop |
Nested Dictionary | Hash Table |
Dictionary Methods | Items |
Get | In |
A method that removes and returns the value associated with the specified key. | A method that removes all key-value pairs from a dictionary. |
A data structure that allows for efficient access using a hash function. | A dictionary that contains other dictionaries as values for its keys. |
A method that returns a view object of all the key-value pairs in a dictionary. | Functions that can be called on a dictionary object to perform operations such as adding, removing, or modifying key-value pairs. |
An operator that returns True if a key is present within a dictionary, and False otherwise. | A method that returns the value associated with the specified key. If the key is not found, it returns None or a default value. |
Copy | Dictionary Comprehension |
A concise way to create a dictionary from an iterable by defining the key-value pairs within curly braces {}. | A technique that produces a replica of a dictionary with a limited depth. |