Q. 1: What is the difference between testing software developed by contractor outside your country, versus testing software developed by a contractor within your country?
A. Does not meet people needs
B. Cultural difference
C. Loss of control over reallocation of resources
D. Relinquishments of control
Q. 2: The inputs for developing a test plan are taken from
A. Project plan
B. Business plan
C. Support plan
D. None of the above
Q. 3: Inspections can find all the following except
A. Variables not defined in the code
B. Spelling and grammar faults in the documents
C. Requirements that have been omitted from the design documents
D. How much of the code has been covered
Q. 4: Which of the following is not a characteristic for Testability?
A. Operability
B. Observability
C. Simplicity
D. Robustness
Q. 5: Software testing accounts to what percent of software development costs?
A. 10-20
B. 40-50
C. 70-80
D. 5-10
Q. 6: Equivalence partitioning is:
A. A black box testing technique used only by developers
B. A black box testing technique than can only be used during system testing
C. A black box testing technique appropriate to all levels of testing
D. A white box testing technique appropriate for component testing
Q. 7: If an expected result is not specified then:
A. We cannot run the test
B. It may be difficult to repeat the test
C. It may be difficult to determine if the test has passed or failed
D. We cannot automate the user inputs
Q. 8: How much testing is enough
A. This question is impossible to answer
B. The answer depends on the risks for your industry, contract and special requirements
C. The answer depends on the maturity of your developers
D. The answer should be standardized for the software development industry
Q. 9: The purpose of requirement phase is
A. To freeze requirements
B. To understand user needs
C. To define the scope of testing
D. All of the above
Q. 10: Which of these can be successfully tested using Loop Testing methodology?
A. Simple Loops
B. Nested Loops
C. Concatenated Loops
D. All of the above
Q. 11: Cyclomatic Complexity method comes under which testing method.
A. White box
B. Black box
C. Green box
D. Yellow box
Q. 12: A reliable system will be one that:
A. Is unlikely to be completed on schedule
B. Is unlikely to cause a failure
C. Is likely to be fault-free
D. Is likely to be liked by the users
Q. 13: Which, in general, is the least required skill of a good tester?
A. Being diplomatic
B. Able to write software
C. Having good attention to detail
D. Able to be relied on
Q. 14: Function/Test matrix is a type of
A. Interim Test report
B. Final test report
C. Project status report
D. Management report
Q. 15: The process starting with the terminal modules is called:
A. Top-down integration
B. Bottom-up integration
C. None of the above
D. Module integration
Q. 16: Verification is:
A. Checking that we are building the right system
B. Checking that we are building the system right
C. Performed by an independent test team
D. Making sure that it is what the user really wants
Q. 17: Expected results are:
A. Only important in system testing
B. Only used in component testing
C. Never specified in advance
D. Most useful when specified in advance
E. Derived from the code
Q. 18: Benefits of Independent Testing
A. Independent testers are much more qualified than Developers
B. Independent testers see other and different defects and are unbiased.
C. Independent Testers cannot identify defects.
D. Independent Testers can test better than developers
Q. 19: Which of the following is a purpose of the review planning phase?
A. Log defects.
B. Explain the documents to the participants.
C. Gather metrics.
D. Allocate the individual roles.
Q. 20: A defect arrival rate curve:
A. Shows the number of newly discovered defects per unit time
B. Shows the number of open defects per unit time.
C. Shows the cumulative total number of defects found up to this time.
D. Any of these, depending on the company.
Q 21: In which of the following testing methodologies does the automatic generation of efficient test procedures/vectors use models of system requirements and specified functionality?
A. Repetitive testing
B. Model testing
C. Modular testing
D. System testing
Q 22: Which of the following test activities provides the maximum potential cost savings from the use of Computer-Aided Software Testing (CAST)?
A. Test execution
B. Test planning
C. Test management
D. Test design
Q 23: What would be the appropriate result of a Stress test at its peak?
A. A gradual performance slow-down leading to a non-catastrophic system halt
B. A gradual performance improvement leading to a catastrophic system halt
C. A gradual performance slow-down leading to a catastrophic system halt
D. A gradual performance improvement to a non-catastrophic system halt
Q 24: Which of the following statements is incorrect in relation to Code coverage?
A. It describes the degree to which the source code of a program has been tested
B. It is a form of White-box testing
C. It is a form of Black-box testing
Q 26: Which of the following resources are tested by most of the Stress testing tools?
A. Disk space
B. Network bandwidth
C. Internal memory
D. All of the above
Q 27: Which of the following is not a part of System testing?
A. Recovery testing and failover testing
B. Performance, Load and Stress testing
C. Usability testing
D. Top-down integration testing
Q 28: Which of the following statements about Equivalence partitioning is correct?
A. A software testing design technique in which tests are designed to include representatives of boundary values
B. A type of software testing used for testing two or more modules or functions together with the intent of finding interface defects between the modules or functions
C. It is the degree to which the source code of a program has been tested
D. A software testing technique that divides the input data of a software unit into partitions of data from which test cases can be derived
d. A software testing technique that divides the input data of a software unit into partitions of data from which test cases can be derived
Q 29: Which of the following is not a Static testing methodology?
A. Code review
B. Inspection
C. Walkthroughs
D. System tests
Q 30: What do you understand by the term "Monkey test"?
A. It is random testing performed by automated testing tools
B. It is used to simulate the actions a user might perform
C. It is another name for Monitor testing
Q 31: From the following options, choose the best example which represents a reliability failure for an application:
A. Slow response time
B. Excessive application consumption
C. Random application termination
D. Failure to encrypt data
Q 32 Question:Choose the correct description of a Stub in software testing:
A. A Stub is basically the same as a driver except that it is very fast in returning results
B. A Stub is a dummy procedure, module or unit that stands in for an unfinished portion of a system
C. A Stub is just a different name for an Emulator
D. None of the above
Q 33: Beta testing is performed by:
A. An independent test team
B. The software development team
C. In-house users
D. External users
Q 34: The main focus of Black-box testing is:
A. to check for logical errors
B. to ensure that each code statement is executed once
C. to test the functionality of the system as a whole
D. to identify all paths through the software
Q 35: What is Boundary value testing?
A. It tests values at and near the minimum and maximum allowed values for a particular input or output
B. It tests different combinations of input circumstances
C. It is a testing technique associated with White-box testing
D. Both a and b
Q 35: Identification of set-use pairs is accomplished during which of the following static analysis activities?
A. Control flow analysis
B. Data flow analysis
C. Coding standards analysis
D. Function Point Analysis
Q 36: Performance testing is used for real-time systems only.
A. True
B. False
Q 37: Which one of the following is a major benefit of verification early in the software development life cycle?
A. It allows the identification of changes in user requirements
B. It facilitates timely set up of the test environment
C. It reduces defect multiplication
D. It allows testers to become involved early in the project
Q 38: The testing performed by external organizations or standards bodies to give greater guarantees of compliance is called:
A. Usability testing
B. Conformance testing
C. Integration testing
D. System testing
Q 39: In which of the following testing methodologies does the test case generation use the system model?
A. Repetitive testing
B. Model testing
C. Modular testing
D. System testing
Q 40: From the options given below which of the dynamic program analysis technique is aimed at improving application performance?
A. Code complexity analysis
B. Profiling
C. Network packet sniffing
D. Spelling and grammar checking
E. Program slicing
How to auto start glassfish server
1. Create file name 'glassfish' and edit file
Start
sudo nano /etc/init.d/glassfish2. Write the lines below into the file and save it
#! /bin/sh #to prevent some possible problems export AS_JAVA=jdk path GLASSFISHPATH= glashfish bin path case "$1" in start) echo "starting glassfish from $GLASSFISHPATH" sudo -u glassfish $GLASSFISHPATH/asadmin start-domain domain1 ;; restart) $0 stop $0 start ;; stop) echo "stopping glassfish from $GLASSFISHPATH" sudo -u glassfish $GLASSFISHPATH/asadmin stop-domain domain1 ;; *) echo $"usage: $0 {start|stop|restart}" exit 3 ;; esac :Example
#! /bin/sh #to prevent some possible problems export AS_JAVA=/home/sdsl/jdk1.7.0_07 GLASSFISHPATH=/home/sdsl/glassfish3/bin case "$1" in start) echo "starting glassfish from $GLASSFISHPATH" sudo $GLASSFISHPATH/asadmin start-domain domain1 ;; restart) $0 stop $0 start ;; stop) echo "stopping glassfish from $GLASSFISHPATH" sudo $GLASSFISHPATH/asadmin stop-domain domain1 ;; *) echo $"usage: $0 {start|stop|restart}" exit 3 ;; esac :3. Make the init script file executable
sudo chmod a+x /etc/init.d/glassfish4. Configure Glassfish for autostart on ubuntu boot
sudo update-rc.d glassfish defaults6. Start, stop or restart Glassfish server
Start
service glassfish startStop
service glassfish stopRestart
service glassfish restart
Subscribe to:
Posts (Atom)