logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Software Testing Comments

  • Question
  • 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

  • Correct Answer
  • No 

    Explanation

    For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.

  • Tags: Software Architect

    Software Testing problems


    Search Results


    • 1. What is "bug leakage?" and what is "bug release?"
    • Discuss
    • 2. Unreachable code would best be found using

    • Options
    • A. code inspections
    • B. a static analysis tool
    • C. code reviews
    • D. a test management tool
    • Discuss
    • 3. In HTML, ___________ tag is used to construct drop-down list boxes and scrolling list boxes.

    • Options
    • A.
  • 4. Undefined reference to 'pthread_create' How to Fix this error?
  • Discuss
  • 5. 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
  • 6. Which is the simplest file structure?

  • Options
  • A. Sequential
  • B. Indexed
  • C. Random
  • D. None
  • Discuss
  • 7. 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
  • 8. Statement coverage will not check for the following

  • Options
  • A. Dead Code
  • B. Unused Statement
  • C. Missing Statements
  • D. Unused Branches
  • Discuss
  • 9. What are the common problems with software automation?
  • Discuss
  • 10. Differentiate between a.) Testing and Debugging b.) Two tier and Three tier architecture c.) Alpha testing and Beta testing d.) Static testing and dynamic testing
  • Discuss


Comments

There are no comments.

Enter a new Comment









More in Technical Questions:

DatabaseHardwareNetworkingOperating SystemsProgrammingSoftware Testing