System Analysis and Design

211. Select correct decision structures from the following

  1. if total marks>=75
    then enter distinction in student record
    end if
  2. if total marks >=50
    then enter pass in student record
    else enter fail in student record
    end if
  3. if total marks >=60
    then enter first class in student record
    else if total marks>= 50
    then enter second class in student record
    else
    enter fail in student record
    end if
    end if

  4. if attendance <30%
    then
    do not admit in examination
    else
  1. ii and iii
  2. i and ii
  3. iii and iv
  4. i and iv
Correct answer: (A)
ii and iii

212. In the following word statement the conditions are:
"if a student gets 50 marks or more in mathematics and 40 marks or more in English he passes the examination, otherwise he fails"

  1. student passes the examination
  2. student fails the examination
  3. student gets 50 marks or more in mathematics
  4. student mathematics marks >= 50 and student English marks >= 40
Correct answer: (D)
student mathematics marks >= 50 and student English marks >= 40

213. A rule in a limited entry decision table is a

  1. row of the table consisting of condition entries
  2. row of the table consisting of action entries
  3. column of the table consisting of condition entries and the corresponding action entries
  4. columns of the tables consisting of conditions of the stub
Correct answer: (C)
column of the table consisting of condition entries and the corresponding action entries

214. An extended entry decision table is

  1. very difficult to understand
  2. quite concise compared to a limited entry decision table developed for the same task
  3. large compared to a limited entry table developed for the same task
  4. is not very often used
Correct answer: (B)
quite concise compared to a limited entry decision table developed for the same task

215. A-against an action in an action row signifies that the

  1. action is not to be taken
  2. action is to be taken
  3. action is important
  4. action is not important
Correct answer: (A)
action is not to be taken

216. In a limited entry decision table the condition entries

  1. list X or - corresponding to actions to be executed
  2. list the conditions to be tested
  3. have Y or N or - entries
  4. list the actions to be taken
Correct answer: (C)
have Y or N or - entries

217. A decision table is preferable when the number of

  1. conditions to be checked in a procedure is small
  2. conditions to be checked in a procedure is large
  3. actions to be carried out are large
  4. actions to be carried out are small
Correct answer: (B)
conditions to be checked in a procedure is large

218. Decision table description of data processing is

  1. non-procedural specification
  2. procedural specification
  3. purely descriptive specification
  4. very imprecise specification
Correct answer: (A)
non-procedural specification

219. The following structured English procedure is incorrect because
case (code)
Code=2 : if purchase amount >=5000
then discount=5%
Code=1 : discount=2%
Code=3 : if purchase amount >=4000
then discount =2%
else if code=4
then discount =5%
end if
None of the above codes : discount=0
end case

  1. code=2 should appear after code=1
  2. if statement cannot be used within a case
  3. code=4 should not be used in the action for code=3
  4. The statement is correct
Correct answer: (C)
code=4 should not be used in the action for code=3

220. Structured English is a

  1. structured programming language
  2. description of processes in simple English
  3. method of describing computational procedures reasonably precisely in English
  4. natural language based algorithmic language
Correct answer: (C)
method of describing computational procedures reasonably precisely in English
Page 22 of 61