CSCI441 final

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following responsibility is assigned during the software design? Knowing Doing Communicating

Communicating

Write the SQL command that delete a row from the table. (One word)

DELETE

Which of the following SQL statements is used to insert new data in a database? ADD INSERT INTO INSERT ADD INTO

INSERT INTO

Which measurement scale is used to measure a temperature? Interval Nominal Ratio Ordinal

Interval

Which of the following measurement scales cannot apply any arithmetic operation? Interval Nominal Ratio Ordinal

Nominal Ordinal

______________________ defines a set of abstract states that a software unit can take and tests the unit's behavior by comparing its actual states to the expected states. Control Flow Testing State-based Testing Boundary Testing Equivalence Testing

State-based Testing

An method's signature includes method name and method parameter list T/F

T

Measures software complexity from the ___________'s viewpoint in terms of how the size of the input data affects an algorithm's usage of computational resources (usually running time or memory)

machine

Regarding to the case study Stock Trade, which of the follows is the event that trigger the transition from state Pending to Executing? matched archive submit One of the two states doesn't exist

matched

The NOT NULL constraint enforces a column to not accept null values. t/f

t

Weak cohesion indicate poor design. t/f

t

cyclomatic complexity is also equal to the number of binary decisions in a program plus _________.

1

Assume the UCP variables have the following values: UUCP = 97, TCF = 0.91, ECF = 1.07, then what is the UCP? Round it to nearest integer.

94

Which of the following is a key responsibility of an object? knowing something of its own doing something on its own calling method of other objects All of the above

All of the above

What software development method AOSD stands for?

Aspect-oriented software development

If I want to create a database table named Students. Write the first three words in SQL command to do so.

CREATE TABLE Students

A ___________ is a path that begins and ends at the same node.

Circuit

Which of the following is NOT a proposition? Mary got A in her programming class Programming is fun 6 is an even number Close the door, please.

Close the door, please.

____________ is defined as a measure of relatedness or consistency in the functionality of a software unit. Coupling Intergration Modularization Cohesion

Cohesion

In "Safe Home Access Control" case study, for use case "Inspect Access History", which of the following will be assign the responsibility for "Retrieve the record from Database Connection"? Page Maker Controller Database Database Connection

Controller

Which of the following is an actor in the UML representation of an ATM project? Customer Withdraw Cash Money Transaction record

Customer

Which of the following is NOT a software design issue? Design for reuse Design for change Design for cheap Design for security

Design for cheap

Which of the following is known as the law of diminishing returns Simpler software costs less money Improving accuracy of estimation beyond a certain point requires huge cost and effort Simple software costs more money Computer chip performance will double every 18 month

Improving accuracy of estimation beyond a certain point requires huge cost and effort

Which of the following is Not a relation in Concept Map of "Home Access Control" case study? wishes enters causes Key

Key

Which of the following is NOT an important design principle at local object level? Low Coupling Principle Less Message Principle Expert Doer Principle High Cohesion Principle

Less Message Principle

Which property of complexity metric is the following: Cognitively more difficult should be measured as greater complexity Monotonicity Discriminative power Ordering Normalization

Ordering

Which of the following quality are provided by Database System? Reliability Security data entry validation Recovery

Reliability Security data entry validation Recovery

Which of the following is the role of the customer in a software project? Requires a computer system to achieve some business goals Understand how the system-to-be interact with the user or the environment and design the software-to-be Implement the software-to-be designed by the software engineer

Requires a computer system to achieve some business goals

A popular approach to micro-level design is known as RDD. What RDD stands for? Responsibility-detected design Responsibility-driven design Relationship-detected design Relationship-driven design

Responsibility-driven design

"Software shall be written for people first" is a law of software engineer, according to Dr. Ivan Marsic T/F

T

Only the methods that are designated as public comprise the class interface T/F

T

Software is complex T/F

T

The object-oriented approach starts by breaking up the whole program into software objects with specialized roles and creating a division of labor T/F

T

Which of the follows are NOT reasons that we measure software? To improve software quality To estimate develop time To set software price To estimate develop budget

To set software price

"Input & output data structures" is belong to _______________________________ Information Display Frame Transformation Frame Required behavior frame Simple workpieces frame

Transformation Frame

In domain modeling, we first identify the _____________________ object, which collects the information from the actor and translates it into a form that can be used by "internal" objects.

boundary

A test ___________ is a particular choice of input data to be used in testing a program

case

Unlike analysis, where we deal with abstract _____________, in design, we deal with concrete software objects.

concepts

Black box testing normally conducted by who and for what testing? programmer, acceptance programmer, unit customer, acceptance customer, unit

customer, acceptance

Software architecture is a set of high-level ____________ that determines the structure of the solution.

decisions

Which of the following forcus on implementing the funtional requirements? architecture design

design

We can also represent our machine graphically, using a transition diagram, which is a ____________ graph with labeled edges.

directed

If a user's goal has several subgoals, some of which are optional, we can indicate this information in a use case diagram using the _____________ stereotype.

extend

A useful strategy for building a domain model is to start with the internal concepts (Step 1), and then identify their interact directly with the actors (Step 2). t/f

f

An actor associate with a person. t/f

f

An invariant applies to a class operation. t/f

f

Assume that LightController is a child class of HouseholdDeviceController, Then the LightController inherite all methods in HoursholdDeviceController class, except the contructors t/f

f

ECF (Environment Complexity Factor) values greater than one reduce the UCP (Use Case Points) t/f

f

High Cohesion Principle helps to reduce the number of associations among the objects. t/f

f

If client request a .php file, server just sends that file t/f

f

In UML State Machine Diagrams, we designate an initial state by drawing an unlabeled state transition from this state to a special icon, shown as a filled circle inside a slightly larger hollow circle. t/f

f

Internal cohesion is more meaningful than external cohesion. t/f

f

Like domain models, the class diagram notation is also standardized by UML. t/f

f

Object Constraints Language is a standalone language. t/f

f

One of the key strength of the original finite-state-machines model in the context of system and software specification are the modularization mechanisms. t/f

f

State is an aggregate representation of the system characteristics that we care to know about looking from inside of the system t/f

f

Which of the following is a relation in case study "Personal Investment Assistant"? mutual fund people who trade have broker

have

Which of the following is the UML notation for is-a relationship? filled diamond hollow diamond filled triangle hollow triangle

hollow triangle

An association in domain model doesn't describe which of the following? Who Why How None of the above

how

PHP is a server-side scripting language whose scripts are embedded in _______________ documents

html

Which of the following is not a basic Problem Frame type? transformation required behavior small workpieces information distribution

information distribution

Which of the following will be the function body for setter method for attribute lightIntensity? Assume the argument of the method has name intensity? this.intensity = intensity; intensity = lightIntensity; lightIntensity = intensity; LightIntensity = intensity;

lightIntensity = intensity;

The purpose of traceability __________________ is to check that all requirements are covered by the use cases and none of the use cases is created without a reason (i.e. without a requirement from which it was derived).

matrix

The traceability __________________ of domain model traces the domain concepts to the use cases from which they were derived.

matrix

In object oriented programming, objects communicate each other by sending __________________

messages

A design is _________________ when each activity of the system is performed by exactly one unit, and when inputs and outputs of each unit are well defined.

modular

A graph is strongly connected if for any two nodes x and y there is a _______ from x to y and vice versa

path

Communication ________________ is a message-sending relation imposed on a set of objects.

pattern

In Pipe-and-Filter architecture, which of the following is the connector? pipe filter no such a architectural style neither pipe nor filter

pipe

Which of the following is the highest level in hierarchy of software system scope levels? methods product line classes packages

product line

A _____________ variable is a physical part or an attribute of an object

state

A(n) __________ is a relation among individual entities and values, which can change over time

state

SQL stands for _________________ Query Language

structured

A test ___________________ is a minimal implementation that simulates the components which are called by the tested component.

stub

A use case may have different scenarios, the main ___________ scenario and the alternate ones. A system sequence diagram may represent one of those scenarios in entirety, or a subpart of a scenario.

success

A ________________________ is a complex state that is further refined by decomposition into a finite state machine.

superstate

"To see if some parts already exit and can be reused" is oen of the reasons to decompose the system. t/f

t

A key tradeoff of testing: testing as many potential cases as possible while keeping the economic costs limited t/f

t

A state is a relation among individual entities and values, which can change over time t/f

t

An actor can be a primary actor or secondary actor, depending on the use cases. t/f

t

Architectural decisions always involve compromise. t/f

t

Architectural decisions can be made as early as while discussing the requirements with the customers. t/f

t

Deterministic phenomena are the causal phenomena for which the occurrence or non- occurrence can be established with certainty. t/f

t

If we use linearly-independent cyclomatic complexity, then it does not change when program is modularized into p modules. t/f

t

In Stock Trade software project, we will consider a company's bankruptcy as an event. t/f

t

In case study "Safe Home Access Control", One subsystem architectural style is Tiered Architecture. t/f

t

In safe home access case study, If I test the controller class first, I am using Top-Down Integration Testing t/f

t

Inheritance relation is static, it is defined at compile time. t/f

t

PHP is dynamically typed t/f

t

Patterns are used primarily to improve existing designs or code by rearranging it according to a "pattern." t/f

t

Publisher-Subscriber pattern facilitates separation of the business logic (responsibilities, concerns) of objects t/f

t

Relational Database is a set of "relations". t/f

t

Sets A and B are equal if they have exactly the same members. t/f

t

TCF (Technical Complexity Factor) values greater than one increase the UCP (Use Case Points) t/f

t

The system is reactive, not proactive; that is, if left undisturbed, the system would remain forever in the equilibrium state. t/f

t

We usually first elaborate the "normal" scenario, also called main success scenario, which assumes that everything goes perfect. t/f

t

maxAttemptPeriod may be used to control the abuse use risk in our "Safe Home Access Control" case study t/f

t

What is the goal for domain modeling? to understand how system-to-be will work To understand how user will interact with the system-to-be Both of the above None of the above

to understand how system-to-be will work

Problem frames are the building blocks of SE problems-They are the most basic user stories or _______________ cases

use

Which of the following method is not suitable for a large project? waterfall unified process agile

waterfall


Ensembles d'études connexes

intermediate accounting ifrs, chapter 12, conceptual multiple choice

View Set

Health Insurance Multi Choice Question Prep

View Set

Ethical Decision-Making in Business

View Set

Chapter 37: Obstetrics and Care of the Newborn

View Set

Article IV-VII: The Role of the Constitution

View Set

US OB Examination Review Questions

View Set

cognitive processes final exam WORKSHEET

View Set

NU144- Chapter 17: Preoperative Nursing Management

View Set

SEMMELWEIS UNIVERSITY, MEDICAL BIOPHYSICS - FINAL EXAM

View Set

CH 13: Contracts for Sale and Closing

View Set