Cpsc 2150 final review Clemson || with Error-free Solutions.
Boolean and boolean are the same data type correct answers False Static members belong to the class itself, and not to the object correct answers True A class in java can have multiple constructors correct answers True in java, it is possible to have a function that exists outside the class correct answers False Static member functions have access to instance members and data correct answers False in junit testing, we can safely assume that the test cases will run in the order they are coded, and can use objects and variables from previous test cases correct answers False We need to explicitly use a cast when we are narrowing our data type correct answers True Testing tells us the exact location of a fault correct answers False Tracing and debugging help us find the location of a fault in our code correct answers True The java code file must be in a directory structure that matches the package name correct answers True Since our requires clause is just a specific type of comment, any function that has a requires clause should start with the if statement necessary to check to see if the requires clause was met. correct answers False A boundary Object represents some real world object, such as a car, or a game board. It is the "boundary" between that real world object and our low level implementation. correct answers False A control object is responsible for the actual flow of control in the program, and handles interactions between different types of objects correct answers True Data members in a class should be public, to make it easier to access and modify the data, and easier to work with the object in code correct answers False Static data members must be final correct answers False Static members can be called without declaring an instance of the class that contains the static member correct answers True After running our test plan for a class, we can rest assured knowing that our code does not contain any errors correct answers False We can use the formal verification process to prove that our code does not contain any errors correct answers True
Escuela, estudio y materia
- Institución
- Cpsc 2150
- Grado
- Cpsc 2150
Información del documento
- Subido en
- 25 de marzo de 2024
- Número de páginas
- 4
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
boolean and boolean are the same data type
Documento también disponible en un lote