Flashcards
DEP 2
Flashcards do conjunto (10)
- 1What data type can hold a single letter or symbol?The Character type
- 2What data type can hold a whole number?The Integer Type
- 3What type of variable can hold the values of either True or False?A boolean
- 4What data type can hold a fractional number?A Real/Floating Point
- 5What data type can hold multiple characters?A String
- 6What are all of the Comparison Operators?== Equal to
!= Not equal to
< Less than
<= Less than or equal to
> Greater than
>= Greater than or equal to - 7What does the MOD arithmetic operator do?Gives the remainder of a division
- 8What does the DIV arithmetic operator do?Gives the main part of a division
- 9What are the arithmetic operators?+ Addition
- Subtraction
* Multiplication
/ Division
MOD Modulus
DIV Quotient
^ Exponentiation - 10What inputs does an AND gate need for it's output to be true?Both of it's inputs to be True or 1
Informações
- Descrição
- FlashCards sobre DEP 2, criado por Edward Collinson em 13-09-2017.
- Criado por
- Edward Collinson
- Visualizações
- 0
- Avaliação
Mais sobre Operators and Boolean Logic