Programming Flashcards
Get alot
In python how would you add two numbers together? Please provide an example.
print(number + number)
In python how would you subtract two numbers? Please provide an example.
print(number - number)
In python how would you divide two numbers? Please provide an example.
print(number / number)
In python how would you times two numbers? Please provide an example.
print(number * number)
What is a boolean?
True or false.
What is a string?
A piece of text.
What is an integer?
Whole Numbers.
What is a variable?
An element, feature, or factor that is liable to change.
What is a character?
Letters.
Define Iteration
It is a loop.
What does user defined mean?
The user defines what is saved from the variable.
What does program defined mean?
The program defines what is saved in a variable.
What is type casting?
A method used to change variables from a certain data type to another to match the operation
What is the Turing test?
A test to figure out if something or someone is human or AI.
What does != mean?
Not equal to.