1/17
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Integers
Numbers devoid of the fractional part
Floating Points
Or floats are numbers that contain or can contain the fractional part
Type
The characteristics of the numeric value that determines its kind, range, and application
Integer
Is a string of digits that make up the number. It must not be interjected with any characters that are not digits.
Octal Value
If an integer number is preceded by an 00 or 0o prefix. This means that the number must contain digits taken from the [0..7] range only
Hexadecimal Value
If an integer number is preceded by the prefix 0x or 0X
Float
Is designed to represent and store numbers with a non-empty decimal fraction. These numbers have or may have, a fractional part after the decimal point
Strings
These are used when processing texts and not numbers.
Escape Character
Is played by the backlash (\). The backslash can escape quotes, too. A quote preceded by a backslash changes its meaning
Boolean Algebra
A part of algebra that makes use of only two distinct values: True and False, denoted as 1 and 0
Expression
Is a combination of values, variables, operators, and function calls that result in a computed value. They are crucial because they form the building blocks of logic in programming.
Expression
It is any valid combination of operands and operators. It is evaluated by Python to produce a value
Arithmetic Expressions
These involve mathematical operations such as addition (+), subtraction (-), multiplication (*), division (/), and exponentiation (**).These expressions are used in scenarios requiring numerical computations
Relational Expressions (Comparison Expressions)
These evaluate to True or False using comparison operators. These utilize comparison operators like equal, not equal to, greater than, less than, greater than or equal to, and less than or equal to.
Logical Expressions or Boolean Expressions
These use logical operators to combine Boolean values. These are pivotal in constructing complex conditional statements
Bitwise Expressions
These manipulate bits directly using bitwise operators. These perform operations at the binary level using operators like AND, OR, XOR, NOT, left shift, and right shift. These expressions are commonly used in low-level programming, such as setting flags or manipulating binary data
Assignment Statement
Assigns a value to a variable using the = operator. Assignment statements allow the storage of values in named memory locations. The lft-hand side of the assignment operator is the variable name, and the right-hand side is the value to be stored
Augmented Assignment Operators
Provides augmented assignment operators that simplify modifying variables. It provides a concise syntax to update variable values by combining an arithmetic operation with an assignment operator, reducing redundancy in code