231. The following structural English is incorrect because case (income slab)
Income slab =1 : tax= 10%
Income slab =2 or 3 : tax= 20%
Income slab =5 : tax= 30% end case
no action is specified for income slab of 4
income slab has to be rupees
income slab =2 or 3 is wrong
number of cases is too small
Correct answer: (A) no action is specified for income slab of 4
232. In a limited entry decision table the action stub
lists X or - corresponding to actions to be executed
lists the conditions to be tested
has Y or N or - entries
lists the actions to be taken
Correct answer: (D) lists the actions to be taken
233. In "test 4" missing rule is:
NYNN
NYYN
YYNN
YNYN
Correct answer: (C) YYNN
234. In "test 4" the contradictory actions are:
A1, A3
A1, A2
A2, A3
A2, I
Correct answer: (B) A1, A2
235. Decision tables are better then Decision trees when
Conditions are to be isolated from actions in a word statement
Condition sequences are to be found from a word statement
Logical correctness of a word statement is to be established
Large number of actions is to be performed
Correct answer: (C) Logical correctness of a word statement is to be established
236. Rule R1 is interpreted as follows:
If C1 is TRUE and C2 is FALSE then perform action A2
If C1 is TRUE and C2 is FALSE then perform action A1 and then action A2
If C1 is TRUE and C2 is FALSE then perform action A3 and then action A1
If C1 is TRUE and C2 is FALSE then perform action A1 and then action A3
Correct answer: (D) If C1 is TRUE and C2 is FALSE then perform action A1 and then action A3
237. Decision table "test2" is
really incomplete
complete
apparently incomplete
apparently complete
Correct answer: (C) apparently incomplete
238. The decision table given in answer (a) of question 9.4.3 is
incomplete
apparently ambiguous
has contradictory specifications
logically complete
Correct answer: (D) logically complete
239. The decision table "test 3" is
incomplete
ambiguous
incorrect
has redundancies
Correct answer: (D) has redundancies
240. Decision Trees are preferred when
Too many conditions need to be tested
Sequencing of testing conditions is important
When there are many loops to be performed
When too many actions are to be taken
Correct answer: (B) Sequencing of testing conditions is important