iq centric - 345 questions.doc

27
1. Number of changes in specific time period – number of changes per week, for example. This describes the degree of volatility of requirements. 2. Product, process or resource – The three important entities in an IT Organization 3. Which of the following is the internal attribute: Effort, Quality, Cost, and Stability? 4. The internal attributes are measures or metrics that we can control and measure directly 5. A measure is single quantitative attribute of an entity 6. Objective measures uses data that can be obtained by counting, stacking, weighing, timing, etc. 7. The subjective measurement is likely to change values across users 8. Objective measures are often referred to as quantitative data 9. Subjective data are referred to as qualitative data 10. Software metrics may be broadly classified as either product metrics, process metrics or service metrics. 11. Complexity Metrics is Product metrics 12. On Time Delivery is Service Metrics 13. The software metrics lifecycle consists of Identify, Define, Collect, Analyze and Evolve stages 14. Reusability is addressed in Product Transition of McCall model 15. Requirements are to say “What” a software solution should do rather than “How”, it is to be done 16. A requirement is complete if: Everything that the software is supposed to do is included in the requirement specification All pages numbered; all figures and tables numbered, name referenced; all terms defined; all units of measure provided; and all referenced material present. No sections marked “To Be Determined”. 17. A requirement is traced if and only if the origin of each of its requirements is clear 18. Annotating requirement in a requirement specification provides guidance to the software developers. – True 19. Annotated by Relative Importance - This approach satisfies minimum needs of the customer TJS

Upload: ravindersinghjohal

Post on 26-Oct-2015

395 views

Category:

Documents


0 download

DESCRIPTION

IQ Centric - 345 Questions.doc

TRANSCRIPT

Page 1: IQ Centric - 345 Questions.doc

1. Number of changes in specific time period – number of changes per week, for example. This describes the degree of volatility of requirements.

2. Product, process or resource – The three important entities in an IT Organization

3. Which of the following is the internal attribute: Effort, Quality, Cost, and Stability?

4. The internal attributes are measures or metrics that we can control and measure directly

5. A measure is single quantitative attribute of an entity

6. Objective measures uses data that can be obtained by counting, stacking, weighing, timing, etc.

7. The subjective measurement is likely to change values across users

8. Objective measures are often referred to as quantitative data

9. Subjective data are referred to as qualitative data

10. Software metrics may be broadly classified as either product metrics, process metrics or service metrics.

11. Complexity Metrics is Product metrics

12. On Time Delivery is Service Metrics

13. The software metrics lifecycle consists of Identify, Define, Collect, Analyze and Evolve stages

14. Reusability is addressed in Product Transition of McCall model

15. Requirements are to say “What” a software solution should do rather than “How”, it is to be done

16. A requirement is complete if: Everything that the software is supposed to do is included in the requirement specification All pages numbered; all figures and tables numbered, name referenced; all terms defined; all units of measure

provided; and all referenced material present. No sections marked “To Be Determined”.

17. A requirement is traced if and only if the origin of each of its requirements is clear

18. Annotating requirement in a requirement specification provides guidance to the software developers. – True

19. Annotated by Relative Importance - This approach satisfies minimum needs of the customer

20. UML: Use case diagram, UML: activity diagram, Data flow diagrams – representation forms available for Functional design

21. The usage of global data, public attributes, and common areas within a module increases coupling

22. A high fan-in is desirable for procedures as it indicates a reused procedure – True

23. As a rule of thumb, the optimum fan-out is seven, ±2.

24. Change-prone model is developed to identify change prone classes using following parametersCoupling Between Objects (CBO)RFCNORMLOCOM1

TJS

Page 2: IQ Centric - 345 Questions.doc

25. Defect-prone model is developed to identify change prone classes using following parametersNumber Of Added Methods (NOAM) and Number of Operations (NOO)Coupling Between Objects (CBO)Depth Of Inheritance Hierarchy (DOIH)

26. Cyclomatic Complexity measures the structural / logic flow complexity in a method

27. One question using the formulae McClure Complexity = B + NB = the number of conditional branches in a programN = the number of unique operands used in conditional branches

28. McCabe provides complexity from structural perspective whereas Halstead provides complexity from computational perspective

29. The MOOD metrics, defined by Fernando Brito e Abreu, provide a summary of the overall quality of an object-oriented project

30. Performing smoke testing on the build and accepting / rejecting the build depending on smoke test result is part of test environment setup.

31. To achieve 100% decision coverage, each decision condition in the code has to be evaluated for both true and false while testing

32. Race Coverage: reports whether multiple threads execute the same code at the same time

33. State-based context coverage metrics are designed to improve the testing of classes with state dependent behavior.

34. Cause-Effect graph is a technique that aids in selecting combination of input conditions in a systematic way such that smaller set of high yield test cases can be generated

35. Utilities- Programs/Scripts etc. that help to automate routine tasks like initializing, comparing and similar other sundry housekeeping jobs

36. %EFFORT Savings= Actual reuse effort savings/ (Actual effort+ Actual tools savings+ Actual reuse savings)

37. Functionality is major factor in which phase of SDLCa) requirementb) Architecturec) Designd) Coding

38. Reliability is major factor in which phase of SDLCa)requirementb)architecturec)designd)coding

39. 39 high value of Count ‘01’ and redefines clause in COBOL __________ the complexitya)increasesb) decreases

40. Entities of Software MetricsProcess, Product and Resources

41. Quality is the attribute of which metricsProcess

42. UML activity diagram, DFD and structure diag are part of which design

TJS

Page 3: IQ Centric - 345 Questions.doc

Functional Design

43. Simplicity is calculated on basis of complexityTrue/False

44. Coupling and cohesion belong to which MetricProduct/Process (not sure abt answer)

45. Data from one module decides the action of second module. This is ----------Control Coupling

46. Modules are design so that user navigates from one screen to other. Which cohesion is applicable here Communicational

47. Best type of cohesionFunctional

48. Structural fan in and fan out is measured in procedures as well as filesTRUE/FALSE (not sure)

49. High NOAM indicates functionality of child class is different that parent classTRUE/FALSE

50. DOIH and NOCC are attributes of interaction couplingTRUE/FALSE

51. Some question on LCOM don’t remember exactly

52. DesignR is not applicable in structured programsTRUE/FALSE

53. Design factors of Defect prone classesNOAM, NOO, CBO and DOIH.

54. LOCOM1 can be used to identify change prone characteristicTRUE/FALSE

55. Informational Metrics depends on…………..

56. Question on CRUD Metrics

57. Use of 01Level Variables and REDIFINES ……. The complexity in COBOLIncrease/decrease

58. True comment ratio is higher than comment ratioTRUE/FALSE

59. Overall code metrics for OODMood Metrics

60. You are able to express the functionality of a function in one line using 2 verbs separated by a and condition, what is it exhibiting- temporal cohesion - Communicational-functional cohesion

61. You are unable to express functionality of a method in one line what is it exhibiting 62. You need to write a design doc from SRS what is the best keywords to look for

TJS

Page 4: IQ Centric - 345 Questions.doc

-listed, given below -Timeliness,-Should, MayShall, will and must

63. If you need to look for non explanatory requirements (basically not doc properly) you should look for which keywords

--Timeliness,OptionsMay, can either or

64. What are the keywords that tell that the req is v long

---follows, listed

65. What estimation technique to use before start of coding phaseAns: Function points

66. McCabe Cyclomatic complexity calculates the minimum no of test cases requiredTrue

67. Which measure to use for database software?Ans: CRUD

68. Which metrics to use for OOPsAns: MOOD

69. If comments ratio in the program is as per the standards there is no need to evaluate itAnd False (i think)

70. Which of the following is not a level of measure?a. Nominalb. Ordinalc. Intervald. Ratioe. Cardinal

71. Complexity Metrics is a type of Product Metrics

72. The focus in unit testing is code coverage

73. Performing smoke testing on the build and accepting / rejecting the build depending on smoke test result is part of test environment setup.

74. Code coverage is the focus in structural testing

75. Which of the following is not a black box/functional testinga. Equivalence Partitioningb. Boundary Value Analysisc. Cause - Effect Graphingd. Error Guessinge. None of the above

76. For optimal modular design low coupling and high cohesion is desirable.

77. Data flow diagrams are used for process modeling

78. Number of test cases required to achieve path coverage increases exponentially with the number of branches. For 10 If else braches, what is the

TJS

Page 5: IQ Centric - 345 Questions.doc

a. 100b. 1024c. 2048d. None of the above

79. The Cyclomatic complexity indicates minimum number of test cases required to ensure reasonable coverage of the program.

80. Cause-Effect graph is a technique that aids in selecting combination of input conditions in a systematic way such that smaller set of high yield test cases can be generated.

81. Utilities - Programs/Scripts etc. that help to automate routine tasks like initialising,comparing and similar other sundry housekeeping jobs

82. %EFFORT Savings= Actual reuse effort savings/(Actual effort+ Actual tools savings+ Actual reuse savings)

83. Security – systems ability to protect from unauthorized access to data or system functionality at the same time permitting legitimate use

84. Efficiency – how well the system utilizes the resources

85. Performance is Observable QoS requirements

86. A requirement is unambiguous if, and only if, every requirement stated therein has only one interpretation and complete if:_ Everything that the software is supposed to do is included in the requirement specification

87. Number every paragraph hierarchically – Traceable

88. Use case diagram, UML: activity diagram, Data flow diagrams Functional Design

89. Coupling can be measured througha. # of parameters passedb. Number of components calledc. # of Shared variables accessed in the moduled. All of the above

90. If the sentence is a compound sentence, contains a comma, or contains more than one verb, the module is probably performing more than one function. Then it does not have functional cohesion.

a. If the sentence has more than one verb and if they are connected by OR’s then the module has logical strength.b. If the verbs are connected by AND’s then the module may have classical, procedural, or communication strength.

91. In structured design, Fan-In and Fan-Out metrics is available at files as well between procedures

92. A high fan-in is desirable for procedures as it indicates a reused procedurea. True b. False

93. The optimum fan-out is seven, ±2.

94. Which of the following is falsea. only about 10 – 15% of the classes/programs account more than 60% of defects

95. Defect proneness model is developed to identify defect prone classes using the design factors NOAM, NOO, CBO and DOIH

96. Change-prone model is developed to identify change prone classes using following parameters CBO, RFC, NORM, LOCOM1

97. McCabe Cyclomatic Complexity counts the number of possible linearly independent paths, meaning the number of if, Perform and Evaluate statements in the operation’s body

TJS

Page 6: IQ Centric - 345 Questions.doc

98. McClure tried to remove this discrepancy while estimating the program complexity.a. McClure Control Variable Complexity indicates the complexity involved in testing a programb. This is concerned on how complex the tests are that control their selectionc. It is based on the number of conditions and the number of unique data items used in comparison expressions.

99. Following are the three major factors of the CRUD Matrixa. Total number of input / output operationsb. Total number of different Types of IO operationsc. Different types of databases used.d. All of the Above

100.Higher the Count of ‘01’ Variables and ‘REDEFINES’ clause, higher is the complexity.

101.Greater the value of MI the more maintainable the program is and lesser effort it requires for maintenance

102.At Infosys, the minimum value of MI should be 5.Recommended value for MI – between 2 and 7;

103.The MOOD metrics, defined by Fernando Brito e Abreu, provide a summary of the overall quality of an object-oriented projecta. Trueb. False

104.benefits of using metrics for Organizationa. Industry Benchmarkingb. Comparing Units Performancec. Meaningful Goal Settingd. All of the above

105.Effort Metrics is aa. Process Metricsb. Product Metricsc. Service Metricsd. None of the above

106._______ refers to the continued suitability of the measurement system to return valid measurements.a. Calibrationb. Consistencyc. Validityd. Timeliness

107.Ordinal measure points can be placed in an order or ranking

108.Software metrics may be broadly classified as either product metrics , process metrics or service metrics

109.PDB helps in : a. To aid estimation of effort and defectsb. To get productivity and quality data on different types of projectsc. To aid in creating process-capability baselinesd. To aid as a tool for process improvementa, b,cb,c,dAll of the above

110.Quality is defined as “The totality of features and characteristics of an entity that bear on its ability to meet stated and implied needs” by

a. Phil Crosbyb. Joseph Juran

TJS

Page 7: IQ Centric - 345 Questions.doc

c. Kanod. ISOe. None of the above

111.1 question on Figure 3: ISO 9126: Quality Factors

112.Functionality is in focus in _____ stage of SDLCa. Architectureb. Design and buildc. Testingd. None of the above

113.Benefits of metrics to organization – Ans is all of above i.e. benchmarking, comparing unit performance, goal setting

114.Quality is External attribute.

115.Scenario, a project team decided to use certain metric. Down the line it was found that the metric is not being used correctly, Why ?options were

a. DM not awareb. Lack of motivation to use metricc. Objective setting not done for metric (I marked this, n its correct )d. Lack of training

116.3 questions on table of point 5- The Right Metric framework.

117.Quality of Code is Process Metric

118.Metric and measures can be used interchangeably- False

119.Measure is single quantitative attribute of an entity –True

120.Metric bring Normalization.

121.One scenario was given which was focusing on Calibration attributes of Metric. Please read these attributes in details, it is very confusing. Especially in Exam hall

122.Which is not the level of measure – Nominal , Interval , Temporal, Ratio

123.PCB –is Process capability Baseline

124.3 questions were on Appendix in chapter 2 . i.e. on PDB and PCB

125.What is the sequence u will follow while extending the current project – There were 4 options given , I marked- Look project history, look similar projects, refer to PDB , refer to PCB. Other options were combination of these

126.2 scenarios were give and was asked to identify the type of requirement. One was Functional and another was QoS

127.systems ability to protect from unauthorized access to data or systemFunctionality at the same time permitting legitimate use is Security

128. 3 questions were on Essential Attributes of Requirements. These were the scenarios corresponding to Correct, complete and modifiable attributes

TJS

Page 8: IQ Centric - 345 Questions.doc

129.The purpose of creating the POC is requirements are Achievable ( I marked this)

130.Requirement Organization is Essential attribute – False (desirable attribute)

131.A question on Annotated requirement

132.Given two requirement for the same system, each exhibiting identical levels of all the previously mentioned qualities, the requirement specification that is shorter is better. -True

133.Which of the following does not indicate imperative requirementsAs applicableMustShouldFigure

134.Directive indicates how precisely req are specified.

135.------Lead to ambiguityWeak phraseOptions

136.Following indicates size of SRSLines of textSubject/title of SRSParagraphsAll of the above

137.Complexity is the attribute of design and code – True

138.Lot of questions on Cohesion and couplinga. What define level of coupling between two classesb. Coupling can be avoided through ---- (Ans – appropriate checks, checklists and review methodologies )c. High data coupling is expected( other options were No, Moderate, low)d. High coupling means function do not implement all the functionalities

139.one module controls the logic of another, by passing it information on what to do is called Usage of Controlled flags

140.2 questions on kind of cohesion specifically Communicational cohesion and Sequential cohesion (these were the scenarios)

141.What is the correct sequence of cohesion ( in order of acceptability)a. Functional – Sequential – Temporal – coincidentalb. Other were the combination of above mentioned kinds

142.High Fan-out is High Coupling (not sure)

143.High fan- in is High Cohesion (not sure)

144.2 questions were on OO Parameters and interpretation table

145.CBO, MIC, VOD, RFC indicates Interaction coupling.

146.LOCOM1 focuses ona. Service cohesion

TJS

Page 9: IQ Centric - 345 Questions.doc

b. Class cohesionc. Generalization n specialization cohesiond. All of the above

147.What is design Robustness (DesignR)? – I dint get the answer w.r.t. option

148.Design factors NOAM, NOO, CBO, DOIH shows Defect proneness model

149.LOCOM, RFC shows Change proneness model

150.Which tool is used for design metric in online applicationa. QA4Jb. FxCOPc. Both (online means - .net and java )d. None

151.In Requirement analysis, we should focus ona. What’s need to be developedb. How we should develop it

152.IF you are going in Requirement review meeting with client, where will be your primary focusa. Conformance to requirement ( I mared this)b. Fitness for usec. Attractive qualityd. none

153.Finding the origin of requirements means the requirement is Traced, other options were traceable, both none

154.LOC does not affects

a. Maintainabilityb. Modularityc. Reusabilityd. None of the above

155.What is the FP weight assigned to inputsa. 5b. 4c. 10

156.If you are implementing the application which involves lot of mathematical computation then ideally you should followa. McCabe’s Cyclomatic complexity metricb. McClure complexity metricc. Halstead metric ( I marked this one, not sure)

157.If the program has 4 conditional branches and 6 unique operands then McClure complexity isd. 12e. 8f. 10 (B+N=6+4)g. 6

158.2 questions on CRUD metric, almost similar. Which metric is used if you are referring to Database operations – CRUD

159.If there are too many operations performed in Procedure, then it should me refactored – True

160.2 questions were on information flow metric

TJS

Page 10: IQ Centric - 345 Questions.doc

161.MI is the indicator of maintainability of a class – True

162.TCR is always less than comment ratio – True (not sure, I could not find any clue for this)

163.The rule of thumb for maximum Fan out is Seven ±2

164.Each executable coverage is part of Unit testing

165.In Integration test all interfaces are tested – True

166.Test strategy is designed in which phase of Testinga. Test executionb. Test planningc. Test designd. None

167.What is correct order of test metric improvementa. Statement coverage – decision coverage- condition coverage – Decision/condition coverageb. Other were the combination of above mentioned attributes

168.Which metric reports multiple thread execution on same code a. Raceb. Weak mutation coveragec. Call coverage

169.CC is helps to reduce the number of test cases – True

170.One question was designed on formula of state based context coverage—it was very confusion, just look after the formula

171.Error guessing isa. Not useful in unit testingb. Is not useful in reliability testc. Is just type of test which helps the traditional ways of testing ( I marked this)

172.In equivalence partitioning testing if test cases are satisfied for group of test data, then is valid for all the data – True

173.The ability of different system to work under different system environment is called as Portability

174.The ability of system to interact with application in future release is called as Interoperability

175.Definition of Quality was given and asked the reference? – ISO

176.In ISO 9126 model , Functionality constitutes Suitability, Accuracy, Security, Interoperability, Compliance

177.One application was developed to maintain the user requests. The process was, the user has to insert the queries in multiple pages and numerous validations were applied. Over the period of time is was observed that application is not being used by users, the reason was lack of

a. Maintainabilityb. Usabilityc. Understandabilityd. Complexity

178.One data entry system was developed in which the data was flown from one page to another and to the last page. This system can be called as ---Communication cohesion

179.2 questions were applicable for SRS completeness and correctness

TJS

Page 11: IQ Centric - 345 Questions.doc

180.What do not account for reusea. Code librariesb. Checklistsc. Material with IP rights reservedd. All of the above

181.Who can modify the code with which Infosys IP is associateda. Infosys Project teamb. Any onec. ENCORE team ( I marked this)

182.Infosys reserves the IP, even if the application is developed using Client infrastructure –True (not sure)

183.ENCORE manages the reusable assets unit wise.- True (not sure because of word unit wise)

184. The definition "Quality is the totality of…." was given by:

Juran Crosby ISO Deming

185. Three entities of s/w Product, Process and Resource

Product, Process, Service

186. is an Objective Measure No of Defects, Hours Worked, LoC

187. Which of these is not an external attribute

Effort Quality Cost

188. Ordinal Measure can be placed in an order or ranking

189. Which is the only model that supports all quality features

ISO McCabe FUPS

190. Features of good design High Coupling ,Low Cohesion Simple, Low Coupling, High Cohesion

Low Coupling ,High Cohesion

191. physical line of code excluding comments and blank lines

logical loc assuming physical loc will be merged

logical lines - comments and blank spaces

192. CRUD is taking more time .What should be done to improve performance

Reduce DB calls If there are too many operations performed in a single procedure, refractor that procedure.

193. What deals with analyzing &choosing the best strategy for test plans execution

Test Planning Test Execution Test Strategy

194. What is the Reuse Tool used in Infy Encore 195. For an asset to be termed as

reusable, it has to be used without any change otherwise it does not remain reusable

TRUE FALSE

196. One projects assets can be used in another project

With permission of the owner of the asset

TJS

Page 12: IQ Centric - 345 Questions.doc

197. A general thumb rule for Fan-Out 5 plus minus 2 6 plus minus 1 8 plus minus 2

7 plus minus2

198. physical and logical LoC 199. Graph Testing is what kind of

testingBlack Box White Box Glass Box

200. Arrange degree of cohesion from lowest to Strongest Binding

Logical Temporal Functional Procedural

201. Shared global variable increases or decreases Cohesion/Coupling

increases coupling

202. Depth of inheritance counts the no of classes that are inherited…

DOI

203. Question not available PF CF MIV and MFI

204. A Requirement is said to be ----if it gives only one interpretation and --- if for every function in the requirement there is a corresponding ---

Unambiguous, Complete

205. You have tested the application and the client complaints that it is taking more time to Analyze the place which has problem in enhancement.

Maintainability

206. There is a class with 3 functions with Cyclomatic Complexity as 4,7,9.Which function has 9

Highest Level CC Highest LoC McCabe CC

207. You want to test a procedure for its access complexity What is the metric

Fan IN Fan Out LoC COB

208. LoC is the basic practice in Infy to calculate Size Of Code

TRUE FALSE

209. Encore- Cohesive TRUE FALSE 210. 6 4- Calculate 10 24 2 6211. Review Effectiveness is addresses

by which s/w metricProcess Product Service

212. Objective is used for ------Subjective is used for decision making

TRUE FALSE

213. Requirements doc is 50 pages .Can you say that it is a good SRS

TRUE FALSE can't say

214. There is a class which calls many classes and is called by many classes

Cyclomatic Complexity High Coupling Low Cohesion

215. How do you measure ---- Complexity

No of shared var’s Local /global var's Both None

216. Purpose of Maintainability index 217. If CR>30% the DirectR is good bad can’t say 218. You have to measure the

Performance metric on DB Module .What method will you choose

CRUD Matrix CC

TJS

Page 13: IQ Centric - 345 Questions.doc

219. A _______ is single quantitative attribute of an entity.

Measure Metric

220. Measure and Metrics is the same and used interchangeably

TRUE FALSE

221. Which of the following in not a valid measure

Cardinal Ordinal Ratio Interval

222. You have prepared Use Test Cases and they are not enough. What does it map to

Verifiable Maintainable Portable Scalable

223. During your requirement analysis if you are able to identify the history/source of that req then that is

Traceable Traced Complete Correct

224. Adhering to ..requirements is a part if which testing

Functional Unit System

225. if the person developing reads the design docs and finds out that the error messages could be better This is

Usability Conformance to design

226. There is a website and the no. of hits dropped. Survey shows that there were 9 hits before submitting the page.

Usability Performance

227. You have gone to client location, the client is asking when will you analyse the quality metric

Build Design Both None

228. You want to analyses the ---- metric. You describe the procedure in one sentence. You realize a lot AND, OR.

Imperative Conjunctional definitive All

229. What is a good/precise SRS Shall, will figures, tables as follow, listed below

maybe

230. You want to get a rough idea of the number of functionalities in the SRS. You should calculate the number of -

definitive words conjunctional words imperative words

All of above

Question option1 option2 option3 option4 AnswerCoding metrics231.The amount of computing, resources

and code required by a program toperform its function is captured under

performance Maintainability

Extendibility Reusability performance

232.which of the following is use for estimation of software before development

Function Point LOC Both None FP

TJS

Page 14: IQ Centric - 345 Questions.doc

233.which of the following is inconsistent with the actual effort

Function Point LOC Both None LOC

234.What is the weight for inquiries in Function point( question could be based on the weight value of other attributes as well)

2 5 4 10 4

235.Which of the following indicates the control flow at run-time?

Mathematical Complexity

Structural complexity

Informational complexity

Computational Complexity

Structural complexity

236.Which of the following used for deciding complexity:

No of lines in the code

complexity metrics

both none both

237.Complexity(options may vary) decreases the defect-proneness

decreases code reliability

decreasesmaintenance effort

All decreases code reliability

238.which is not true about McCabe Cyclomatic complexity:

counts the number of possible linearly independent paths

indicates minimum number of test cases required

Branches in the program to call a subroutine or a paragraph are to be considered acontributor to McCabe

none Branches in the program to call a subroutine or a paragraph are to be considered acontributor to McCabe

239.which is not true about McClure Control Variable Complexity

McClure Control Variable Complexity indicates the complexity involved in testing aprogram

It is based on the number of conditions and the number of unique data items used incomparison expressions.

counts the number of possible linearly independent paths

none counts the number of possible linearly independent paths

240.which are the parameter for calculating McClure

number of conditional branches in a program

number of unique operands used in conditional branches

number of process blocks in the flowchart

number of connecting lines in a flowchart

option a and b

241.which of the following take the parameter passing and variableaccess to calculate complexity

McClure Control Variable Complexity

Information flow Metrics

Halstead Actual Program Length

McCabe Cyclomatic complexity

Information flow Metrics

242.If there are too many operations beingperformed by a single procedure

Don't remember the options. that procedure can be a target for refactoring

243.Recommended value for depth of nesting metrics

option were different integer values 1)Depth of Conditional Nesting= 5 2) Depth of Looping=2

244.Impact of "01" , redefines and Clause on complexity.

245.metrics for evaluating understandability Comments density/ratio

Variable names

Procedure names All All

246.Recommended value for MI 2 to 7247.As per PCB the value for MI should be 5

TJS

Page 15: IQ Centric - 345 Questions.doc

248.which of the following is Metrics in Object Oriented programminglanguages

Don't remember the options. Mood metrics

249.which of the following is used for encapsulation

MHV, AHV, PF AIV, MIV CF MHV,AHV

250.High MHV, low AIV and High PF indicates

poor usage of MHV and AIV, Proper usage of PF

Poor usage of MHV, proper usage of AIV,PF

Poor usage of MHV, proper usage of AIV and Poor usage of PF

Proper usage of All

Option c

251.if there are 3 methods in a class and they have CC values as 5, 10, 15, then the higher method cc value is

5 10 3 15 15

252.if there are 3 methods in a class and they have CC values as 5, 10, 15, then metric value will be 15 according to

MNOL Highest method CC

WMPC1 none b

253.If a person is using parameter CBO, CC, DOIH, RFC, he is intended to calculate the MI for

java COBOL .net java and COBOL

COBOL

Software Product Quality254.“the totality of features and

characteristics" state to which definition

ISO Kano, Joseph Juran, Phil Crosby ISO

255.The ease with which the system can be modified states to

Portability Maintainability

Performance Functionality Maintainability

256.which of the following model attempts to bridge the gap between users and developers by focusingon a number of software quality factors

Bohem Model ISO Dromey Model McCall’s Quality d

257.adaptability to new environments undergoes in

Product transition

Product revision

Product operations

none Product transition

258.Reliability and efficiency are part of which higher level characteristics:

Maintainability As-is utility characteristics

General utility Modifiability) As-is utility characteristics

259.which of the following is not an attribute of FURPS( same question could be for other models as well)

Functionality Flexibility Reliability usability Flexibility

260.Which of the following is true for Functionality

Supportability, Recoverability, Security, Interoperability

Suitability, Accuracy, Security, Interoperability

Stability, Accuracy, Security, Interoperability

Suitability, understandability, Security, Interoperability

b

Requirement Metrics261.Question on Observable and non

observable QOS262.the ease with which system can handle

increase in demandManageability- Scalability Maintainability Portability Scalabilit

y263.Question on Example given to find the

requirement type.264.which of the following is not an

essential attributeUnambiguous Complete Understandable Organized d

265.question on definition of trace and traceable attributes

TJS

Page 16: IQ Centric - 345 Questions.doc

266.Which of the following is not the type of annotation

Annotated by Relative Importance

Annotated by performance

Annotated by Relative Stability

Annotated by Version

b

267.Given two requirement for the same system, each exhibiting identical levels of all the previouslymentioned qualities, the requirement specification that is shorter is better.

TRUE FALSE TRUE

268.If a requirement/Code is of 50 lines , it is good

True FALSE Can't say c

269.___________________gives a rough estimate of degree of design functionality required in thesoftware

Imperative Options Directives Continuances a

270.Two three questions were based on the word/ Phrases of different Requirement Quality Metrics

271.To precisely define the requirement use:

Imperative Options Directives Continuances c

272._______________used to report the number of statements identifiers found at each hierarchicallevel of the requirements document

Text Structure

273.Which of the following is used to measure the completeness of requirement

TBD TBS Both none c

274.Which of the following need to find out in case of specifications statement

end, etc. shall, must, etc.)

as listed, Figure AND, OR b

275.Question based on example of if statement is verifiable/complete or not?

Introduction276.Effective management of any process

requiresmeasurement metrics quantification qualification a,c

277.Metrics are used to improve Productivity Quality Efficiency Performance a,b278.Identifying Process Improvements

comes underProject Team Process

Engineering Team

Both None both

279.The three important entities in an IT organization

Product, process, service

Product, process, resource

Product, resource service

none b

280.which of the following can be controlled and measure directly

internal attributes

External attributes

Both none a

281.question based on figuring out the internal and external attributes from the option given

Design Metrics282.data or procedural design can be

extended: is define asExtendibility Reusability Modularity Maintainability a

283.Which of the following is not the parameter for coding metrics

Extendibility Reusability Modularity Usability d

284.Class and Object diagrams, Structure Charts, UML: Class diagram is part of which Design

Constructional Design

Behavioral design

Functional design Data design a

285.Structure Charts is of the following form Black Box white box Both None a

TJS

Page 17: IQ Centric - 345 Questions.doc

286.What are the sign of good design Simplicity Modularity High Cohesion Low coupling All287.What are the parameters to define the

level of coupling betweentwo routines

# of parameters passed

# of Shared variables accessed in the module

Number of components called

Usage of control flags in parameter list

All

288.Usage of control flags in parameter list can be eliminated through the usage of

checks, check-lists

review methodologies

checks, check-lists andreview methodologies

none c

289.Which of the following is the highest ranking coupling?

Control coupling

data Coupling

Data-Structuredcoupling)

Control CouplingActivating

b

290.There were two question on cohesion conversion. A scenario was being provided and then the question was based on … the conversion from one type of cohesion to another type absed upon the changes made?

291.There were around 4 to 5 question only from the topic 3.2 in design metrics.( I got two question from logical cohesion itself, some example based)

292.Question to find out type of cohesion based on example . E.g: If the sentence has more than one verb and if they are connected by OR’s then themodule has logical strength.

293.Question to find out the parameters/keyword for a cohesion type

294.The optimum value for fan-out is seven +-2295.Question based on Designing Modules

That Consider Fan-In/Fan-Out296.Are the metrics for OOD and structured

programming is sameFALSE

297.which of the following is considered while identification of right class

Sufficiency Completeness

Primitive Simplicity a.b,c

298.which of the Following metrics will not help in deciding whether an identification of a class is a right class

NOA NOAM NORM MNOP c

299.If a person is looking for metrics: CBO. MIC, VOD, NORM, Then he is looking for which coupling

inheritance coupling

Interaction Coupling

encapsulation Polymorphism a

300.the number of acquaintance classes should be kept low, is considered in

MIC VOD RFC NORM b

301.If a class explicitly rejects many of theattributes of its generalization class or if class does not use many of attributes as well servicesof its generalization class , is calculated under

Interaction Coupling

inheritance coupling

Polymorphism none b

302.Lack of Cohesion of Methods 1 is of which cohesion

service logical class Generalization-specialization cohesion

c

303.Three question on Defect and change proneness parameters and statements. The point to remember is 1. Defect proneness model: NOAM, NOO, CBO and DOIH 2. Change Proneness Model: CBO, RFC, NORM, LOCOM1

TJS

Page 18: IQ Centric - 345 Questions.doc

304.3. 10 – 15% of the classes/programs account more than 60% of defects. These are defect prone classes 305.4. Highly change prone Design_ Metrics.doc For Internal Circulation Only Page 22 of 30 classes/programs are 8 to 10 times as

likely to be highly defect prone as well compared to not so- change-prone classes. These are change prone classes.Software Metrics306.the basic management objectives of

prediction, progress, andprocess improvement

Measurement Measurement System

Metrics Metrics and measurement

a

307.metrics and measurements are same and used interchangeably

TRUE FALSE FALSE

308.software metrics deals with Measurement Measurement System

both none a

309.which of the following is not a attribute for good measure

variability Consistency Validity simplicity a

310.Objective measures are often referred to as qualitative data while subjective data are referred toas quantitative data

TRUE FALSE FALSE

311.Which is not the level of measure Nominal ordinal cardinal interval c312.Question on option to find out software

metricsProduct, process, service

313.Complexity Metrics is part of Product process service resource a314.Effort Variance is part of Product process service resource process

metrics315.Question on Software metrics lifecycle

order316.Question on PCB and PDB about the

capabilities317._______ refers to the continued

suitability of the measurement system to return valid measurements.

a. Calibration a. Consistency

c. Validity d. Timeliness a

318.The process-capability baseline contains the process capability (mean and control limits), primarilyfor parameters

Schedule Effort and defect distributions

Review/test effectiveness

All All

Testing Metrics319.All the business scenario covered under

which moduleCoding Requirement Testing Design c

320.question from V model, at which level which test vases are required.

321.Which of the following is testing as per V model :

Unit Testing environment Testing

System Testing

Module Testing a,c

322.The focus in unit testing is Code Coverage

323.which of the following testing covers all the path, while testing:

Unit testing System testing

UAT Integration Testing

b

324.Test Strategy is created under Test Design Test Planning

Test case design

Test Execution b

325.Resource planning and determining roles and responsibilities is part of

Test Design Test Strategy Test case design

Test Report b

326.Document test results, and log defects for failed cases is part of

Test Report Rtset Design Test Execution

Test Planning c

327.which of the following is not Defect Number of Total Defect b

TJS

Page 19: IQ Centric - 345 Questions.doc

considerable in product metrics Distribution Totals by Severity per Period

Test Cases Passed or Failed

Number of Defects Raised and Closed per Period

Distribution Totals by Functional Areas/Requirements and Severity per Period

328.Question on metrics available for functional coverage.

329._________________reports whether each machine language conditional branch instruction both took the branch and fell through and_______________reports whether multiple threads execute the same code at the same time

Object Code Branch Coverage, Race Coverage

330.The Cyclomatic complexity indicates minimum number of test cases required to ensure reasonablecoverage of the program

TRUE FALSE TRUE

331.OO context coverage metrics are Inheritance context coverage

State-based context coverage

User-defined context coverage

interaction context coverage

a,b,c

332.The routine is wrongly considered “100%covered” when it has been exercised in the context of class Derived only.

Similar question was there on this statement, regarding when the coverage is considered 100%.

333.Question on State-Based Context Coverage, parameters and formula to calculate

334.Which of the following is not the functional Testing coverage metrics

Equivalence Partitioning

Boundary Value Analysis

Cause - Effect Graphing

none d

335.Purpose of Boundary value analysis is?336.Question on Statement" Cause-Effect

graph is a techniquethat aids in selecting combination of input conditions in a systematic way such that smallerset of high yield test cases can be generated. A cause is a distinct input condition and aneffect is a distinct output condition."

Reuse Metrics337.At which stage of SDLC, reuse can be

achieved?Requirement Design Coding Testing All

338.Reuse of software: Reduced development effort

Increased productivity and quality

Increased dependability

Option were: None, a & b, a&c, All, b &c

All

339.Reusable assets are to be used only on TRUE FALSE FALSE

TJS

Page 20: IQ Centric - 345 Questions.doc

As-IS basis340.Which of the following is considered in

reusing artifacts:Tools utilities Knowledge

ManagementChecklists, Guidelines & Templates

All

341.Programs/Scripts etc. that help to automate routine tasks like initializing,comparing and similar other sundry housekeeping jobs are

Knowledge Management artifacts

Checklists, utilities Tools Utilities

342.Which are the technical assets: libraries abstraction layers

service routines

use cases a,b,c

343.Which of the following is not a reusable artifact:

graphics libraries

Code Libraries

access libraries

All All

344.which of the following is not a Characteristics of Reusable Assets

Non Self-contained with clearly defined boundaries

Clear, unambiguous, and understandable specification

Functionality of the asset

Specification conformance

a

345.Question on %EFFORT Savings (didn’t remember the options.)

%EFFORT Savings= Actual reuse effort savings/(Actual effort+ Actual tools savings+ Actual reusesavings)

TJS