Flashcards
quiz1
Cards in this deck (10)
- 1Functional AbstractionWe do not need to know all the implicit details of the methods in order to use them.
1. What are the arguments
2. What is the effect of the method - 2Data AbstractionSame as Functional Abstraction
1. What are the arguments
2. What is the effect of the method
it's not important to know how the bit are stored. - 3Functionsreturning a result to the calling code.
these always include a Return in the code block. - 4ProcedureThis acts as a subroutine by executing the code but not explicitly returning a result.
Java = these are Void - 5Dereferencingproperties of an object accessed via the "dot" notation.
S1.append("Friends"); - 6Lexical ElementsGroup of characters used in program code
Ex: keywords, identifiers, literals, delimiters - 7Associativity (data & expresions)associativity indicates the order in which operands are accessed given operators of the same precedence
[*,/,%]
[+,-]
[Left to Right] - 8Scanner Class reading dataScanner is a class that reads data from the standard input stream and parses it into tokens based on a delimiter
- 9Scanner Class - TokensTokens can be read either as Strings:
next(), nextLine()
or
Tokens can be read as primitive types:
nextInt(), nextFloat, nextDouble() - 10MethodsSegments of code that are logically separated from the rest of the program
Information
- Description
- Flashcards on quiz1, created by David Hinton on 12/06/2017.
- Created by
- David Hinton
- Views
- 0
- Rating