System Analysis and Design

241. The objective of using decision trees is to

  1. Expand a DFD so that a user can understand it
  2. To specify sequence of conditions to be tested and actions to be taken
  3. Describe a computational procedure that can be easily understood by a person
  4. Use it as a tool in decision support system
Correct answer: (B)
To specify sequence of conditions to be tested and actions to be taken

242. Decision Tables are preferred when

  1. Too many conditions need to be tested
  2. Sequencing of testing conditions is important
  3. When there are many loops to be performed
  4. When too many actions are to be taken
Correct answer: (A)
Too many conditions need to be tested

243. Rule R3 is interpreted as follows:

  1. If C1 is TRUE and C2 is TRUE then perform action A1 and A2
  2. If C1 is TRUE or C2 is TRUE then perform action A3
  3. If C1 is TRUE and C2 is TRUE then perform action A1 or A2
  4. If C1 is TRUE and C2 is TRUE then perform action A3
Correct answer: (D)
If C1 is TRUE and C2 is TRUE then perform action A3

244. Structured English is preferred when

  1. Too many conditions need to be tested
  2. Sequencing of testing conditions is important
  3. When there are many loops to be performed
  4. When too many actions are to be taken
Correct answer: (C)
When there are many loops to be performed

245. Logical correctness of a specifications can be systematically checked by

  1. Using decision trees
  2. Using structured English
  3. Using DFD’s
  4. Using decision tables
Correct answer: (D)
Using decision tables

246. A data dictionary has information about

  1. every data element in a data flow
  2. only key data element in a data flow
  3. only important data elements in a data flow
  4. only numeric data elements in a data flow
Correct answer: (A)
every data element in a data flow

247. Structured English equivalent of the decision table "test" are given below

  1. if C1 TRUE
    then if C2 TRUE
    then do A3
    else do A1 and A3
    end if
    else do A2
    end if
  2. if C1 FALSE
    then do A2
    else if C2 TRUE
    then do A3
    else do A1 and A3
    end if
    end if
  3. if C2 TRUE
    then if C1 TRUE
    then do A3
    else do A2
    end if
    else do A1 and A3
    end if
  4. if C2 FALSE
    then if C1 TRUE
    then do A1 and A3
    else do A2
    end if
    else do A3
    end if

Which of the following are correct?

  1. i and iii
  2. i and ii
  3. iii and iv
  4. ii and iv
Correct answer: (B)
i and ii

248. Decision trees are superior to decision tables when

  1. The number of conditions to be tested is very large
  2. When sequence of testing conditions is not particularly important
  3. When sequence of testing conditions is not particularly important
  4. When a large number of actions are to be specified
Correct answer: (C)
When sequence of testing conditions is not particularly important

249. Structured English equivalents of decision table "test" are given below. Pick the right ones

  1. if C1 TRUE and C2 FALSE then R=1 end if
    if C1 FALSE then R=2 end if
    if C1 TRUE and C2 TRUE then R=3 end if
    case (R)
    R=1; perform actions A1 and A3
    R=2; perform action A2
    R=3; perform action A3
    end case
  2. if C1 TRUE and C2 FALSE then perform actions A1, A3 end if
    if C1 FALSE then perform action A2 end if
    if C1 TRUE and C2 TRUE then perform action A3 end if
  3. case (C1 TRUE and C2 FALSE) Rule R1
    case (C1 FALSE) Rule R2
    case (C1 TRUE and C2 TRUE) Rule R3
    end case
  4. if C1 TRUE and C2 TRUE then do Rule R3 end if
    if C1 TRUE and C2 FALSE then do Rule R1 end if
    if C1 TRUE then do Rule R2 end if
  1. i and ii
  2. i and iii
  3. ii and iii
  4. iii and iv
Correct answer: (A)
i and ii

250. A data dictionary has consolidated list of data contained in

  1. dataflows
  2. data stores
  3. data outputs
  4. processes
  1. (i) and (iii)
  2. (i) and (ii)
  3. (ii) and (iv)
  4. (i) and (iv)
Correct answer: (B)
(i) and (ii)
Page 25 of 61