logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Software Testing Comments

  • Question
  • Unreachable code would best be found using


  • Options
  • A. code inspections
  • B. a static analysis tool
  • C. code reviews
  • D. a test management tool

  • Correct Answer
  • code reviews 

    Explanation

    Code review is a software quality assurance activity in which one or several humans check a program mainly by viewing and reading parts of its source code, and they do so after implementation or as an interruption of implementation.

  • Tags: Analyst, Database Administrator, IT Trainer

    Software Testing problems


    Search Results


    • 1. In HTML, ___________ tag is used to construct drop-down list boxes and scrolling list boxes.

    • Options
    • A.
  • 2. Undefined reference to 'pthread_create' How to Fix this error?
  • Discuss
  • 3. What would be the output of the following program assuming that the array beigns at location 1002? main() { int a[3][4] = { 1 , 2 , 3 , 4 5, 6 , 7, 8 9, 10 , 11, 12 }; Printf ("\n%u %u %u", a[0] + 1, *( a[0] + 1), *( *(a + 0) + 1) ); }
  • Discuss
  • 4. Indicate what would the SWAP macro be expanded to on preprocessing. Would the code compile? #define SWAP (a, b, c ) (c t; t = a, a = b, b = t; ) main() { int x = 10, y = 20; SWAP (x, y, int ); printf ( " %d%d ", x, y); }
  • Discuss
  • 5. Will the following function work? f1 ( int a, int b ) { return ( f2 (20) ); } f2 ( int a ) { return ( a * a ); }
  • Discuss
  • 6. What is "bug leakage?" and what is "bug release?"
  • Discuss
  • 7. main() { float me = 1.1; double you = 1.1; if(me==you) printf("yes"); else printf("No"); }

  • Options
  • A. Yes
  • B. No
  • C. Both
  • D. Compilation error
  • Discuss
  • 8. Which is the simplest file structure?

  • Options
  • A. Sequential
  • B. Indexed
  • C. Random
  • D. None
  • Discuss
  • 9. Of the following tree structure, which is, efficient considering space and time complexities?

  • Options
  • A. Incomplete Binary Tree
  • B. Complete Binary Tree
  • C. Full Binary Tree
  • D. None
  • Discuss
  • 10. Statement coverage will not check for the following

  • Options
  • A. Dead Code
  • B. Unused Statement
  • C. Missing Statements
  • D. Unused Branches
  • Discuss


Comments

There are no comments.

Enter a new Comment









More in Technical Questions:

DatabaseHardwareNetworkingOperating SystemsProgrammingSoftware Testing