(COMPLETE EXAM) | ALL QUESTIONS AND CORRECT
ANSWERS | ALREADY GRADED A+ | VERIFIED ANSWERS |
LATEST EXAM 2025
What are the 5 steps in the UML design process? In which steps do use
case, use case diagrams, and class diagrams take place? ---------
CORRECT ANSWER-----------------1.Gather Requirements
2. Describe the Application (use case and use case diagram)
3. Identify the main objects
4. Describe the interactions between objects
5. Create a class diagram (class diagram)
What does a use case provide? ---------CORRECT ANSWER-----------------A
simple narrative for how people use the application. It is written text and
there is no coding at this point. This is created after gathering the
requirements.
What is a title in a use case? ---------CORRECT ANSWER-----------------This
is a short phrase with an active verb that describes the goal. For example,
"register new members".
What is an actor in a use case? ---------CORRECT ANSWER-----------------
This is the person or entity who needs to accomplish something.
,What must be true of entities for them to be considered actors in a use
case? ---------CORRECT ANSWER-----------------As long as an entity exists
outside of the described system it can interact with the system. In this case
the entity can accomplish something within the system and is considered
an actor.
What is a scenario in a use case? ---------CORRECT ANSWER----------------
-This is how the actor accomplishes the activity or goal.
What does a use case diagram provide? What is the purpose of creating a
case diagram? ---------CORRECT ANSWER-----------------The use case
diagram allows you to look more broadly at the requirements of an
application by visualizing several use cases and multiple actors at the
same time.
What does a class diagram provide? What is the purpose of creating a
class diagram? ---------CORRECT ANSWER-----------------A class diagram is
a visual representation of classes needed. Its most basic structure defines
the class name, attributes that it will have, and operations, or methods. This
is also where you define inheritance and polymorphism. It allows you to
plan out the classes that you will create and their basic structure so that
when you translate this to code you know what is needed.
What is a programming library? Why are libraries useful? ---------CORRECT
ANSWER-----------------A programming library is simply code that is already
written, already tested, and ready for you to link to and use. These can
greatly reduce the amount of time to write code.
What is a compiled programming language? ---------CORRECT ANSWER--
---------------You write your source code and then a compiler goes through
, the code and creates a separate file that contains the machine code. This
separate file is an executable file because the computer can directly
execute it. All of the code is converted at once and the new compiled file is
no longer editable.
What is an interpreted programming language? ---------CORRECT
ANSWER-----------------An interpreted language does the conversion from
source code to machine code on-the-fly. There is no separate machine
code file. The computer executes each line when it is needed. This means
that all of the code is saved in a format that is editable programming
language.
What is the main difference in compiled and interpreted code? ---------
CORRECT ANSWER-----------------The main difference is when the code is
converted to machine language. A compiled language converts all of the
code at one time, before the code is run by the machine, and saves this
into a new file. That new file is now machine code, and is not editable. An
interpreted language still needs to convert to machine language in order for
the computer to understand it, but it does this at the time that the code is
executed. The original programming language is preserved, so it is
editable.
What does it mean if a programming language is object oriented? ---------
CORRECT ANSWER-----------------An object oriented programming
language that is organized around objects or classes, rather than "actions".
Object-oriented programming takes the view that what we really care about
are the objects we want to manipulate rather than the logic required to
manipulate them.
Which of these programs is object-oriented: ---------CORRECT ANSWER---
--------------Java, .NET & C#, Ruby, Python, Objective-C