1/19
Looks like no tags are added yet.
Integer
Whole number. Positive/ negative integers and 0
REAL data (Floating points)
3.14
Strings
A sequence of 1 or more characters
Booleans
True / False
a = 1
Integer
a = "six"
String
x = 2.0 + 3.0
Float point
x = 2 / 3
Float point
x = 2 // 2
Integer
Debugging
The routine process of locating and removing computer program bugs, errors or abnormalities, which is methodically handled by software programmers
Testing
Give input to a program and compare its generates output with the expected output to uncover different types of failure.
Input
The specific value given to a program
Expected output
The output predicted by a program's specification
Actual output
The output generated by a program when given the input of a test case
int(1.9)
1
float('1')
1.0
int(True)
1
float(True)
1.0
float(False)
0.0
bool(0)
false