

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) .
101. |
Incremental development in Extreme Programming (XP) is supported through a system release once every month. |
A. | true |
B. | false |
Answer» B. false | |
Explanation: incremental development is supported through small, frequent system releases. |
102. |
In XP, as soon as the work on a task is complete, it is integrated into the whole system. |
A. | true |
B. | false |
Answer» A. true | |
Explanation: xp follows a continuous integration approach.after any such integration, all the unit tests in the system must pass. |
103. |
In XP Increments are delivered to customers every weeks. |
A. | one |
B. | two |
C. | three |
D. | four |
Answer» B. two | |
Explanation: extreme programming (xp) takes an ‘extreme’ approach to iterative development.new versions may be built |
104. |
Is a customer involved test development and validation in XP ? |
A. | yes |
B. | no |
C. | it may vary from customer to customer |
D. | none of the mentioned |
Answer» C. it may vary from customer to customer | |
Explanation: the role of the customer in the testing process is to help develop acceptance tests for the stories that are to be implemented in the next release of the system.however, people adopting the customer role have limited time available and so cannot work |
105. |
Programmers prefer programming to testing and sometimes they take shortcuts when writing tests. For example, they may write incomplete tests that do not check for all possible exceptions that may occur. |
A. | true |
B. | false |
Answer» A. true | |
Explanation: in xp some tests can be very difficult to write incrementally.for example, in a complex user interface, it is often difficult to write unit tests for the code that implements the ‘display logic’ and workflow between screens. |
106. |
Tests are automated in Extreme Programming. |
A. | true |
B. | false |
Answer» A. true | |
Explanation: automated test harnesses are used to run all component tests each time that a new release is built. |
107. |
In XP an automated unit test framework is used to write tests for a new piece of functionality before that functionality itself is implemented. |
A. | true |
B. | false |
Answer» A. true | |
Explanation: xp follows test-first development approach. |
108. |
Developers work individually on a release and they compare their results with other developers before forwarding that release to customers. |
A. | true |
B. | false |
Answer» B. false | |
Explanation: xp follows the principle of pair programming which means developers work in pairs, checking each other’s work and providing the support to always do a good job. |
109. |
Which four framework activities are found in the Extreme Programming(XP) ? |
A. | analysis, design, coding, testing |
B. | planning, analysis, design, coding |
C. | planning, design, coding, testing |
D. | planning, analysis, coding, testing |
Answer» C. planning, design, coding, testing | |
Explanation: xp involves the mentioned four activities, and in the same in order. |
110. |
Which process can be affected by other processes executing in the system? |
A. | cooperating process |
B. | child process |
C. | parent process |
D. | init process |
Answer» A. cooperating process | |
Explanation: none. |
111. |
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called? |
A. | dynamic condition |
B. | race condition |
C. | essential condition |
D. | critical condition |
Answer» B. race condition | |
Explanation: none. |
112. |
If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called? |
A. | mutual exclusion |
B. | critical exclusion |
C. | synchronous exclusion |
D. | asynchronous exclusion |
Answer» A. mutual exclusion | |
Explanation: none. |
113. |
Which one of the following is a synchronization tool? |
A. | thread |
B. | pipe |
C. | semaphore |
D. | socket |
Answer» C. semaphore | |
Explanation: none. |
114. |
A semaphore is a shared integer variable |
A. | that can not drop below zero |
B. | that can not be more than zero |
C. | that can not drop below one |
D. | that can not be more than one |
Answer» A. that can not drop below zero | |
Explanation: none. |
115. |
Mutual exclusion can be provided by the |
A. | mutex locks |
B. | binary semaphores |
C. | both mutex locks and binary semaphores |
D. | none of the mentioned |
Answer» C. both mutex locks and binary semaphores | |
Explanation: binary semaphores are known as mutex locks. |
116. |
When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called |
A. | priority inversion |
B. | priority removal |
C. | priority exchange |
D. | priority modification |
Answer» A. priority inversion | |
Explanation: none. |
117. |
Process synchronization can be done on |
A. | hardware level |
B. | software level |
C. | both hardware and software level |
D. | none of the mentioned |
Answer» C. both hardware and software level | |
Explanation: none. |
118. |
7 INTERACTIVE PROCESSES |
A. | shared data structures |
B. | procedures that operate on shared data structure |
C. | synchronization between concurrent procedure invocation |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: none. |
119. |
To enable a process to wait within the monitor |
A. | a condition variable must be declared as condition |
B. | condition variables must be used as boolean objects |
C. | semaphore must be used |
D. | all of the mentioned |
Answer» A. a condition variable must be declared as condition | |
Explanation: none. |
120. |
Which of the following are parameters involved in computing the total cost of a software development project? |
A. | hardware and software costs |
B. | effort costs |
C. | travel and training costs |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: all these are accounted for in estimating a software development cost. |
121. |
Which of the following costs is not part of the total effort cost? |
A. | costs of networking and communications |
B. | costs of providing heating and lighting office space |
C. | costs of lunch time food |
D. | costs of support staff |
Answer» C. costs of lunch time food | |
Explanation: this is a incurred by the employees. |
122. |
What is related to the overall functionality of the delivered software? |
A. | function-related metrics |
B. | product-related metrics |
C. | size-related metrics |
D. | none of the mentioned |
Answer» A. function-related metrics | |
Explanation: productivity is expressed in terms of the amount of useful functionality produced in some given time. function points and object points |
123. |
A is developed using historical cost information that relates some software metric to the project cost. |
A. | algorithmic cost modelling |
B. | expert judgement |
C. | estimation by analogy |
D. | parkinson’s law |
Answer» A. algorithmic cost modelling | |
Explanation: the model uses a basic regression formula with parameters that are derived from historical project data and current as well as future project characteristics. |
124. |
It is often difficult to estimate size at an early stage in a project when only a specification is available |
A. | true |
B. | false |
Answer» A. true | |
Explanation: function-point and object-point estimates are easier to produce than estimates of code size but are often still inaccurate. |
125. |
Which technique is applicable when other projects in the same analogy application domain have been completed? |
A. | algorithmic cost modelling |
B. | expert judgement |
C. | estimation by analogy |
D. | parkinson’s law |
Answer» C. estimation by analogy | |
Explanation: the cost of a new project is estimated by analogy with these completed projects. |
126. |
Which model assumes that systems are created from reusable components, scripting or database programming? |
A. | an application-composition model |
B. | a post-architecture model |
C. | a reuse model |
D. | an early design model |
Answer» A. an application-composition model | |
Explanation: it is designed to make estimates of prototype development. |
127. |
Which of the following states that work expands to fill the time available. |
A. | case tools |
B. | pricing to win |
C. | parkinson’s law |
D. | expert judgement |
Answer» C. parkinson’s law | |
Explanation: the cost is determined by available resources rather than by objective assessment. if the software has to be delivered in 12 months and 5 people are available, the effort required is estimated to be 60 person-months. |
128. |
Which model is used during early stages of the system design after the requirements have been established? |
A. | an application-composition model |
B. | a post-architecture model |
C. | a reuse model |
D. | an early design model |
Answer» D. an early design model | |
Explanation: estimates are based on function points, which are then converted to number of lines of source code. the formula follows the standard form discussed above with a simplified set of seven multipliers. |
129. |
Which model is used to compute the effort required to integrate reusable components or program code that is automatically generated by design or program translation tools? |
A. | an application-composition model |
B. | a post-architecture model |
C. | a reuse model |
D. | an early design model |
Answer» C. a reuse model | |
Explanation: none. |
130. |
The COCOMO model takes into account different approaches to software development, reuse, etc. |
A. | true |
B. | false |
Answer» B. false | |
Explanation: its the cocomo-2 model. cocomo 2 incorporates a range of sub- models that produce increasingly detailed software estimates. |
131. |
Which of the following is not a metric for design model? |
A. | interface design metrics |
B. | component-level metrics |
C. | architectural metrics |
D. | complexity metrics |
Answer» D. complexity metrics | |
Explanation: complexity metrics measure the logical complexity of source code. |
132. |
Statement and branch coverage metrics are part of |
A. | analysis model |
B. | testing |
C. | design model |
D. | source code |
Answer» B. testing | |
Explanation: these metrics lead to the design of test cases that provide program coverage. |
133. |
Function Points in software engineering was first proposed by |
A. | booch |
B. | boehm |
C. | albrecht |
D. | jacobson |
Answer» C. albrecht | |
Explanation: first proposed by albrecht in 1979, hundreds of books and papers have been written on functions points since then. |
134. |
How many Information Domain Values are used for Function Point Computation? |
A. | three |
B. | four |
C. | five |
D. | six |
Answer» C. five | |
Explanation: the five values are: external inputs, external outputs, external inquiries, internal logical files and external interface files. |
135. |
Function Point Computation is given by the formula |
A. | fp = [count total * 0.65] + 0.01 * sum(fi) |
B. | fp = count total * [0.65 + 0.01 * sum(fi)]. |
C. | fp = count total * [0.65 + 0.01] * sum(fi) |
D. | fp = [count total * 0.65 + 0.01] * sum(fi) |
Answer» B. fp = count total * [0.65 + 0.01 * sum(fi)]. | |
Explanation: option b is the correct formula for function point computation. |
136. |
Structural complexity of a module i is given as S(i) = f*f (i). What does f symbolizes here? |
A. | “fan check-out” of module i |
B. | “fan check-in” of module i |
C. | “fan in” of module i |
D. | “fan out” of module i |
Answer» D. “fan out” of module i | |
Explanation: fan out is number of modules directly invoked by module i. |
137. |
SMI stands for |
A. | software mature indicator |
B. | software maturity index |
C. | software mature index |
D. | software maturity indicator |
Answer» B. software maturity index | |
Explanation: none. |
138. |
As the SMI approaches 1.0, the software product starts becoming unstable |
A. | true |
B. | false |
Answer» B. false | |
Explanation: as the smi approaches 1.0, the software product begins to stabilize. |
139. |
SMI = [Mt – (Fa + Fc + Fd)]/Mt. Here Mt is the number of modules |
A. | in the current release |
B. | in the current release that have been changed |
C. | from the preceding release that were deleted in the current release |
D. | none of the mentioned |
Answer» A. in the current release | |
Explanation: none. |
140. |
The amount of time that the software is available for use is known as |
A. | reliability |
B. | usability |
C. | efficiency |
D. | functionality |
Answer» A. reliability | |
Explanation: none. |
141. |
Usability in metric analysis is defined as the degree to which the software |
A. | stated needs |
B. | is easy to use |
C. | makes optimal use of system resources |
D. | none of the mentioned |
Answer» B. is easy to use | |
Explanation: none. |
142. |
Which of the following is the reason that software is delivered late? |
A. | changing customer requirements that are not reflected in schedule changes |
B. | technical difficulties that could not have been foreseen in advance |
C. | human difficulties that could not have been foreseen in advance |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
Explanation: none. |
143. |
Which of the following is an activity that distributes estimated effort across the planned project duration by allocating the effort to specific software engineering tasks? |
A. | software macroscopic schedule |
B. | software project scheduling |
C. | software detailed schedule |
D. | none of the mentioned |
Answer» B. software project scheduling | |
Explanation: none. |
144. |
Every task that is scheduled should be assigned to a specific team member is termed as |
A. | compartmentalization |
B. | defined milestones |
C. | defined responsibilities |
D. | defined outcomes |
Answer» C. defined responsibilities | |
Explanation: these responsibilities are domain specific. |
145. |
What is a collection of software engineering work tasks, milestones, and deliverables that must be accomplished to complete a particular project? |
A. | task set |
B. | degree of milestone |
C. | adaptation criteria |
D. | all of the mentioned |
Answer» A. task set | |
Explanation: none. |
146. |
Ensuring that no more than the allocated number of people are allocated at any given time in Software Scheduling is known as |
A. | time allocation |
B. | effort validation |
C. | defined milestone |
D. | effort distribution |
Answer» B. effort validation | |
Explanation: none. |
147. |
What is used to determine the recommended degree of rigor with which the software process should be applied on a project? |
A. | degree of rigor |
B. | adaptation criteria |
C. | task set |
D. | both degree of rigor and adaptation criteria |
Answer» B. adaptation criteria | |
Explanation: four different degrees of rigor are: casual, structured, strict, and quick reaction. |
148. |
What evaluates the risk associated with the technology to be implemented as part of project scope? |
A. | concept scoping |
B. | preliminary concept planning |
C. | technology risk assessment |
D. | customer reaction to the concept |
Answer» B. preliminary concept planning | |
Explanation: none. |
149. |
Which of the following is not an adaptation criteria for software projects? |
A. | size of the project |
B. | customers complaints |
C. | project staff |
D. | mission criticality |
Answer» B. customers complaints | |
Explanation: these can vary from client to client. |
150. |
Which of the following is a project scheduling method that can be applied to software development? |
A. | pert |
B. | cpm |
C. | cmm |
D. | both pert and cpm |
Answer» D. both pert and cpm | |
Explanation: program evaluation and review technique (pert) and critical path method |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.