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.
What does == mean?
Equal to.
What does < mean?
Less than.
What does > mean?
Bigger than.
What does <= mean?
Less than or equal to.
What does >= mean?
Bigger than or equal to.
How is iteration beneficial in coding? Give two reasons.
Reduces the amount of lines used, makes coding look less complicated.
What is indefinite iteration?
Finite amount of loops.
What is the definition of authentication?
The action or process of proving/showing something is genuine or true.
What does validation mean?
The action of checking the accuracy or validity of something.