Java Midterm Chapter 5
Order by
21 terms
Terms | Definitions |
|---|---|
Boolean | A primitive type consisting of just two values, the constants true and false |
Boolean Relational Operators | > greater >= greater than or equal to < less than < less than or equal to == equal to != not equal |
Relational operators compare values of what type | char |
A Method name of equal and a parameter type of string returns | boolean and tests for equality of contents |
A method name of compareTo and parameter type of String returns... | int and will return a negative integer if the instance comes before the parameter, a 0 if they are equal, and a positive integer if the parameter comes before the instance |
A method name of toLowerCase and a parameter type of none returns... | a new identical string with the characters in lowercase |
A method name of toUpperCase and a parameter type of none returns... | a new identical string with the characters in uppercase |
!p | !p is false if p is true !p is true if p is false |
p && q | p && q is true if both p and q are true; false otherwise |
p || q (p or q) | p || q is true if either p or q or both are false otherwise |
Short circuit evaluation | Evaluation of a logical expression in left to right order with evaluation stopping as soon as the final Boolean value can be determined |
Flow of control | The order in which the computer executes statements |
Control structure | A statement used to alter the normally sequential flow of control |
Minimum complete coverage | Execute each branch at least once |
Code Coverage | Test data are designed by looking at the code |
Data Coverage | Test data chosen without seeing code; based on all possible values for expression |
Mixed Coverage | Combines code and data coverage |
Top down design | Problem solving technique in which the problem is divided into subproblems; the process is applied to each subproblem |
Modules | Self contained collection of steps that solve a problem or subproblem |
Abstract step | An algorithmic step containing unspecified details |
Concrete step | An algorithm step in which all details are specified |
First Time Here?
Welcome to Quizlet, a fun, free place to study. Try these flashcards, find others to study, or make your own.