Chapter 3 - preliminary concepts Flashcards
What are the three identities of a byte?
- It’s a string of 8 logical or false values
- It’s an 8 bit binary number
- It’s a representation of some character(e.g., letter, digit, punctuation, part of a logogram)
What is a function?
- Takes one or more values and returns another values as a result
What are the values passed into a function called?
- Arguments
What is the value returned by a function called?
- result
If a function is denoted by a symbol what is it called?
- An operator
If there is one argument for an operator where is the operator placed?
- In front of the argument
If there are two arguments for an operator where is the operator placed?
- In between the arguments
If a function contains letters as arguments how are the arguments represented?
- arguments are contained in parenthesis and each is separated by a coma
What are boolean operators?
- Functions that operate on bits that represent truth values
What are the properties of the logical ‘not’ operator?
- Functions that operate on bits that represent truth values
What are the properties of the logical ‘and’ operator?
- Functions that operate on bits that represent truth values
What are the properties of the logical ‘or’ operator?
- Functions that operate on bits that represent truth values
What are the properties of the logical ‘or’ operator?
- A xor B, is true if exactly one of A or B is true, otherwise it is false
How is the logical ‘and’ operator represented?
- with the character ‘/\’
How is the logical ‘or’ operator represented?
- with the character ‘\/’
Which operator is used extensively in cryptography?
- XOR
What is an exponential?
- a number that is multiplied by itself a specified number of times
How is an exponential expression BE read?
- B to the E power
Given an exponential expression BE .What is B and E?
- ‘B’ is the base and ‘E’ is the exponent
If N is any number then what is N1
- it’s the number ‘N’
By convention what is N0 given N is non zero
- 1
By convention what is 00
- 0
What is meant by writing a decimal number 3456
- 3×1000+4×100+5×10+6×1
What is exponential representation of a decimal number 3456
- 3×103 + 4×102+5×101+6×100