Q. If ‘n’ represents the number of variables in a program then Boundary Value analysis yields how many test cases

  • (A) 4n+2
  • (B) 4n+1
  • (C) n+2
  • (D) n+1
πŸ’¬ Discuss
βœ… Correct Answer: (B) 4n+1

Q. For a function of ‘n’ variables, the robustness testing will yield how many cases

  • (A) 6n+1
  • (B) 6n+2
  • (C) 6n+4
  • (D) None of above
πŸ’¬ Discuss
βœ… Correct Answer: (A) 6n+1

Q. In decision tables, which of the following is true?

  • (A) Number of test cases is equal to number of rules (columns)
  • (B) No. of test cases is not equal to number of rules (or column)
  • (C) Both (a) and (b)
  • (D) None of the above.
πŸ’¬ Discuss
βœ… Correct Answer: (A) Number of test cases is equal to number of rules (columns)

Q. Cyclomatic complexity is equal to

  • (A) Number of independent paths
  • (B) Number of paths
  • (C) Number of edges
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) Number of independent paths

Q. Data flow testing is related to

  • (A) DFD
  • (B) ERD
  • (C) Data Dictionary
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) None of the above

Q. In data flow testing, objective is to find

  • (A) All dc-paths that are not du-paths
  • (B) All du-paths
  • (C) All du-paths that are not dc-paths
  • (D) All dc-paths
πŸ’¬ Discuss
βœ… Correct Answer: (C) All du-paths that are not dc-paths

Q. Every node is represented by

  • (A) One row and one column in graph matrix
  • (B) Two rows and two columns in graph matrix
  • (C) One row and two columns in graph matrix
  • (D) None of the above.
πŸ’¬ Discuss
βœ… Correct Answer: (A) One row and one column in graph matrix

Q. The testing technique that requires devising test cases to demonstrate that each program function is operational is called

  • (A) black-box testing
  • (B) glass-box testing
  • (C) grey-box testing
  • (D) white-box testing
πŸ’¬ Discuss
βœ… Correct Answer: (A) black-box testing

Q. What types of errors are missed by black-box testing and can be uncovered by whitebox testing?

  • (A) Behavioral errors
  • (B) Logic errors
  • (C) Performance errors
  • (D) Typographical errors
πŸ’¬ Discuss
βœ… Correct Answer: (D) Typographical errors

Q. Black-box testing attempts to find errors in which of the following categories

  • (A) Incorrect or missing functions
  • (B) Interface errors
  • (C) Performance errors
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Jump to