Showing posts with label interview questions. Show all posts
Showing posts with label interview questions. Show all posts

manual testing Interview questions

Manual testing is one of the most important and effective ways to test a software. Each time a new software is developed, it must be tested for effectiveness and also to validate whether it meets user requirements. To do this, manual or automated testing can be performed on that software. Manual testing is a type of software testing where the software is tested by a tester, as if he is an end user. 

Manual testing requires, a "tester" who needs to have certain qualities, because the job demands it. The manual tester has to be observant, creative, innovative, speculative, open-minded, resourceful, patient, skillful and possess certain other qualities that will help him with his work. In this article, the focus is to list down the most common interview questions asked in a manual testering job position. To know more about these questions and their answers, please search this SQAT portal.

While there are several questions, you need to know in the area of manual testing, the following list includes some of the most important questions that cannot be ignored. These interview questions are equally applicable to freshers and experienced testers. One has to know the answers to these questions well enough before go for the interview:

  1. What is the structure of a test life cycle?
  2. What is the difference between error, bug and defect?
  3. What does "review" mean?
  4. In case of defects in the software, how do you define the priority and severity?
  5. How can you make use of quality control? Draw differences between Quality assurance (QA) and quality control. (QC)
  6. What is equivalence class partitioning?
  7. Explain the difference between usability and functional defects. Give an example to further clarify the answer.
  8. What is the importance of drivers and stubs in testing?
  9. What is the difference between debugging and testing? Explain in detail.
  10. Wha is ad-hoc testing?
  11. What is alpha testing?
  12. What is the beta?
  13. What is Component Testing?
  14. What is the compatibility test?
  15. What are data-driven tests?
  16. What are the concurrency testing?
  17. What is Conformance Testing?
  18. What is Context Driven Testing?
  19. What is the conversion test?
  20. What is the depth test?
  21. What is dynamic testing?
  22. What is end to end testing?
  23. What is installation testing?
  24. What is the comprehensive test?
  25. What is localization testing?
  26. What is the test loop?
  27. What is mutation testing?
  28. What is the positive test?
  29. What is the monkey testing (or gorilla testing)?
  30. What is negative testing?
  31. What is the test run?
  32. What is the recovery test?
  33. What is regression testing?
  34. What is a defect report?
  35. What is the stress test?
  36. What is sanity testing?
  37. What is the smoke test?
  38. What is the volume testing?
  39. What is usability testing?
  40. What is scalability testing?
  41. What is the user acceptance testing or UAT?
  42. How do you test a web application?
  43. Explain in detail what is integration testing?
  44. What is the pilot project.
  45. Explain in detail with an example the boundary value analysis
  46. What do you write in a test plan?
  47. What is risk analysis? Explain in detail.
  48. What is a test plan used in your project?
  49. Draw differences between Web application testing and client-server testing.
  50. Can you explain V model in manual testing?
  51. What is the waterfall model in manual testing?
  52. What is the purpose of carrying out manual testing for a background process that does not have a user interface and how you go about it?
  53. Explain what an example test case and bug reports are.
  54. How does one go about reviewing a test case and what types are available?
  55. What is the UAT?
  56. What is the compatibility test?
  57. What is debugging?
  58. What is the fish bone diagram?
  59. What is the test report?
  60. Explain in detail the difference between smoke and sanity testing.
  61. What is the difference between usability testing and testing of graphical user interface?
  62. What is the test case life cycle?
  63. What is the difference between the test scenarios and test strategy?
  64. When testing the decision table used?
  65. What are the benefits of independence of the test?
  66. In the agile model, what are the different analysis methodologies used?
  67. What is the main objective in reviewing a program delivery?
  68. What is the functional test of the system? Explain in detail.

What is the difference between a web-garden and a web-farm?

What is the difference between a web-garden and a web-farm?
Web garden is a web hosting system. It is a setup of multi processors in single server.

Web farm is a web hosting system. It is a multi-server scenario.

Where are cookies actually stored on the hard disk

 

The storage of cookies on the hard disk depends on OS and the browser. The Netscape navigator on Windows, the file cookies.txt contains all the cookies. The path is :
c:\Program Files\Netscape\Users\username\cookies.txt
The Internet Explorer stores the cookies on a file by name username@website.txt is
c:\Windows\Cookies\username@Website.txt

What is the difference between Client side JavaScript and Server side JavaScript.

Client side java script comprises the basic language and predefined objects which are relevant to running java script in a browser. The client side java script is embedded directly by in the HTML pages. This script is interpreted by the browser at run time.
Server side java script also resembles like client side java script. It has relevant java script which is to run in a server. The server side java scripts are deployed only after compilation

java faq interview quetions

Can structures be assigned to variables and passed to and from functions?


Yes, they can!
But note that when structures are passed, returned or assigned, the copying is done only at one level (The data pointed to by any pointer fields is not copied!.

When should a type cast be used?

There are two situations in which to use a type cast.
The first use is to change the type of an operand to an arithmetic operation so that the operation will be performed properly.
The second case is to cast pointer types to and from void * in order to interface with functions that expect or return void pointers. For example, the following line type casts the return value of the call to malloc() to be a pointer to a foo structure.

struct foo *p = (struct foo *) malloc(sizeof(struct foo)); 

A type cast should not be used to override a const or volatile declaration. Overriding these type modifiers can cause the program to fail to run correctly. A type cast should not be used to turn a pointer to one type of structure or data type into another. In the
rare events in which this action is beneficial, using a union to hold the values makes the programmer?s intentions clearer.

When should the register modifier be used?

The register modifier hints to the compiler that the variable will be heavily used and should be kept in the CPU?s registers, if possible, so that it can be accessed faster. There are several restrictions on the use of the register modifier.
First, the variable must be of a type that can be held in the CPU?s register. This usually means a single value of a size less than or equal to the size of an integer. Some machines have registers that can hold floating-point numbers as well. Second, because the variable might not be stored in memory, its address cannot be taken with the unary & operator. An attempt to do so is flagged as an error by the compiler. Some additional rules affect how useful the register modifier is. Because the number of registers is limited, and because some registers can hold only certain types of data (such as pointers or floating-point numbers), the number and types of register modifiers that will actually have any effect are dependent on what machine the program will run on. Any additional register modifiers are silently ignored by the compiler. Also, in some cases, it might actually be slower to keep a variable in a register because that register then becomes unavailable for other purposes or because the variable isn?t used enough to justify the overhead of loading and storing it. So when should the register modifier be used? The answer is never, with most modern compilers. Early C compilers did not keep any variables in registers unless directed to do so, and the register modifier was a valuable addition to the language. C compiler design has advanced to the point, however, where the compiler will usually make better decisions than the programmer about which variables should be stored in registers. In fact, many compilers actually ignore the register modifier, which is perfectly legal, because it is only a hint and not a directive.

And also read
1.    Do Global variables start out as zero? 
2.    Does C have boolean variable type?
3.    Where may variables be defined in C?
4.    To what does the term storage class refer? What are auto, static, extern, volatile, const classes?
5.    What does the typedef keyword do?
6.    What is the difference between constants defined through #define and the constant keyword?
7.    What are Trigraph characters?
8.    How are floating point numbers stored? Whats the IEEE format?
9.    When should a type cast be used?
10. Can structures be assigned to variables and passed to and from functions?

 

How are floating point numbers stored? Whats the IEEE format?


IEEE Standard 754 floating point is the most common representation today for real numbers on computers, including Intel-based PC's, Macintoshes, and most Unix platforms.
IEEE floating point numbers have three basic components: the sign, the exponent, and the mantissa. The mantissa is composed of the fraction and an implicit leading digit (explained below). The exponent base(2) is implicit and need not be stored.
The following figure shows the layout for single (32-bit) and double (64-bit) precision floating-point values. The number of bits for each field are shown (bit ranges are in square brackets):

                 Sign   Exponent   Fraction   Bias 
--------------------------------------------------
Single Precision 1 [31] 8 [30-23]  23 [22-00] 127 
Double Precision 1 [63] 11 [62-52] 52 [51-00] 1023 

The sign bit is as simple as it gets. 0 denotes a positive number; 1 denotes a negative number. Flipping the value of this bit flips the sign of the number.
The exponent field needs to represent both positive and negative exponents. To do this, a bias is added to the actual exponent in order to get the stored exponent. For IEEE single-precision floats, this value is 127. Thus, an exponent of zero means that 127 is stored in the exponent field. A stored value of 200 indicates an exponent of (200-127), or 73. For reasons discussed later, exponents of -127 (all 0s) and +128 (all 1s) are reserved for special numbers. For double precision, the exponent field is 11 bits, and has a bias of 1023.
The mantissa, also known as the significand, represents the precision bits of the number. It is composed of an implicit leading bit and the fraction bits. To find out the value of the implicit leading bit, consider that any number can be expressed in scientific notation in many different ways. For example, the number five can be represented as any of these:

        5.00 × 100
        0.05 × 10 ^ 2
        5000 × 10 ^ -3

In order to maximize the quantity of representable numbers, floating-point numbers are typically stored in normalized form. This basically puts the radix point after the first non-zero digit. In normalized form, five is represented as 5.0 × 100. A nice little optimization is available to us in base two, since the only possible non-zero digit is 1. Thus, we can just assume a leading digit of 1, and don't need to represent it explicitly. As a result, the mantissa has effectively 24 bits of resolution, by way of 23 fraction bits.
So, to sum up:

1. The sign bit is 0 for positive, 1 for negative. 
2. The exponent's base is two. 
3. The exponent field contains 127 plus the true exponent for single-precision, 
   or 1023 plus the true exponent for double precision. 
4. The first bit of the mantissa is typically assumed to be 1.f, where f is the 
   field of fraction bits. 

What are Trigraph characters?


These are used when you keyboard does not support some special characters
    ??=    #
    ??(    [
    ??)    ]
    ??<    {
    ??>    }
    ??!    |
    ??/    \
    ??'    ^
    ??-    ~