Question 1
EasyWhat is testing a program without looking at its internal code, only its inputs and outputs, called?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
IT Fundamentals
What is testing a program without looking at its internal code, only its inputs and outputs, called?
Black-box testing
White-box testing
Unit testing
Static testing
Answer: A
Black-box testing checks behaviour against requirements without knowledge of the code.
What is testing based on knowledge of a program's internal code and logic called?
Black-box testing
Beta testing
Usability testing
White-box testing
Answer: D
White-box (glass-box) testing designs tests from the code's structure, such as its branches and paths.
What does unit testing test?
The whole system with real users
Only the user interface
Individual functions, methods or classes in isolation
Only the database
Answer: C
Unit tests check the smallest testable parts of the code, usually written by developers.
What does integration testing focus on?
Single functions
The interfaces and data flow between combined modules
Spelling in the UI
Hardware only
Answer: B
Integration testing finds defects in how modules work together.
What is system testing?
Testing one function
Testing the complete, integrated system against its requirements
Testing only the code style
Testing by end customers only
Answer: B
System testing checks the whole product end to end, including functional and non-functional requirements.
Who mainly performs or approves acceptance testing?
The customer or end users
Only the compiler
Only the database administrator
The hardware vendor
Answer: A
User acceptance testing confirms that the system meets business needs before it goes live.
What is alpha testing?
Testing by real customers at their sites
Testing only the first line of code
Testing after the product is retired
Testing by internal users or testers at the developer's site before release
Answer: D
Alpha testing is done in a controlled environment before beta testing.
What is beta testing?
Testing by developers only
Testing done after the product is retired
Testing by real users in their own environment before the final release
Testing of the database schema
Answer: C
Beta versions are given to a group of real users who report problems before the general release.
What is regression testing?
Testing a new feature for the first time
Testing only performance
Re-running tests after a change to check that existing features still work
Testing in production only
Answer: C
Regression tests catch defects that a fix or new feature introduces in parts that used to work.
What is smoke testing?
Testing fire alarms
A quick check of the most important functions to decide whether a build is stable enough for further testing
Testing every possible input
Testing after release only
Answer: B
If the smoke test fails, the build is rejected before detailed testing begins.