Showing posts with label MSSS. Show all posts
Showing posts with label MSSS. Show all posts

Sunday, 27 September 2015

Object Oriented Analysis and Design (S2-14_SSZG514) Quiz 3

1.Which of the following can be tested

Select one or more:
a.Only Classes
b.Invalid inputs
c.Valid inputs
d.Events

Answer: b,c,d

2.What are GRASP patterns used for

Select one:
a.Implementing User interaction using a UI
b.Assigning Responsibility and Designing Interactions between classes
c.None of the above
d.Implementing the Input and Output interface Classes

Answer: b

3.What kind of interactions are best between the GUI and other classes

Select one or more:
a. A control class for every one of the UI elements
b. A control class for each usecase implementation
c. A Facade class which controls all interactions between the Domain classes and UI
d.All of the above

Answer: b,c

4.How does object A have visibility to another object B

Select one:
a.Object A has a reference to Object B
b.Object A and B are created for the same Usecase
c.Object A and B are created from the same class
d.None of the above

Answer: A

5.What are the main aspects of fulfilling Responsibility by a Class in Responsibility Driven Design

Select one:
a.Which other Classes the Class should be aware of.
b.What interactions must the Class have with other Classes.
c.What information must the Class know and what actions must a class do.
d.None of the above

Answer: c

6.What are the four common types of visibility between objects

Select one:

a.Attribute, Parameter, Local and Global visibility
b.Attribute, Parameter, Use case and User Interface
c. Use case, interface, subclasses  and User Interface
d.Parameter, interactions, subclasses  and User Interface

Answer:a

7.What are the main advantages of Low Coupling principle

Select one:

a.Low dependency,Low Bottlenecks, and increased reuse
b.Low dependency,Low change impact, and increased reuse
c.None of the above
d.Less number of messages,Low change impact, and increased reuse

Answer: b

8.How does OO testing differs from Procedural code testing

Select one:
a.None of the above
b.There are no variables to be tested
c.Unit testing is Class testing
d.There are no methods to be tested

Answer:c

9.Where does testing begin 

Select one:
a.Just before the final deployment
b.After the Design is final
c.None of the above
d.With the Object Oriented Analysis models

Answer: d

10.What are the four essential elements of a Design pattern

Select one:
a.Name, Problem, Solution and Consequences
b. Problem, Solution, Advantages and Disadvantages
c. Name, Problem, Solution and Linked patterns
d.Name, Solution, Advantages and Disadvantages

Answer:a

11.A Class with Low Cohesion has the following properties with respect to comprehension, maintaining and structure.

Select one:
a.Hard to comprehend, Easy to maintain, Robust and not affected by change
b.Hard to comprehend,  Easy to reuse,Easy to maintain and Delicate and constantly affected by change
c.Hard to reuse,Hard to maintain and  Not affected by change
d.Hard to comprehend, Hard to reuse,Hard to maintain and Delicate and constantly affected by change

Answer:d

12.What is not a Creator Principle about: Class A should create an Object of Class B

Select one:
a.Class A is a superclass of Class B
b.Class A aggregates Objects of Class B
c.Class A has initialization data for Objects of Class B
d.Class A aggregates Objects of Class B

Answer: a

13.Which of the properties are true for Test Driven Development 

Select one or more:
a.Don't write production code without first writing a failing unit test
b.Don't write more code than is sufficient to pass the test
c.None of the above
d.Don't write more of a test than is sufficient to fail

Answer:a,b,d

14. Which of the following  are true for Local Visibility from A to B

Select one or more:
a.B is a subclass of A
b.None of the above
c.Create a new local instance and assign it to a local variable
d.Assign the return object from a method invocation to a local variable

Answer:c,d

15.Parameter visibility is usually converted into

Select one:

a.Attribute visibility
b.Global visibility
c.None of the above
d. Local Visibility

Answer: a

Quiz 2 Software Project Management (S2-14_SSZG622)

1.One of the most important attributes for a software product metric is that it should be
Select one:
a.widely applicable
b.qualitative in nature
c.reliable over time
d.easy to compute

Answer: d

2.Which of the following is not a measure that can be collected from a Web application project?
Select one:
a.Customization index
b.Number of static web pages
c.Number of internal page links
d.Number of dynamic objects

Answer:a


3.Software feasibility is based on which of the following
Select one:
a.scope, constraints, market
b.technical prowess of the developers
c.business and marketing concerns
d.technology, finance, time, resources

Answer: d


4.The best indicator of progress on a software project is the completion of
Select one:
a.successful acceptance of project prototype by the customer
b.successful budget review meeting on time
c.defined engineering activity task
d.successful review of a defined software work product

Answer: d


5.While scheduling a project, effort validation is required for
Select one:
a.Work load of members
b.Checking size estimates
c.Competence of team
d.Timely completion

Answer: d


6.The software engineering environment (SEE) consists of
Select one:
a.Business environment
b.Development team culture
c.Software tools along with hardware environment
d.Software tools

Answer: c


7.Make/Buy decisions are usually not driven by
Select one:
a.Support concerns
b.Staff aspirations
c.Time to market
d.Cost of acquisition

Answer: b


8.Which of the following is not considered a stakeholder in the software process
Select one:
a.Customers
b.Sales people
c.Project managers
d.End users

Answer: b


9.The optimum duration for a project is at the point where
Select one:
a.Direct costs are the lowest
b.Direct costs equal indirect costs
c.Total project costs are the lowest
d.Indirect costs are the lowest

Answer: c


10.Which of following are advantages of using LOC(lines of code) as a size-oriented metric?
Select one:
a.LOC is easily computed
b.LOC can be computed early in the process
c.LOC is language dependent
d.LOC is language independent

Answer: a


11.The first step in project planning is to
Select one:
a.determine the budget
b.establish the objectives and scope
c.select a team organizational model
d.determine the project constraints

Answer: b


12.Empirical estimation models are typically based on
Select one:
a.regression model derived from historical project data
b.expert judgement based on past project experiences
c.trial and error determination of the parameters and coefficients
d.refinement of expected value estimation

Answer: a


13.A task set is a collection of
Select one:
a.responsibilities, milestones, documents
b.milestones, deliverables, metrics
c.engineering work tasks, milestones, deliverables
d.task assignments, cost estimates, metrics


Answer: c

14.Process indicators enable management to
Select one:
a.improve software process
b.adjust work flow
c.track potential risks
d.Assess the status of an on-going project

Answer: a


15.Which of these are NOT valid reasons for measuring software processes, products, and resources?
Select one:
a. To evaluate
b. To price
c. To characterize
d. To improve

Answer: b


16.The software equation can be used to show that
Select one:
a.Any deadline can be met by increasing team size
b.Cost may become prohibitive with schedule compression
c.Productivity goes up when deadline changes
d.Total effort is mainly driven by size in KLOC

Answer: a or d not sure


17.The president of a software company announces that new technologically advanced software will be available in one year. This is an example of reducing project duration by
Select one:
a.Imposed project deadlines
b.High overhead
c.Incentive contract
d.Unforeseen project delays

Answer: a


18.The purpose of earned value analysis is to
Select one:
a.provide a quantitative means of assessing software project progress
b.provide a qualitative means of assessing software project progress
c.set the price point for a software product based on development effort
d.determine how to compensate developers based on their productivity

Answer: a


19.FP-based estimation techniques require problem decomposition based on
Select one:
a.process activities
b.software functions
c.information domain values
d.project schedule


Answer: c


20.One of the best ways to avoid frustration during the software development process is to
Select one:
a.hide bad news from the project team members until things improve
b.give team members less control over process and technical decisions
c.give team members more control over process and technical decisions
d.reward programmers based on their productivity

Answer: c

Quiz: Software Project Management(B)(SS ZG622)

1. The waterfall model of software development is
Select one:
a. The best approach to use for projects with large development teams
b. A good approach when a working program is required quickly
c. A reasonable approach when requirements are well defined
d. An old fashioned model that is not used any more
Answer: C
2. Which of the following is not a main project objective?
Select one:
a. Cost
b. Structure
c. Time
d. Quality
Answer: B
3. LOC-based estimation techniques require problem decomposition based on
Select one:
a. software functions
b. project schedule
c. process activities
d. information domain values
Answer: A
4. From among the following activities, which is the best example of a project?
Select one:
a. Developing HIV vaccine
b. Processing insurance claims
c. Writing a term paper
d. Producing automobiles
Answer:
5. The objective of software project planning is to
Select one:
a. determine the probable profit margin prior to bidding on a project
b. make use of historical project data
c. convince the customer that a project is feasible
d. enable a manager to make reasonable estimates of cost and schedule
Answer: D
6. Which of these are the 5 generic software engineering framework activities?
Select one:
a. communication, risk management, measurement, production, reviewing
b. communication, planning, modeling, construction, deployment
c. analysis, designing, programming, debugging, maintenance
d. analysis, planning, designing, programming, testing
Answer: B
7. "To construct a high-quality, custom home within eight months at costs not to exceed twenty lakh rupees" is best classified as
Select one:
a. A limit
b. A deliverable
c. An objective
d. A milestone
Answer: C
8. Which these are reasons for using technical product measures during software development?
Select one:
a. they help capturing client requirements clearly
b. they allow all quality software quality information to be expressed unambiguously as a single number
c. provide software engineers with an objective mechanism for assessing software quality
d. large body of scientific evidence supports their use
Answer: C
9. Architectural design metrics focus on
Select one:
a. Program Structure
b. Module complexity
c. Data relationships
d. Effectiveness of modularization
Answer: D
10. Which of the following is not a main element of the project management process?
Select one:
a. Estimate
b. Monitor
c. Schedule
d. Design
Answer: D
11. The process of forecasting or approximating the time and cost of completing project deliverables is called
Select one:
a. Budgeting
b. Estimating
c. Planning
d. Accounting
Answer: B
12. The incremental model of software development is
Select one:
a. A revolutionary model that is not used for commercial products
b. A reasonable approach when requirements are well defined
c. A good approach when a working core product is required quickly
d. The best approach to use for projects with large development teams
Answer: C
13. Learning curves are more likely to apply in situations where most of the costs are
Select one:
a. Materials
b. Overhead
c. Prototype
d. Labor
Answer: D
14. Which of the following is not necessary to apply agility to a software process?
Select one:
a. Eliminate the use of project planning and testing
b. Process allows team to streamline tasks
c. Uses incremental product delivery strategy
d. Only essential work products are produced
Answer: A
15. Software feasibility is based on which of the following
Select one:
a. business and marketing concerns
b. technical prowess of the developers
c. technology, finance, time, resources
d. scope and market
Answer: C
16. Identify from the below who is NOT a typical project stakeholder?
Select one:
a. End-user of the project
b. Project Manager
c. Shareholder of the vendor organization
d. CFO of the client organization
Answer: C
17. The tendency for the project deliverables to expand over time-usually by changing requirements, specifications, and priorities-is called
Select one:
a. Project add-on
b. Scope enhancement
c. Scope creep
d. Project bloat
Answer: C
18. Which of the following is not one of the commonly heard comments of project managers?
Select one:
a. Why is this project so strongly linked to the strategic plan?
b. Why are we doing this project?
c. Where did this project come from?
d. Where are we going to get the resources to do this project?
Answer: A
19. The highest element in the hierarchical breakdown of the WBS is
Select one:
a. Project
b. Major deliverable
c. A work package
d. Framework activity
Answer: A
20. Which of the following is especially useful for monitoring project progress against plan?
Select one:
a. Gantt Charts
b. Flow diagrams
c. Sequence Diagrams
d. Network diagrams
Answer: A