The Bug Tracking System role is discussed below: - Testers and developers can know the status of the bug at every stage - Changes to the Status will be available to all team members - Developers and Testers can easily interact with bugs - Repetition of bugs will be avoided - Easy to distribute the bug among the developer - It will act as a centralized one for defects
Correct Answer: A class is said to be a container class which is utilized for the purpose of holding objects in memory or persistent media A generic class plays a role of generic holder A container class is a good blend of predefined behavior and an interface that is well known The purpose of container class is to hide the topology for the purpose of objects list maintenance in memory A container class is known as heterogeneous container, when it contains a set of different objects A container class is known as homogeneous container when it contains a set of similar objects
Correct Answer: Polymorphism is also achieved in C++ using virtual functions If a function with same name exists in base as well as parent class, then the pointer to the base class would call the functions associated only with the base class However, if the function is made virtual and the base pointer is initialized with the address of the derived class, then the function in the child class would be called
3. Different access specifiers for the class member in C++
Correct Answer: Access specifiers in C++ determines the scope of the class members Public: If a class member is public, it can be used anywhere without the access restrictions Private: if a class member is private, it can be used only by the members and friends of class Protected: If a class member is protected, it can be used only by the members and friends of class and the members and friends of classes derived from class
Correct Answer: i) Const - This variable means that if the memory is initialised once, it should not be altered by a program ii) Volatile - This variable means that the value in the memory location can be altered even though nothing in the program code modifies the contents iii) Mutable - This variable means that a particular member of a structure or class can be altered even if a particular structure variable, class, or class member function is constant
Correct Answer: Bottom Up Approach: The bottom up approach testing approach is carried out with the help of the test driver The test driver calls a component to be tested The modules in the lower level of call hierarchy are tested independently Then the next level modules are tested that call previously tested modules This is done repeatedly until all the modules are included in the testing Bottom up testing stops when the top module in the call hierarchy is tested with all lower call hierarchy modules Top Down Approach: The top down approach is carried out with the help of the test stub Test stub are the dummy programs The Stub is called from the software component to be tested Tests top layer of controlling subsystem first Then combine modules that are called by the tested modules and test resulted collection of modules Do this until all the modules are combined and tested
Correct Answer: Parallel/audit testing is testing where the user reconciles the output of the new system to the output of the current system to verify the new system performs the operations correctly Let us say, for example, the currently software is in the mainframe system which calculates the interest rate The company wants to change this mainframe system to web-based application While testing the new web based application, we need to verify that the web-based application calculates the same interest rate This is parallel testing
Correct Answer: The use of XML-based layouts provides a consistent and somewhat standard means of setting GUI definition format In common practice, layout details are placed in XML files while other items are placed in source files
9. Why an app on iOS device behaves differently when running in foreground than in background?
Correct Answer: Session storage is same like local storage but the data is valid for a session In simple words the data is deleted as soon as you close the browser To create a session storage you need to use ?sessionStoragevariablename? In the below code we have a created a variable called as ?clickcount? If you refresh the browser the count increases But if you close the browser and start again the ?clickcount? variable starts from zero if(sessionStorageclickcount) { sessionStorageclickcount=Number(sessionStorageclickcount)+1; } else { sessionStorageclickcount = 0; }