Multiple choice
1) Self contained units of code are called
a) modules
b) invariants
c) algorithms
d) exceptions
2) Modularity describes a program that is organized into _______
a) loosely coupled and highly cohesive modules
b) tightly coupled and highly cohesive modeules
c) loosely coupled modules which are not cohesive
d) tightly coupled modules which are not cohesive
3. A use case within the UML is ____________.
a. diagram showing the interaction over time among the object within a single scenario.
b. description of the how end-user will use the software.
c. group stories about an end user using the solution.
d. diagram showing the relationship among classes.
4. A UML sequence diagram is a _____________.
a. diagram showing the interaction over time among the objects within a single scenario.
b. description of the how end-user will use the software.
c. group stories about an end user using the solution.
d. diagram showing the relationship among classes.
5. A UML class diagram is a _____________.
a. diagram showing the interaction over time among the objects within a single scenario.
b. description of the how end-user will use the software.
c. group stories about an end user using the solution.
d. diagram showing the relationship among classes.
6. A collection of objects that have the same type is called a(n)________.
a. data structure
b. interface
c. module
d. class
7. An instance of a class is know as a(n)_______.
a. module
b. object
c. abstract data type
d. data structure
8. __________ describes the ability of a class to derive properties from a preciously defined class.
a. Encapsulation
b. inheritance
c. polymorphism
d. information hiding
9. Lifelines and activation bars are a part of a ________ within the UML.
a. use case
b. sequence diagram
c. class diagram
d. main success scenario
10. In the UML, a(n)_______ represent inheritance.
a. arrow pointing to the child class.
b. diamond positioned next to the parent class.
c. line between the parent and child class.
d. open triangle pointing to the parent class.
11. What is Byte-Code?
a. a language that machines used to communicate with each other.
b. a language made up of binary code instruction that is used directly by a computer.
c. a low- level programming language in which mnemonics are used.
d. a language that used English words for operations.
12. What is virtual machine?
a. a machine that lives on the internet.
b. a machine that does not exit.
c. a machine that runs Byte- codes.
d. a program that makes one computer act like another.
e. an oxymoron
13. Java Byte-Code is:
a. executed
b. complied
c. interpreted
d. assembled
e. translate
14. What can a java identifier name?
15. Which of the following is the name of the standard data type?
16. Which of the following is a valid char literal?
17. Which of the following are valid string literals?
18. If you want others to be able to access a field, you must use which modifier?
19. A class is:
20 Ab object is:
21. Which of the following statement is false?
22. An advantage of inheritance is that:
23. Which of the following statement about swing GUL components is false?
24. Which of the following does not generate GUL events?
25. Which of the following most completely describes the steps for setting up events handling for a GUL component?
11 years ago
Purchase the answer to view it

- self_contained.docx