Flashcards
DEP 2
Cards in this deck (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
Information
- Description
- Flashcards on DEP 2, created by Edward Collinson on 13/09/2017.
- Created by
- Edward Collinson
- Views
- 0
- Rating
More on Operators and Boolean Logic