Fichas
CSE 110 Lecture 09 Notes
Fichas del conjunto (13)
- 1a string method to compare the alphabetic order not only for alphabetic letters but also digit/special symbols, and return NOT true or false BUT a value of order differencecompareTo(String)
- 2the Scanners method to check if the input is valid as an integerhasNextInt()
- 3the Scanners method to check if the input is valid as floating-numberhasNextDouble()
- 4an if-statement inside of another if-statementNested If-Statement
- 5always associated with the closest if-statementElse Block
- 6syntax: ? : ;Conditional Operators
- 7usually used to assign the value for a variable depending on one condition instead of using if-else statementConditional Operators
- 8can be used to compare two primitive valuesRelational Operators
- 9used to compare two Objectsequals(Obj)
- 10useful in simplifying the code when each condition can be represented by an integer value or a char without using if-statementSwitch Statement
- 11law that can be used to simplify the Boolean expressionsDe Morgans Law
- 12has a higher precedence than the ||&& Operator
- 13made up of elements for tasks (rectangles), input/output (parallelograms), and conditions (diamonds); each branch of a decision can contain tasks and further decisions; never point an allow inside another branchFlowchart
Información
- Descripción
- (Notes) CSE 110 Fichas sobre CSE 110 Lecture 09 Notes, creado por Branden Roper el 19/10/2017.
- Creado por
- Branden Roper
- Visitas
- 1
- Etiquetas
- Valoración