Test1 Flashcards
I.P.O.S. stand for ___.
Input Process Output Storage
Your computer monitor, or a printer, are examples of: [I.P.O.S.].
Output
What is another name for Boolean logic?
Conditional logic
What’s another name for Conditional logic?
Boolean logic
A user provides Input. We need to save that input into memory. How do we reserve memory? It’s reserved as a ____. A ____ is a piece of memory.
VARIABLE
A Variable has these 2 components:
- a Name; and 2. a Datatype
List the kinds of Datatypes:
Boolean, Double, Integer, String
Describe a Double Datatype
a number with a decimal point or exponent, e.g. 1.2, or 3.1e5
Simple True/False logic is referred to as ___ Logic.
Boolean; or Conditional
A datatype that has decimals in it, is called a ___.
Double
A datatype that consists of a T or Fals, is called a ___.
Boolean
A datatype that consists of a number without decimals in it is called a ___.
Integer
A datatype that consists of a series of characters is called a ____.
String
Describe a Integer Datatype
a number with no decimals in it
Describe a Boolean Datatype
a simple Tru/Fals
Describe a String Datatype
a series of characters, or a combo of characters And numbers. (e.g., a phone number with hyphens in it; a street address)
_____ are words/phrases that are banned for use as Variable names. Examples include: “if”; “then”; “end if”
reserved words
What is a reserved word?
word/phrase that is banned for use as Variable names.
In if/then statements, the stuff written inside parentheses () are a ____.
condition
List all the relational operator(s):
greater than greater than or equal to equal to not equal to less than less than or equal to
The symbols for “not equal to”, “less than or equal to”, “equals to”, “greater than”, are examples of ____.
relational operators
What is the basic format you follow to write a condition?
“value1 relationalOperator value2”
OR, AND, NOT are examples of ____.
logical operators
Give examples of logical operators:
OR AND NOT