What is a Data Type in Programming?
A Data Type in Programming is grouping data values
What are the four Data Types in Python?
The four Data Types in Python are String, Integer, Float, and Boolean.
What is the String Data Type?
The String Data Type is anything enclosed within speech marks.
What is the Integer Data Type?
The Integer Data Type is any whole number.
What is the Float Data Type?
The Float Data Type is any number that has a decimal point.
What is the Boolean Data Type?
The Boolean Data Type is when the output will always be True or False.
What is the name given to the process of changing from one Data Type to another?
When changing from one Data Type to another in Python we call it Type Casting/Conversion.
What does BIDMAS stand for?
BIDMAS stands for Brackets, Indices, Division, Multiplication, Addition, Subtraction.
What is the purpose of BIDMAS?
The purpose of BIDMAS is that it’s an acronym used to remember the order in which to complete maths questions using operators.
What is the sign for Floor Division and what does it do?
The sign for Floor Division is:
//
Floor Division divides the first number by the second number and it gives the user the whole number answer.
e.g. 15//2 = 7
What is the sign for Modulus and what does it do?
The sign for Modulus is:
%
Modulus divides the first number by the second number and it gives you the remainder of the answer.
e.g. 9%2 = 1