Summary MCQ AD
Summary MCQ AD
(a) Developer
(b) User
(c) Contractor
(d) Initiator
(e) Client.
11) Which of the following ensures that software meets the user’s functional and non functional
requirements?
(a) Software testing
(b) Verification
(c) Validation
(d) All of the above
13) Which one of the following is not a phase in the requirements elicitation process?
(a) Requirements prioritization and negotiation
(b) Requirement specification
(c) Requirement analysis
(d) Requirement classification and organization
17) If an object is a part of another main object, and both can exist independently, this relationship is
known as
(a) Inheritance
(b) Composition
(c) Aggregation
(d) Association
(e) Polymorphism
18) What is a difference between waterfall model and reuse oriented software engineering?
a) The main process activities are different.
b) In reuse-oriented software engineering you may have to go back and repeat a stage before the
software is delivered.
c) Both approaches are used to develop only large systems
d) All of the above are correct (differences)
19) Which of the following stages occur after requirement specification when developing software
applications using reusable components?
a) System Design with Reuse
b) Development
c) Component Analysis
d) Development and Integration of components
21) ________is a very early build intended for limited distribution to a few key customers and to marketing
for demonstration purposes.
(a) Alpha release
(b) Beta release
(c) Test release document
(d) Build
22) Boundary value analysis belong/s to?
a) White Box Testing
b) Black Box Testing
c) None of the Above
d) Both of the Above
What is the minimum number of tests which would be required for 100% statement and for 100% decision
coverage?
Which of the test cases below will cover the following series of state transitions?
S1 -SO-S1 -S2-SO
a) D, A, B, C.
b) A, B, C, D.
c) D, A, B.
d) A, B, C.
27) What is the normal order of activities in which software testing is organized?
a) Unit, integration, system, validation
b)System, integration, unit, validation
c) Unit, integration, validation, system
d)None of the above
The above diagram represents the following paths through the code:
a) vwy.
b) vwz.
c) vxy.
d) vxz.
28) What is the MINIMUM combination of paths required to provide
full statement coverage?
a) 1 only.
b) 1, 2 and 4.
c) 1, 2, 3 and 4.
d) 1, 3 and 4.
30) The software life cycle can be said to consist of a series of phases. The classical model is referred to as
the waterfall model. Which phase may be defined as "The concept is explored and refined, and the
client's requirements are elicited?"
(a) Requirements
(b) Specification
(c) Design
(d) Implementation
31) In the maintenance phase the product must be tested against previous test cases. This is known as
__________ testing.
(a) Unit
(b) Integration
(c) Regression
(d) Module
(e) Beta.
32) Domain Engineering in CBSE is to
(a) Identification of components
(b) Catalogue reusable components
(c) Domain modeling
(d) Structural modeling
(e) All the above.
33) A simple way of looking at the spiral software life-cycle model is as a waterfall model with each phase
proceeded by
(a) Build-and-fix
(b) Freezing
(c) Synchronization
(d) Testing
(e) Risk analysis.
35) How does a software project manager need to act to minimize the risk of software failure?
(a) Double the project team size
(b) Request a large budget
(c) Form a small software team
(d) Track progress
(e) Request for more period of time.
36) The tools for computing critical path and project completion times from activity networks is/are
I. CPM.
II. DRE.
III. FP.
IV. PERT.
a) Both (I) and (III) above
b) Both (I) and (IV) above
c) Both (II) and (IV) above
d) Both (II) and (III) above
e) All (I), (II), (III) and (IV) above.
37) The following is a list of defects found in a system and/or its associated documents
1. Overly complicated construct
2. Syntax violation of code
3. Vulnerabilities to security
4. Unused variables exist in the code
How many of these can be identified by Static Testing
(a) All of the above
(b) None of the above
(c) 1,3 and 4 only
(d) 4 only
38) You are a tester for testing a large system. The system data model is very large with many attributes and
there are a lot of inter dependencies with in the fields. What steps would you use to test the system and
also what are the efforts of the test you have taken on the test plan
a) Improve super vision, more reviews of artefacts or program means stage containment of the defects.
b)Extend the test plan so that you can test all the inter dependencies
c) Divide the large system in to small modules and test the functionality
d)Test the interdependencies first, after that check the system as a whole
39) In which of the the following stages does unit testing occur?
(a) Design
(b) System integration
(c) Implementation
(d) None of the above
43) A supermarket offers a number of loyalty card accounts based on thecustomer purchase history held
on a continuous basis as follows:
If the customer has purchased more than 100,000 worth of items , but below LKR 200, 000 – Bronze
Account. Purchases at least LKR 200,000 but below LKR 400,000 - Premium Account. Purchases at
least LKR 400,000 but below LKR 600,000 - Platinum Account. Purchases at least LKR 600,000 - Special
Account.(Units are in Sri Lankan Rupees )
Which of the following values are boundary values?
a) LKR 100,000, 200,000 , 400,000 , 600,000
b) LKR 99,999 , 100,100, 100,001
c) LKR 99,000 , 199,999, 399,999, 599,998
d) LKR 100,002, 200,001, 400,001, 600,001
44) Which one of the following statements on Test Driven Development is not true?
a) It is iterative
b)Uses automated tests
c) Removing bugs is easy
d)Used in the waterfall model
45) A white box testing technique that measures the number of or percentage of decision directions
executed by the test case designed is called
(a) Condition coverage
(b) Decision/Condition coverage
(c) Decision Coverage
(d) Branch coverage
47) Given the following decision table: What is the expected result for each of the following test cases (TC1 and
TC3)?
Rulel Rule 2 Rule3 Rule 4
Conditions
Premium ticket holder FALSE TRUE FALSE FALSE
Silver card holder TRUE , FALSE TRUE FALSE
20 cabin points TRUE FALSE FALSE t TRUE
Actions
Free car to airport TRUE FALSE FALSE FALSE
Use of lounge TRUE FALSE TRUE FALSE
Dedicated check - in TRUE TRUE TRUE TRUE
(a) TC1- allow use of lounge and dedicated check-in but no car; TC3 - allow dedicated check-in only.
(b) TC1- allow use of lounge, car and dedicated check-in; TC3 - allow dedicated check-in only.
(c) TC1- allow use of lounge only; TC3 - allow use of lounge and dedicated check-in.
(d) TC1- allow dedicated check-in only; TC3 - allow dedicated check-in only.
48) A program with high cyclometric complexity is almost likely to be:
(a) Large
(b) Small
(c) Difficult to write
(d) Difficult to test
50) A system requires 100% statement and 100% decision coverage at component testing for all modules. The
following module, shown in the control flow diagram below, has been tested with two test cases.
Test case 1 follows the path A, B, D, E, F, G. Test case 2 follows the path A, C, D E, F, What level of coverage has
been achieved?
a. Statement coverage 100%; decision coverage 100%.
b. Statement coverage 100%; decision coverage 75%.
c. Statement coverage 75%; decision coverage 75%.
d. Statement coverage 100%; decision coverage 50%.
“Imagine that you were recently hired as a software engineer to a company that specializes in aircraft
navigation control software. While orientating yourselves to the company’s work practices, you
observe that they in fact do not conduct a few tests that they should in order to comply with the
relevant safety standard. When you inquire about this from the project manager, he dismisses it
saying that those tests are really unnecessary (and takes an unreasonably long time to conduct, as
well as being superfluous) and that they have managed with the other tests for so long, without any
problems.”
(a) You should immediately resign from the company and file a complaint with the relevant standard
institution
(b) You should do nothing and let the matter slide
(c) Although you are new to the company, and you hardly know anything about the internal
processes and politics, you should insist on the company changing its work practices
immediately; failing which you threaten to report the matter
(d) Since you are new to the company, and you are unfamiliar with the internal processes and
politics, you should first find-out more about the issue and its background
(e) None of the above statements are correct
54) Which of the following interface design principles reduces the user’s memory load?
i. Define intuitive shortcuts
ii. Disclose information in a progressive fashion
iii. Establish meaningful defaults
iv. Provide an on-line tutorial
a) Only (I) above
b) Only (II) above
c) Only (III) above
d) (I), (II) and (III) above
e) All (I), (II), (III) and (IV) above.
55) Which of the following task(s) is/are not part of software configuration management?
i. Change control.
ii. Reporting.
iii. Statistical quality control.
a) Only (I) above
b) Only (II) above
c) Only (III) above
d) Both (I) and (II) above
e) Both (I) and (III) above.
57) Myers (1978) identifies seven levels of cohesion. Which level of cohesion may be defined as followed;
"the output from one element in the component serves as input for some other element"?
(a) Communicational cohesion
(b) Functional cohesion
(c) Communicational cohesion
(d) Temporal cohesion
(e) None of these.
58) In the classical chief programmer team approach, the team member responsible for maintaining the
detailed design and coding is
(a) The chief programmer
(b) The programming secretary
(c) A specialized function that exists outside 'the team'
(d) The individual coder (i.e. programmer)
(e) The back-up programmer.
59) What is the expected result for each of the following test cases?
60) Which software process model is based on the three basic software development approaches?
a) Bohem’s spiral model
b) Waterfall model
c) Rational Unified process
d) None of the above
61) What is the fundamental reason that software cannot be considered to be engineered?
(a) It is designed by humans and therefore flawed
(b) Software engineering (as opposed to other forms of engineering, such as Civil) is an art - not a
science
(c) The discipline is relatively new, say in comparison to bridge building that is an activity that has
millennia of practice
(d) None of these are true. Software Engineering is a truly rigorous discipline
(e) The complexity of systems and their interaction continues faster than we can understand it.
62) To be an effective aid in process improvement the baseline metrics used must be
(a) Based on reasonable estimates from failed projects
(b) Measured consistently across projects
(c) Drawn from large projects only
(d) Based only on successful projects
(e) Drawn from failed projects.
64) Which of the following is not viewed as a primary motivator in improving a software process?
(a) Increased Effectiveness
(b) Better Product Quality
(c) Improved Staff Satisfaction
(d) Reduced Costs
(e) Tighter managerial control.
67) What is the difference between a project risk and a product risk?
a) Project risks are potential failure areas in the software or system; product risks are risks that
surround the project’s capability to deliver its objectives.
b) Project risks are the risks that surround the project’s capability to deliver its objectives;
product risks are potential failure areas in the software or system.
c) Project risks are typically related to supplier issues, organizational factors and technical issues;
product risks are typically related to skill and staff shortages.
d) Project risks are risks that delivered software will not work; product risks are typically related
to supplier issues, organizational factors and technical issues.
68) A supermarket offers a number of loyalty card accounts based on the customer purchase history held
on a continuous basis as follows:
If the customer has purchased more than 100,000 worth of items, but below LKR 200, 000 – Bronze
Account. Purchases at least LKR 200,000 but below LKR 400,000 - Premium Account. Purchases at least
LKR 400,000 but below LKR 600,000 - Platinum Account. Purchases at least LKR 600,000 - Special
Account.(Units are in Sri Lankan Rupees )
Which of the following values are boundary values?
(a) LKR 100,000, 200,000 , 400,000 , 600,000
(b) LKR 99,999 , 100,100, 100,001
(c) LKR 99,000 , 199,999, 399,999, 599,998
(d) LKR 100,002, 200,001, 400,001, 600,001
71) Which of the following items should not be included in the software project management plan?
(a) The techniques and case tools to be used
(b) Detailed schedules, budgets and resource allocations
(c) The life cycle model to be used
(d) The organisational structure of the development organisation, project responsibilities,
managerial objectives and priorities
(e) None of the above.
72) What is the fundamental reason that software cannot be considered to be engineered?
(a) It is designed by humans and therefore flawed
(b) Software engineering (as opposed to other forms of engineering, such as Civil) is an art - not a
science
(c) The discipline is relatively new, say in comparison to bridge building that is an activity that has
millennia of practice
(d) None of these are true. Software Engineering is a truly rigorous discipline
(e) The complexity of systems and their interaction continues faster than we can understand it.
73) Which configuration objects would not typically be found in the project database?
(a) Design specification
(b) Marketing data
(c) Executable code
(d) Test plans
(e) Test procedures.
78) Which of the following is not the guiding principle of software project scheduling?
(a) Compartmentalization
(b) Market assessment
(c) Time allocation
(d) Effort validation
(e) Interdependency.
79) In the maintenance phase the product must be tested against previous test cases. This is known as
(a) Unit testing
(b) Integration testing
(c) Regression testing
(d) Module testing
(e) Beta testing
84) To be an effective aid in process improvement the baseline metrics used must be
(a) Based on reasonable estimates from failed projects
(b) Measured consistently across projects
(c) Drawn from large projects only
(d) Based only on successful projects
(e) Drawn from failed projects.
85) The software life cycle can be said to consist of a series of phases. The classical model is referred to as the
waterfall model. Which phase may be defined as "The concept is explored and refined, and the client's
requirements are elicited?”
a) Requirements
b) Specification
c) Design
d) Implementation
e) Integration
87) Which one of the following is not a stage in the requirement specification activity?
(a) System validation
(b) Feasibility study
(c) Requirement validation
(d) None of the above
88) You are a tester for testing a large system. The system data model is very large with many attributes
and there are a lot of inter dependencies with in the fields. What steps would you use to test the system
and also what are the efforts of the test you have taken on the test plan
a) Improve supervision, more reviews of artefacts or program means stage containment of the defects.
b)Extend the test plan so that you can test all the inter dependencies
c) Divide the large system in to small modules and test the functionality
d)Test the interdependencies first, after that check the system as a whole
90) Which of the following activities would NORMALLY be undertaken during test planning?
1. Defining the test levels.
2. Designing test conditions.
3. Controlling test progress. <
4. Identifying the objectives of testing.
5. Determining tests data requirements.
6. Defining the testing roles.
(a) 2, 3 and 4.
(b) 1, 4 and 6.
(c) 1, 4 and 5.
(d) 2, 3 and 6
93) The relationship between a derived class (or subclass) and base class is referred to as
(a) Association
(b) Inheritance
(c) Polymorphism
(d) Instantiation
(e) Aggregation.
96) Which one of the following may not refer to user requirements frequently?
(a) Client Managers
(b) System End-Users
(c) Developers
(d) System Architects