IT Flashcards
revision
1
Q
What is the data type for letters
A
string
2
Q
What is the datatype for whole numbers
A
integer
3
Q
What is the datatype for decimal numbers
A
float
4
Q
What is the symbol for multiplication in python
A
*
5
Q
What is the symbol for division in python
A
/
6
Q
What logic gate outputs 1 if only both inputs are 1
A
AND gate
7
Q
What logic gate outputs 1 if any of the inputs are 1
A
OR gates
8
Q
What logic gate reverses whatever is inputed
A
NOT gates
9
Q
What is == in Python?
A
Equal to
10
Q
What is != in python?
A
Not equal to
11
Q
What is < in python?
A
Less than
12
Q
What is > in python?
A
Greater than
13
Q
What is <= in python?
A
Less than or equal to
14
Q
What is >= in python?
A
Greater than or equal to
15
Q
What is python?
A
A programming language