ThatQuiz Test Library Take this test now
ADETEC - Quiz
Contributed by: Monteclaro
  • 1. What does software documentation refer to?
A) Helps new team members onboard quickly
B) Only the source code of the software
C) Written text and illustrations describing architecture, design, functionality, and usage
  • 2. In API endpoint descriptions, what information must be clearly stated?
A) Only the description of what the endpoint does
B) Only the HTTP methods
C) Purpose, expected behavior, URL route, and HTTP methods
  • 3. Which HTTP methods are commonly listed in endpoint descriptions?
A) START, STOP, PAUSE, RESUME
B) GET, POST, PUT, DELETE
C) OPEN, CLOSE, SAVE, LOAD
  • 4. Which of the following is a best practice for code documentation?
A) Avoiding any comments in the code
B) Using inline comments to explain complex logic
C) Adding redundant comments that restate obvious code
  • 5. What are docstrings used for?
A) Standardized descriptions for functions, classes, or modules
B) To debug the code
C) . To store data in the program
  • 6. Which convention is followed for Python docstrings?
A) HTML format
B) Javadoc style
C) PEP 257
  • 7. Which tool is commonly used for code documentation in C/C++, Java, and Python?
A) Javadoc
B) Confluence
C) Doxygen
  • 8. What is the purpose of Sphinx?
A) To generate structured documentation from reStructuredText and docstrings
B) To design user interfaces
C) To compile code into executable files
  • 9. Which open-source license is very permissive and allows reuse with attribution?
A) Creative Commons
B) MIT License
C) Apache License 2.0
  • 10. Which license allows modifications, requires attribution, and includes patent rights?
A) Apache License 2.0
B) Creative Commons
C) MIT License
  • 11. Creative Commons (CC) licenses are typically used for:
A) Hardware designs
B) Software only
C) Media and documents, not software
  • 12. Why is licensing important?
A) It protects intellectual property and clarifies usage rights
B) It makes the software harder to use
C) It is not necessary for open-source projects
  • 13. What is reliability in software design?
A) The ability to be easily modified
B) The ability to perform required functions under stated conditions without failure
C) The ability to handle unexpected inputs without crashing
  • 14. Which technique involves duplicating critical components to ensure fault tolerance?
A) Error Detection & Correction
B) Recovery Mechanisms
C) Redundancy
  • 15. What is used to detect data errors in software?
A) Check sums, parity bits, and validation rules
B) Redundancy
C) Automated testing
  • 16. Which type of testing ensures correctness through unit, integration, and regression tests?
A) Performance testing
B) Automated testing
C) User acceptance testing
  • 17. Which of the following is a recovery mechanism?
A) Duplicating servers
B) Using parity bits
C) Checkpointing and rollback in databases
  • 18. What is the main goal of following software documentation standards?
A) To increase the number of tools used
B) To ensure code and systems are clear, maintainable, and legally safe
C) To avoid following any conventions
  • 19. Which tool is used for interactive API documentation with live testing capabilities?
A) RAML
B) Postman
C) Swagger / OpenAPI
  • 20. What is the primary use of Postman?
A) API testing and documentation
B) Designing API schemas
C) Creating documentation websites
  • 21. Which of the following are API design and documentation languages?
A) Swagger and OpenAPI
B) RAML and API Blueprint
C) Redoc and MkDocs
  • 22. Which tool is described as a modern, clean API documentation generator?
A) Postman
B) Redoc
C) Sphinx
  • 23. Which field in an API error response provides a human-readable explanation of the issue?
A) parameters
B) message
C) status
  • 24. Which parameter represents the minimum daily temperature in API responses?
A) daily.feels_like
B) daily.temp.min
C) daily.temp.max
  • 25. What is the definition of efficiency in software design?
A) Optimal use of resources (time, memory, CPU) while delivering results quickly
B) Ability to duplicate critical components
C) Ability to handle unexpected inputs without crashing
  • 26. Recovery mechanisms include:
A) Duplicating critical components
B) Checkpointing and rollback in databases, retry logic
C) Using parity bits to detect errors
  • 27. Which example illustrates improving efficiency through algorithm choice?
A) Using binary search instead of linear search for large datasets
B) Using linear search instead of binary search B. Using binary search instead of linear search for larg
C) Adding more servers
  • 28. What is the definition of efficiency in software design?
A) Ability to perform functions without failure over time
B) Ability to duplicate critical components for fault tolerance
C) Optimal use of resources (time, memory, CPU, network) while delivering results quickly
  • 29. Which strategy involves choosing algorithms with better time complexity like O(log n) over O(n²)?
A) Caching & Memoization
B) Database Optimization
C) Algorithmic Optimization
  • 30. What is the purpose of code profiling?
A) To use multithreading
B) To avoid memory leaks
C) To identify performance bottlenecks using tools
  • 31. Which technique stores results of expensive computations to avoid reprocessing?
A) Caching & Memoization
B) Resource Management
C) Caching & Memoization
  • 32. What does resource management focus on?
A) Avoiding memory leaks and releasing unused objects
B) Testing edge cases
C) Handling exceptions
  • 33. Which approach uses multithreading and asynchronous programming to improve performance?
A) Parallelism & Concurrency
B) Algorithmic Optimization
C) Database Optimization
  • 34. Database optimization includes which of the following?
A) Exception handling
B) Caching all data
C) Indexing, query optimization, and normalization/denormalization trade-offs
  • 35. What is unit testing?
A) Testing after full integration
B) Testing only the user interface
C) Testing individual units of code (functions, classes, methods) in isolation
  • 36. Which of the following is a benefit of unit testing?
A) Makes code harder to modify
B) Increases development time significantly
C) Improves code maintainability and reduces regression issues
  • 37. What is Continuous Integration (CI)?
A) Working on code in isolation without sharing
B) Frequently integrating code into a shared repository and running automated tests
C) Testing only once before release
  • 38. What is the main goal of Continuous Integration?
A) To delay integration until the end
B) To ensure new code does not break existing functionality
C) To reduce the number of tests
  • 39. What is the definition of robustness in software design?
A) Ability to handle unexpected situations gracefully without crashing or incorrect results
B) Ability to recover from failures automatically
C) Ability to use resources optimallyWhich practice involves never trusting user input and checking ranges, types, and formats?
  • 40. Which practice involves never trusting user input and checking ranges, types, and formats?
A) Input Validation
B) Exception Handling
C) Fail-Safe Defaults
  • 41. What is boundary testing?
A) Using try/except blocks
B) Testing minimum, maximum, and out-of-range values
C) Testing only valid inputs
  • 42. Which programming constructs are used for proper exception handling in Python?
A) loops
B) try/except
C) if/else
  • 43. What are fail-safe defaults?
A) Allowing any input without checks
B) Showing technical errors to users
C) Defaulting to secure/safe behavior if inputs are invalid
  • 44. What is defensive programming?
A) Anticipating and guarding against potential failures
B) Writing complex code to prevent errors
C) Avoiding any error handling
  • 45. What are assertions & contracts used for?
A) To log runtime information
B) To retry failed operations
C) To define preconditions, postconditions, and invariants
  • 46. What is retry logic?
A) Ignoring failed operations
B) Automatically retrying operations like API calls if they fail
C) Stopping the system on failure
  • 47. What is the purpose of logging & monitoring?
A) To prevent errors from happening
B) To collect runtime information for debugging and failure analysis
C) To speed up the code
  • 48. What is automated recovery?
A) Manually fixing errors
B) Ignoring failures
C) Implementing watchdogs or self-healing services
  • 49. Which testing framework is used for Python?
A) pytest
B) Jest
C) JUnit
  • 50. Which of the following is an example of robust code?
A) Code that does not have any error handling
B) A login form that handles incorrect passwords gracefully without crashing
C) Code that only works with perfect inputs
Students who took this test also took :

Created with That Quiz — the site for test creation and grading in math and other subjects.